[llvm-bugs] [Bug 46621] [X86][AVX] Avoid vpsrlq $32, %xmm, %xmm split in v4u64 uint2fp v4f64
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu May 13 01:44:23 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=46621
Simon Pilgrim <llvm-dev at redking.me.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Fixed By Commit(s)| |fb1d61b7257ccd5ba0c96bcea78
| |d6516384ce5b6
--- Comment #1 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
https://godbolt.org/z/4docGfYEK
Fixed at rGfb1d61b7257ccd5ba0c96bcea78d6516384ce5b6
cvt_v4u64_v4f64:
vxorps %xmm1, %xmm1, %xmm1
vblendps $170, %ymm1, %ymm0, %ymm2 # ymm2 =
ymm0[0],ymm1[1],ymm0[2],ymm1[3],ymm0[4],ymm1[5],ymm0[6],ymm1[7]
vshufps $221, %ymm1, %ymm0, %ymm0 # ymm0 =
ymm0[1,3],ymm1[1,3],ymm0[5,7],ymm1[5,7]
vorps .LCPI0_0(%rip), %ymm2, %ymm2
vpermilps $216, %ymm0, %ymm0 # ymm0 = ymm0[0,2,1,3,4,6,5,7]
vorps .LCPI0_1(%rip), %ymm0, %ymm0
vsubpd .LCPI0_2(%rip), %ymm0, %ymm0
vaddpd %ymm0, %ymm2, %ymm0
retq
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210513/9e3eab58/attachment.html>
More information about the llvm-bugs
mailing list