Remove sun musl fdlibm math library

The libm code from musl wasn't being used since most of these functions
are implemented using x87 which goes faster than a library intended for
risc machines.
This commit is contained in:
Justine Tunney 2021-01-31 18:25:16 -08:00
parent e6481efa80
commit fdc3fa9148
388 changed files with 304 additions and 19472 deletions

View file

@ -19,7 +19,7 @@
#include "libc/macros.h"
.source __FILE__
tinymath_copysign:
copysign:
.leafprologue
.profilable
movapd %xmm1,%xmm2
@ -27,8 +27,7 @@ tinymath_copysign:
andpd .Lneg0(%rip),%xmm2
orpd %xmm2,%xmm0
.leafepilogue
.endfn tinymath_copysign,globl
.alias tinymath_copysign,copysign
.endfn copysign,globl
.rodata.cst16
.Lnan: .long 0xffffffff