https://bugs.llvm.org/show_bug.cgi?id=31455
Sanjay Patel <spatel+l...@rotateright.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Sanjay Patel <spatel+l...@rotateright.com> ---
After:
https://reviews.llvm.org/rL319094
We should see something like this on x86-64:
_sqrt_add:
xorps %xmm2, %xmm2
ucomisd %xmm2, %xmm0 # test the arg
jb LBB0_2
sqrtsd %xmm0, %xmm0 # not negative, so we're good
addsd %xmm1, %xmm0
retq
LBB0_2:
pushq %rax # defer to libm to set errno
movsd %xmm1, (%rsp)
callq _sqrt
movsd (%rsp), %xmm1
addq $8, %rsp
addsd %xmm1, %xmm0
retq
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs