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:
@@ -19,8 +19,7 @@
|
||||
#include "libc/macros.h"
|
||||
.source __FILE__
|
||||
|
||||
tinymath_truncf:
|
||||
.leafprologue
|
||||
truncf: .leafprologue
|
||||
.profilable
|
||||
movss 3f(%rip),%xmm1
|
||||
andps %xmm0,%xmm1
|
||||
@@ -31,8 +30,7 @@ tinymath_truncf:
|
||||
pxor %xmm0,%xmm0
|
||||
cvtsi2ss %eax,%xmm0
|
||||
1: .leafepilogue
|
||||
.endfn tinymath_truncf,globl
|
||||
.alias tinymath_truncf,truncf
|
||||
.endfn truncf,globl
|
||||
|
||||
.rodata.cst4
|
||||
2: .long 0x4b000000
|
||||
|
||||
Reference in New Issue
Block a user