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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to