[llvm-bugs] [Bug 31079] New: inconsistent opcode enums between AXV-512 and AVX/AVX2

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Nov 20 05:39:17 PST 2016


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

            Bug ID: 31079
           Summary: inconsistent opcode enums between AXV-512 and AVX/AVX2
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: zvi.rackover at intel.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

I am creating this ticket in behalf of Gadi Haber who is waiting for his
Bugzilla account to be created.

There are cases of X86 AVX-512 opcode enums that are inconsistent with their
corresponding AVX opcode enums.
For example, the AVX-512 opcode: VBROADCASTSDZm  (without an ‘r’ letter in its
suffix) has a corresponding AVX/AVX2 opcode VBROADCASTSDYrm which does include
the ‘r’ letter in its suffix.
For these cases it is recommended to rename the AVX-512 enums to be consistent
with the AVX counterpart.

See the table below of all such cases:

Current AVX-512  Proposed enum renaming 
enum naming:     for consistency with  AVX/AVX2:

VBROADCASTSDZm    VBROADCASTSDZrm
VBROADCASTSDZr    VBROADCASTSDZrr
VBROADCASTSSZm    VBROADCASTSSZrm
VBROADCASTSSZr    VBROADCASTSSZrr
VPBROADCASTZr      VPBROADCASTZrr
VPBROADCASTZm      VPBROADCASTZrm
VPBROADCASTBrZr    VPBROADCASTBZrr
VPBROADCASTZm    VPBROADCASTZrm
VPBROADCASTZr      VPBROADCASTZrr
VPEXTRWZrr    VPEXTRWZri 
VPINSRWZrr    VPINSRWZrri
VPINSRWZrm    VPINSRWZrmi
VPSLLDQZrr    VPSLLDQZri
VPSRLDQZrr    VPSRLDQZri

-- 
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/20161120/8304a6f4/attachment.html>


More information about the llvm-bugs mailing list