math: fix x86_64 and x32 asm not to use sahf instruction
[musl] / src / math / x86_64 / fabs.s
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