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_rintf:
|
||||
.leafprologue
|
||||
rintf: .leafprologue
|
||||
.profilable
|
||||
movaps %xmm0,%xmm1
|
||||
movss .LC8(%rip),%xmm2
|
||||
@ -34,8 +33,7 @@ tinymath_rintf:
|
||||
subss %xmm3,%xmm1
|
||||
orps %xmm1,%xmm0
|
||||
1: .leafepilogue
|
||||
.endfn tinymath_rintf,globl
|
||||
.alias tinymath_rintf,rintf
|
||||
.endfn rintf,globl
|
||||
|
||||
.rodata.cst4
|
||||
.LC7: .long 1258291200
|
||||
|
||||
Reference in New Issue
Block a user