[llvm-bugs] [Bug 46249] [X86] VPSHUFD and VPERMQ with immediates combined into VPERMD with variable mask

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 24 01:07:52 PDT 2020


Simon Pilgrim <llvm-dev at redking.me.uk> changed:

           What    |Removed                     |Added
 Fixed By Commit(s)|                            |e7e204a373683a09978be2b1df8
                   |                            |783ba26fe43a4
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
Fixed in rGe7e204a373683a09978be2b1df8783ba26fe43a4

Looking at the reported test code in https://t.co/o5DY0C0Z0e?amp=1

we still screw up some predicate selects that we've widened from v16i32 to
v8i64 types:

        movb    $-52, %al
        kmovw   %eax, %k3
        vpmaxsd %zmm2, %zmm0, %zmm0
        vmovdqa64       %zmm0, %zmm1 {%k2}

which gcc avoids, allowing to fold the select into the vpmaxsd.

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/20200624/93db8889/attachment-0001.html>

More information about the llvm-bugs mailing list