diff options
Diffstat (limited to 'libc-top-half/musl/src/math/x32/fabs.s')
-rw-r--r-- | libc-top-half/musl/src/math/x32/fabs.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/math/x32/fabs.s b/libc-top-half/musl/src/math/x32/fabs.s new file mode 100644 index 0000000..5715005 --- /dev/null +++ b/libc-top-half/musl/src/math/x32/fabs.s @@ -0,0 +1,9 @@ +.global fabs +.type fabs,@function +fabs: + xor %eax,%eax + dec %rax + shr %rax + movq %rax,%xmm1 + andpd %xmm1,%xmm0 + ret |