Sign in
mojo
/
mojo-tools
/
c07399d071c59658a5c2bed81dee6e9ed9142442
/
.
/
fusl
/
src
/
math
/
x32
/
fabs.s
blob: 5715005e330a64afd209121f36a8b70e51200913 [
file
] [
log
] [
blame
]
Viet-Trung Luu
96b05c1
2016-01-11 11:26:36 -0800
[
diff
] [
blame
]
1
.global fabs
2
.type fabs
,@
function
3
fabs
:
4
xor
%eax,%
eax
5
dec %rax
6
shr %rax
7
movq
%rax,%
xmm1
8
andpd
%xmm1,%
xmm0
9
ret