mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +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
|
@ -21,8 +21,7 @@
|
|||
|
||||
/ vroundsd $_MM_FROUND_TO_NEG_INF|_MM_FROUND_NO_EXC,%xmm0,%xmm0,%xmm0
|
||||
|
||||
tinymath_floor:
|
||||
.leafprologue
|
||||
floor: .leafprologue
|
||||
.profilable
|
||||
movsd 4f(%rip),%xmm1
|
||||
movsd 3f(%rip),%xmm2
|
||||
|
@ -40,8 +39,7 @@ tinymath_floor:
|
|||
subsd %xmm0,%xmm1
|
||||
movapd %xmm1,%xmm0
|
||||
1: .leafepilogue
|
||||
.endfn tinymath_floor,globl
|
||||
.alias tinymath_floor,floor
|
||||
.endfn floor,globl
|
||||
|
||||
.rodata.cst8
|
||||
2: .double 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue