[llvm-bugs] [Bug 9588] [regalloc remat] Repeated generation of 0 constant
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Sep 25 18:02:09 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=9588
Jeff Muizelaar <jmuizelaar at mozilla.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Jeff Muizelaar <jmuizelaar at mozilla.com> ---
This current code is different enough that this can probably be closed.
.LCPI0_0:
.long 931135488 # float 1.52587891E-5
.long 931135488 # float 1.52587891E-5
.long 931135488 # float 1.52587891E-5
.long 931135488 # float 1.52587891E-5
.LCPI0_1:
.long 931135488 # float 1.52587891E-5
qcms_profile_is_bogus(qcms_profile*): # @qcms_profile_is_bogus(qcms_profile*)
movsd (%rdi), %xmm0 # xmm0 = mem[0],zero
movss 8(%rdi), %xmm1 # xmm1 = mem[0],zero,zero,zero
movaps %xmm0, %xmm2
shufps $132, %xmm1, %xmm2 # xmm2 = xmm2[0,1],xmm1[0,2]
movss 24(%rdi), %xmm1 # xmm1 = mem[0],zero,zero,zero
shufps $32, %xmm2, %xmm1 # xmm1 = xmm1[0,0],xmm2[2,0]
shufps $36, %xmm1, %xmm0 # xmm0 = xmm0[0,1],xmm1[2,0]
movsd 12(%rdi), %xmm1 # xmm1 = mem[0],zero
movsd 28(%rdi), %xmm2 # xmm2 = mem[0],zero
movlhps %xmm1, %xmm2 # xmm2 = xmm2[0],xmm1[0]
cvtdq2ps %xmm2, %xmm1
cvtdq2ps %xmm0, %xmm0
movaps .LCPI0_0(%rip), %xmm2 # xmm2 =
[1.52587891E-5,1.52587891E-5,1.52587891E-5,1.52587891E-5]
mulps %xmm2, %xmm0
mulps %xmm2, %xmm1
xorps %xmm2, %xmm2
cvtsi2ssl 20(%rdi), %xmm2
mulss .LCPI0_1(%rip), %xmm2
xorps %xmm3, %xmm3
xorps %xmm4, %xmm4
ucomiss %xmm2, %xmm4
seta %cl
cmpltps %xmm3, %xmm1
cmpltps %xmm3, %xmm0
packssdw %xmm1, %xmm0
packsswb %xmm0, %xmm0
pmovmskb %xmm0, %eax
testb %al, %al
setne %al
orb %cl, %al
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/20190926/0779898f/attachment.html>
More information about the llvm-bugs
mailing list