summaryrefslogtreecommitdiff
path: root/src/math/x86_64/fabsf.s
blob: 501a1f17550a7ea040bcb1460ebeb3e03598c735 (plain) (blame)
1
2
3
4
5
6
7
.global fabsf
.type fabsf,@function
fabsf:
	mov $0x7fffffff,%eax
	movq %rax,%xmm1
	andps %xmm1,%xmm0
	ret