mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-28 05:20:28 +00:00
Make quality improvements
- Write some more unit tests - memcpy() on ARM is now faster - Address the Musl complex math FIXME comments - Some libm funcs like pow() now support setting errno - Import the latest and greatest math functions from ARM - Use more accurate atan2f() and log1pf() implementations - atoi() and atol() will no longer saturate or clobber errno
This commit is contained in:
parent
af8f2bd19f
commit
592f6ebc20
122 changed files with 6305 additions and 3859 deletions
|
@ -237,7 +237,7 @@ fi
|
|||
|
||||
PLATFORM="-D__COSMOPOLITAN__ -D__COSMOCC__ -D__FATCOSMOCC__"
|
||||
PREDEF="-include libc/integral/normalize.inc"
|
||||
CPPFLAGS="-fno-pie -nostdinc -fno-math-errno -isystem $BIN/../include"
|
||||
CPPFLAGS="-fno-pie -nostdinc -isystem $BIN/../include"
|
||||
CFLAGS="-fportcosmo -fno-dwarf2-cfi-asm -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-semantic-interposition"
|
||||
LDFLAGS="-static -nostdlib -no-pie -fuse-ld=bfd -Wl,-z,noexecstack -Wl,-z,norelro -Wl,--gc-sections"
|
||||
PRECIOUS="-fno-omit-frame-pointer"
|
||||
|
|
|
@ -48,7 +48,7 @@ ORIGINAL="$0 $*"
|
|||
PLATFORM="-D__COSMOPOLITAN__ -D__COSMOCC__"
|
||||
PREDEF="-include libc/integral/normalize.inc"
|
||||
CFLAGS="-fportcosmo -fno-dwarf2-cfi-asm -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-semantic-interposition"
|
||||
CPPFLAGS="-fno-pie -nostdinc -fno-math-errno -isystem $BIN/../include"
|
||||
CPPFLAGS="-fno-pie -nostdinc -isystem $BIN/../include"
|
||||
LDFLAGS="-static -no-pie -nostdlib -fuse-ld=bfd -Wl,-z,noexecstack"
|
||||
APEFLAGS="-Wl,--gc-sections"
|
||||
PRECIOUS="-fno-omit-frame-pointer"
|
||||
|
|
|
@ -66,6 +66,8 @@
|
|||
"__BMI2__"
|
||||
"__FMA__"
|
||||
"__FAST_MATH__"
|
||||
"__ROUNDING_MATH__"
|
||||
"__NO_MATH_ERRNO__"
|
||||
"__FMA4__"
|
||||
"__F16C__"
|
||||
"__CLZERO__"
|
||||
|
|
|
@ -70,7 +70,6 @@
|
|||
"__GCC_IEC_559"
|
||||
"__SUPPORT_SNAN__"
|
||||
"__GCC_IEC_559_COMPLEX"
|
||||
"__NO_MATH_ERRNO__"
|
||||
"__gnu__"
|
||||
"_OPENMP"))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue