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,7 +19,7 @@
|
||||
#include "libc/macros.h"
|
||||
.source __FILE__
|
||||
|
||||
tinymath_nearbyintf:
|
||||
nearbyintf:
|
||||
.profilable
|
||||
sub $8,%rsp
|
||||
movss %xmm0,(%rsp)
|
||||
@@ -36,5 +36,4 @@ tinymath_nearbyintf:
|
||||
movss (%rsp),%xmm0
|
||||
add $8,%rsp
|
||||
ret
|
||||
.endfn tinymath_nearbyintf,globl
|
||||
.alias tinymath_nearbyintf,nearbyintf
|
||||
.endfn nearbyintf,globl
|
||||
|
||||
Reference in New Issue
Block a user