mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 16: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
|
@ -19,8 +19,7 @@
|
|||
#include "libc/macros.h"
|
||||
.source __FILE__
|
||||
|
||||
tinymath_conjf:
|
||||
.profilable
|
||||
conjf: .profilable
|
||||
sub $16,%rsp
|
||||
movq %xmm0,8(%rsp)
|
||||
movss 12(%rsp),%xmm0
|
||||
|
@ -31,8 +30,7 @@ tinymath_conjf:
|
|||
movq (%rsp),%xmm0
|
||||
add $16,%rsp
|
||||
ret
|
||||
.endfn tinymath_conjf,globl
|
||||
.alias tinymath_conjf,conjf
|
||||
.endfn conjf,globl
|
||||
|
||||
.rodata.cst16
|
||||
.L1: .long 2147483648
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue