[llvm-bugs] [Bug 34877] New: [X86] Masked EVEX instructions that produce less than 128-bits probably have incorrect patterns

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Oct 8 10:33:41 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=34877

            Bug ID: 34877
           Summary: [X86] Masked EVEX instructions that produce less than
                    128-bits probably have incorrect patterns
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: craig.topper at gmail.com
                CC: llvm-bugs at lists.llvm.org

As far as I can tell from Intel's docs, instructions that write less than
128-bits like "vpmovwb xmm, xmm" or "vcvtpd2ps xmm, xmm" don't use the mask
register bits for the unwritten elements. Those elements are always zeroed
regardless of the mask. I think this means we can't match a regular vselect to
these instructions.

-- 
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/20171008/e3b94974/attachment.html>


More information about the llvm-bugs mailing list