mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-29 00:32: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
|
@ -25,8 +25,7 @@
|
|||
/ @param %rdi is double *out_sin
|
||||
/ @param %rsi is double *out_cos
|
||||
/ @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy
|
||||
tinymath_sincos:
|
||||
push %rbp
|
||||
sincos: push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
push %rax
|
||||
|
@ -38,5 +37,4 @@ tinymath_sincos:
|
|||
fstpl (%rsi)
|
||||
leave
|
||||
ret
|
||||
.endfn tinymath_sincos,globl
|
||||
.alias tinymath_sincos,sincos
|
||||
.endfn sincos,globl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue