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_lrintl:
|
||||
push %rbp
|
||||
lrintl: push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
fldt 16(%rbp)
|
||||
@@ -28,6 +27,5 @@ tinymath_lrintl:
|
||||
mov 16(%rbp),%rax
|
||||
pop %rbp
|
||||
ret
|
||||
.endfn tinymath_lrintl,globl
|
||||
.alias tinymath_lrintl,lrintl
|
||||
.alias tinymath_lrintl,llrintl
|
||||
.endfn lrintl,globl
|
||||
.alias lrintl,llrintl
|
||||
|
||||
Reference in New Issue
Block a user