mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 08:20:28 +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 double scalar in low half of %xmm0
|
||||
/ @return 64-bit signed integer in %rax
|
||||
/ @see round(), lrint()
|
||||
tinymath_lround:
|
||||
.leafprologue
|
||||
lround: .leafprologue
|
||||
.profilable
|
||||
movsd A(%rip),%xmm2
|
||||
movsd B(%rip),%xmm1
|
||||
|
@ -34,9 +33,8 @@ tinymath_lround:
|
|||
addsd %xmm0,%xmm1
|
||||
cvttsd2siq %xmm1,%rax
|
||||
.leafepilogue
|
||||
.endfn tinymath_lround,globl
|
||||
.alias tinymath_lround,lround
|
||||
.alias tinymath_lround,llround
|
||||
.endfn lround,globl
|
||||
.alias lround,llround
|
||||
|
||||
.rodata.cst16
|
||||
A: .quad 0x8000000000000000,0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue