mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42: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
|
@ -19,9 +19,7 @@
|
|||
#include "libc/macros.h"
|
||||
.source __FILE__
|
||||
|
||||
tinymath_lrintf:
|
||||
cvtss2siq %xmm0,%rax
|
||||
lrintf: cvtss2siq %xmm0,%rax
|
||||
ret
|
||||
.endfn tinymath_lrintf,globl
|
||||
.alias tinymath_lrintf,lrintf
|
||||
.alias tinymath_lrintf,llrintf
|
||||
.endfn lrintf,globl
|
||||
.alias lrintf,llrintf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue