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,9 +19,7 @@
|
||||
#include "libc/macros.h"
|
||||
.source __FILE__
|
||||
|
||||
tinymath_lrint:
|
||||
cvtsd2siq %xmm0,%rax
|
||||
lrint: cvtsd2siq %xmm0,%rax
|
||||
ret
|
||||
.endfn tinymath_lrint,globl
|
||||
.alias tinymath_lrint,lrint
|
||||
.alias tinymath_lrint,llrint
|
||||
.endfn lrint,globl
|
||||
.alias lrint,llrint
|
||||
|
||||
Reference in New Issue
Block a user