mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-05 17:30:27 +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
|
@ -23,8 +23,7 @@
|
|||
/
|
||||
/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes
|
||||
/ @return result of exponentiation on FPU stack in %st
|
||||
tinymath_roundl:
|
||||
push %rbp
|
||||
roundl: push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
push %rax
|
||||
|
@ -44,8 +43,7 @@ tinymath_roundl:
|
|||
fchs
|
||||
1: leave
|
||||
ret
|
||||
.endfn tinymath_roundl,globl
|
||||
.alias tinymath_roundl,roundl
|
||||
.endfn roundl,globl
|
||||
.source __FILE__
|
||||
|
||||
.rodata.cst4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue