mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
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:
parent
e6481efa80
commit
fdc3fa9148
388 changed files with 304 additions and 19472 deletions
|
@ -24,8 +24,7 @@
|
|||
/ @param 𝑥 is float passed in %xmm0
|
||||
/ @param 𝑦 is exponent via %edi
|
||||
/ @return float in %xmm0
|
||||
tinymath_ldexpf:
|
||||
push %rbp
|
||||
ldexpf: push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
push %rdi
|
||||
|
@ -38,7 +37,6 @@ tinymath_ldexpf:
|
|||
movss (%rsp),%xmm0
|
||||
leave
|
||||
ret
|
||||
.endfn tinymath_ldexpf,globl
|
||||
.alias tinymath_ldexpf,ldexpf
|
||||
.alias tinymath_ldexpf,scalbnf
|
||||
.alias tinymath_ldexpf,scalblnf
|
||||
.endfn ldexpf,globl
|
||||
.alias ldexpf,scalbnf
|
||||
.alias ldexpf,scalblnf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue