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_truncl:
|
||||
.profilable
|
||||
truncl: .profilable
|
||||
sub $24,%rsp
|
||||
fldt 32(%rsp)
|
||||
fnstcw 14(%rsp)
|
||||
@@ -32,5 +31,4 @@ tinymath_truncl:
|
||||
fldcw 14(%rsp)
|
||||
add $24,%rsp
|
||||
ret
|
||||
.endfn tinymath_truncl,globl
|
||||
.alias tinymath_truncl,truncl
|
||||
.endfn truncl,globl
|
||||
|
||||
Reference in New Issue
Block a user