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_floorl:
|
||||
.profilable
|
||||
floorl: .profilable
|
||||
fldt 8(%rsp)
|
||||
mov $7,%al
|
||||
fstcw 8(%rsp)
|
||||
@@ -31,5 +30,4 @@ tinymath_floorl:
|
||||
mov %ah,9(%rsp)
|
||||
fldcw 8(%rsp)
|
||||
ret
|
||||
.endfn tinymath_floorl,globl
|
||||
.alias tinymath_floorl,floorl
|
||||
.endfn floorl,globl
|
||||
|
||||
Reference in New Issue
Block a user