[llvm] [X86][MC] Support Enc/Dec for EGPR for promoted CRC32 (PR #76434)

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 28 08:14:09 PST 2023


================
@@ -6698,6 +6698,32 @@ let Constraints = "$src1 = $dst" in {
     def CRC32r64r8 : SS42I_crc32r<0xF0, "crc32{b}", GR64, GR8,
                                    null_frag>, REX_W;
   }
+
+  let Predicates = [HasCRC32, In64BitMode] in {
+  def CRC32r32m8_EVEX  : SS42I_crc32m<0xF0, "crc32{b}", GR32, i8mem,
+                                      int_x86_sse42_crc32_32_8>, EVEX, T_MAP4, PS;
+  def CRC32r32r8_EVEX  : SS42I_crc32r<0xF0, "crc32{b}", GR32, GR8,
+                                      int_x86_sse42_crc32_32_8>, EVEX, T_MAP4, PS;
----------------
KanRobert wrote:

Need rebase.

https://github.com/llvm/llvm-project/pull/76434


More information about the llvm-commits mailing list