summaryrefslogtreecommitdiff
path: root/src/math/x86_64/fabs.s
diff options
context:
space:
mode:
authorAlexander Monakov <amonakov@ispras.ru>2020-01-05 18:47:02 +0300
committerRich Felker <dalias@aerifal.cx>2020-03-24 16:27:06 -0400
commit87026f6843f45573d6ac93c791c0597ba7f4e693 (patch)
tree100b2f71cceb6e64a3b492b3fe2727616de458e4 /src/math/x86_64/fabs.s
parent33338ebc853d37c80f0f236cc7a92cb0acc6aace (diff)
downloadmusl-87026f6843f45573d6ac93c791c0597ba7f4e693.tar.gz
math: move x86_64 fabs, fabsf to C with inline asm
Diffstat (limited to 'src/math/x86_64/fabs.s')
-rw-r--r--src/math/x86_64/fabs.s9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/math/x86_64/fabs.s b/src/math/x86_64/fabs.s
deleted file mode 100644
index 5715005e..00000000
--- a/src/math/x86_64/fabs.s
+++ /dev/null
@@ -1,9 +0,0 @@
-.global fabs
-.type fabs,@function
-fabs:
- xor %eax,%eax
- dec %rax
- shr %rax
- movq %rax,%xmm1
- andpd %xmm1,%xmm0
- ret