summaryrefslogtreecommitdiff
path: root/src/math/x32/fabs.s
blob: 5715005e330a64afd209121f36a8b70e51200913 (plain) (blame)
1
2
3
4
5
6
7
8
9
.global fabs
.type fabs,@function
fabs:
	xor %eax,%eax
	dec %rax
	shr %rax
	movq %rax,%xmm1
	andpd %xmm1,%xmm0
	ret