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:
@@ -20,8 +20,7 @@
|
||||
.source __FILE__
|
||||
|
||||
/ Returns euclidean distance in 2d space.
|
||||
tinymath_hypotl:
|
||||
push %rbp
|
||||
hypotl: push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
fldt 32(%rbp)
|
||||
@@ -32,5 +31,4 @@ tinymath_hypotl:
|
||||
faddp
|
||||
pop %rbp
|
||||
ret
|
||||
.endfn tinymath_hypotl,globl
|
||||
.alias tinymath_hypotl,hypotl
|
||||
.endfn hypotl,globl
|
||||
|
||||
Reference in New Issue
Block a user