mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +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,7 +24,7 @@
|
|||
/ @param 𝑥 is float scalar in low quarter of %xmm0
|
||||
/ @return 64-bit signed integer in %rax
|
||||
/ @see round()
|
||||
tinymath_lroundf:
|
||||
lroundf:
|
||||
.leafprologue
|
||||
.profilable
|
||||
movss A(%rip),%xmm1
|
||||
|
@ -34,9 +34,8 @@ tinymath_lroundf:
|
|||
addss %xmm0,%xmm1
|
||||
cvttss2siq %xmm1,%rax
|
||||
.leafepilogue
|
||||
.endfn tinymath_lroundf,globl
|
||||
.alias tinymath_lroundf,lroundf
|
||||
.alias tinymath_lroundf,llroundf
|
||||
.endfn lroundf,globl
|
||||
.alias lroundf,llroundf
|
||||
|
||||
.rodata.cst4
|
||||
A: .long 0x3effffff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue