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:
@ -19,8 +19,7 @@
|
||||
#include "libc/macros.h"
|
||||
.source __FILE__
|
||||
|
||||
tinymath_ceil:
|
||||
.leafprologue
|
||||
ceil: .leafprologue
|
||||
.profilable
|
||||
movsd nan(%rip),%xmm1
|
||||
movsd sig(%rip),%xmm2
|
||||
@ -35,8 +34,7 @@ tinymath_ceil:
|
||||
andpd %xmm2,%xmm0
|
||||
addsd %xmm1,%xmm0
|
||||
1: .leafepilogue
|
||||
.endfn tinymath_ceil,globl
|
||||
.alias tinymath_ceil,ceil
|
||||
.endfn ceil,globl
|
||||
|
||||
.rodata.cst8
|
||||
nan: .double nan
|
||||
|
||||
Reference in New Issue
Block a user