blob: 5715005e330a64afd209121f36a8b70e51200913 [file] [log] [blame]
Viet-Trung Luu96b05c12016-01-11 11:26:36 -08001.global fabs
2.type fabs,@function
3fabs:
4 xor %eax,%eax
5 dec %rax
6 shr %rax
7 movq %rax,%xmm1
8 andpd %xmm1,%xmm0
9 ret