mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +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
|
@ -22,14 +22,12 @@
|
|||
/
|
||||
/ @param %xmm0 holds binary32 number
|
||||
/ @return %xmm0 holds binary32 result
|
||||
tinymath_cbrtf:
|
||||
pushq %rbp
|
||||
cbrtf: pushq %rbp
|
||||
mov %rsp,%rbp
|
||||
cvtss2sd %xmm0,%xmm0
|
||||
call __cbrt
|
||||
cvtsd2ss %xmm0,%xmm0
|
||||
popq %rbp
|
||||
ret
|
||||
.endfn tinymath_cbrtf,globl
|
||||
.alias tinymath_cbrtf,cbrtf
|
||||
.endfn cbrtf,globl
|
||||
.source __FILE__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue