[llvm] 975c208 - [X86][AVX10.2] Include changes for COMX and VGETEXP from rev. 2 (#132824)

via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 25 05:26:17 PDT 2025


Author: Evgenii Kudriashov
Date: 2025-03-25T13:26:13+01:00
New Revision: 975c208556ef85b321a223fe592fa6d98fadfaa0

URL: https://github.com/llvm/llvm-project/commit/975c208556ef85b321a223fe592fa6d98fadfaa0
DIFF: https://github.com/llvm/llvm-project/commit/975c208556ef85b321a223fe592fa6d98fadfaa0.diff

LOG: [X86][AVX10.2] Include changes for COMX and VGETEXP from rev. 2 (#132824)

Address missing changes:
- V[,U]COMXSD need to have XD (F3.0F –> F2.0F)
- V[,U]COMXS[S,H] need to have XS (F2.[0F,MAP5] -> F3.[0F,MAP5])
- VGETEXPBF16 needs to have T_MAP6 and NP (66.MAP5 -> NP.MAP6)

 Ref.: https://cdrdv2.intel.com/v1/dl/getContent/828965

Added: 
    

Modified: 
    llvm/lib/Target/X86/X86InstrAVX10.td
    llvm/test/CodeGen/X86/avx10_2_512bf16-intrinsics.ll
    llvm/test/CodeGen/X86/avx10_2bf16-intrinsics.ll
    llvm/test/MC/Disassembler/X86/avx10.2-bf16-32.txt
    llvm/test/MC/Disassembler/X86/avx10.2-bf16-64.txt
    llvm/test/MC/Disassembler/X86/avx10.2-com-ef-32.txt
    llvm/test/MC/Disassembler/X86/avx10.2-com-ef-64.txt
    llvm/test/MC/X86/avx10.2-bf16-32-att.s
    llvm/test/MC/X86/avx10.2-bf16-32-intel.s
    llvm/test/MC/X86/avx10.2-bf16-64-att.s
    llvm/test/MC/X86/avx10.2-bf16-64-intel.s
    llvm/test/MC/X86/avx10.2-com-ef-32-att.s
    llvm/test/MC/X86/avx10.2-com-ef-32-intel.s
    llvm/test/MC/X86/avx10.2-com-ef-64-att.s
    llvm/test/MC/X86/avx10.2-com-ef-64-intel.s

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/X86InstrAVX10.td b/llvm/lib/Target/X86/X86InstrAVX10.td
index 7cbdcbc939eec..2d2bf1f6c725e 100644
--- a/llvm/lib/Target/X86/X86InstrAVX10.td
+++ b/llvm/lib/Target/X86/X86InstrAVX10.td
@@ -1141,7 +1141,7 @@ defm VRSQRT  : avx10_fp14_bf16<0x4E, "vrsqrt", X86rsqrt14, SchedWriteFRsqrt>,
 defm VRCP    : avx10_fp14_bf16<0x4C, "vrcp", X86rcp14, SchedWriteFRcp>,
                                 T_MAP6, PS, EVEX_CD8<16, CD8VF>;
 defm VGETEXP : avx10_fp14_bf16<0x42, "vgetexp", X86fgetexp, SchedWriteFRnd>,
-                                T_MAP5, EVEX_CD8<16, CD8VF>;
+                                T_MAP6, PS, EVEX_CD8<16, CD8VF>;
 
 // VSCALEFBF16
 multiclass avx10_fp_scalef_bf16<bits<8> opc, string OpcodeStr,
@@ -1338,31 +1338,31 @@ multiclass avx10_com_ef_int<bits<8> Opc, X86VectorVTInfo _, SDNode OpNode,
 let Defs = [EFLAGS], Uses = [MXCSR], Predicates = [HasAVX10_2] in {
   defm VUCOMXSDZ  :  avx10_com_ef<0x2e, FR64X, f64, X86ucomi512,
                                   "vucomxsd", f64mem, loadf64, SSEPackedDouble>,
-                                  TB, XS, VEX_LIG, REX_W, EVEX_CD8<64, CD8VT1>;
+                                  TB, XD, VEX_LIG, REX_W, EVEX_CD8<64, CD8VT1>;
   defm VUCOMXSHZ  :  avx10_com_ef<0x2e, FR16X, f16, X86ucomi512,
                                   "vucomxsh", f16mem, loadf16, SSEPackedSingle>,
-                                  T_MAP5, XD, EVEX_CD8<16, CD8VT1>;
+                                  T_MAP5, XS, EVEX_CD8<16, CD8VT1>;
   defm VUCOMXSSZ  :  avx10_com_ef<0x2e, FR32X, f32, X86ucomi512,
                                   "vucomxss", f32mem, loadf32, SSEPackedSingle>,
-                                  TB, XD, VEX_LIG, EVEX_CD8<32, CD8VT1>;
+                                  TB, XS, VEX_LIG, EVEX_CD8<32, CD8VT1>;
   defm VCOMXSDZ   :  avx10_com_ef_int<0x2f, v2f64x_info, X86comi512,
                                       "vcomxsd", SSEPackedDouble>,
-                                      TB, XS, VEX_LIG, REX_W, EVEX_CD8<64, CD8VT1>;
+                                      TB, XD, VEX_LIG, REX_W, EVEX_CD8<64, CD8VT1>;
   defm VCOMXSHZ   :  avx10_com_ef_int<0x2f, v8f16x_info, X86comi512,
                                       "vcomxsh", SSEPackedSingle>,
-                                      T_MAP5, XD, EVEX_CD8<16, CD8VT1>;
+                                      T_MAP5, XS, EVEX_CD8<16, CD8VT1>;
   defm VCOMXSSZ   :  avx10_com_ef_int<0x2f, v4f32x_info, X86comi512,
                                       "vcomxss", SSEPackedSingle>,
-                                      TB, XD, VEX_LIG, EVEX_CD8<32, CD8VT1>;
+                                      TB, XS, VEX_LIG, EVEX_CD8<32, CD8VT1>;
   defm VUCOMXSDZ  :  avx10_com_ef_int<0x2e, v2f64x_info, X86ucomi512,
                                       "vucomxsd", SSEPackedDouble>,
-                                      TB, XS, VEX_LIG, REX_W, EVEX_CD8<64, CD8VT1>;
+                                      TB, XD, VEX_LIG, REX_W, EVEX_CD8<64, CD8VT1>;
   defm VUCOMXSHZ  :  avx10_com_ef_int<0x2e, v8f16x_info, X86ucomi512,
                                       "vucomxsh", SSEPackedSingle>,
-                                      T_MAP5, XD, EVEX_CD8<16, CD8VT1>;
+                                      T_MAP5, XS, EVEX_CD8<16, CD8VT1>;
   defm VUCOMXSSZ  :  avx10_com_ef_int<0x2e, v4f32x_info, X86ucomi512,
                                       "vucomxss", SSEPackedSingle>,
-                                      TB, XD, VEX_LIG, EVEX_CD8<32, CD8VT1>;
+                                      TB, XS, VEX_LIG, EVEX_CD8<32, CD8VT1>;
 }
 
 //-------------------------------------------------

diff  --git a/llvm/test/CodeGen/X86/avx10_2_512bf16-intrinsics.ll b/llvm/test/CodeGen/X86/avx10_2_512bf16-intrinsics.ll
index da17b995afedf..cbac76e9de273 100644
--- a/llvm/test/CodeGen/X86/avx10_2_512bf16-intrinsics.ll
+++ b/llvm/test/CodeGen/X86/avx10_2_512bf16-intrinsics.ll
@@ -164,7 +164,7 @@ define <32 x bfloat>@test_int_x86_avx512_mask_getexp_bf16_512(<32 x bfloat> %x0,
 ; X64-LABEL: test_int_x86_avx512_mask_getexp_bf16_512:
 ; X64:       # %bb.0:
 ; X64-NEXT:    kmovd %edi, %k1 # encoding: [0xc5,0xfb,0x92,0xcf]
-; X64-NEXT:    vgetexpbf16 %zmm0, %zmm0 # encoding: [0x62,0xf5,0x7d,0x48,0x42,0xc0]
+; X64-NEXT:    vgetexpbf16 %zmm0, %zmm0 # encoding: [0x62,0xf6,0x7c,0x48,0x42,0xc0]
 ; X64-NEXT:    vmovdqu16 %zmm0, %zmm1 {%k1} # encoding: [0x62,0xf1,0xff,0x49,0x6f,0xc8]
 ; X64-NEXT:    vaddbf16 %zmm0, %zmm1, %zmm0 # encoding: [0x62,0xf5,0x75,0x48,0x58,0xc0]
 ; X64-NEXT:    retq # encoding: [0xc3]
@@ -172,7 +172,7 @@ define <32 x bfloat>@test_int_x86_avx512_mask_getexp_bf16_512(<32 x bfloat> %x0,
 ; X86-LABEL: test_int_x86_avx512_mask_getexp_bf16_512:
 ; X86:       # %bb.0:
 ; X86-NEXT:    kmovd {{[0-9]+}}(%esp), %k1 # encoding: [0xc4,0xe1,0xf9,0x90,0x4c,0x24,0x04]
-; X86-NEXT:    vgetexpbf16 %zmm0, %zmm0 # encoding: [0x62,0xf5,0x7d,0x48,0x42,0xc0]
+; X86-NEXT:    vgetexpbf16 %zmm0, %zmm0 # encoding: [0x62,0xf6,0x7c,0x48,0x42,0xc0]
 ; X86-NEXT:    vmovdqu16 %zmm0, %zmm1 {%k1} # encoding: [0x62,0xf1,0xff,0x49,0x6f,0xc8]
 ; X86-NEXT:    vaddbf16 %zmm0, %zmm1, %zmm0 # encoding: [0x62,0xf5,0x75,0x48,0x58,0xc0]
 ; X86-NEXT:    retl # encoding: [0xc3]

diff  --git a/llvm/test/CodeGen/X86/avx10_2bf16-intrinsics.ll b/llvm/test/CodeGen/X86/avx10_2bf16-intrinsics.ll
index 06875dbe7cd23..ba32b2adc7999 100644
--- a/llvm/test/CodeGen/X86/avx10_2bf16-intrinsics.ll
+++ b/llvm/test/CodeGen/X86/avx10_2bf16-intrinsics.ll
@@ -333,7 +333,7 @@ declare <16 x bfloat> @llvm.x86.avx10.mask.getexp.bf16.256(<16 x bfloat>, <16 x
 define <8 x bfloat>@test_int_x86_avx512_getexp_bf16_128(<8 x bfloat> %x0) {
 ; CHECK-LABEL: test_int_x86_avx512_getexp_bf16_128:
 ; CHECK:       # %bb.0:
-; CHECK-NEXT:    vgetexpbf16 %xmm0, %xmm0 # encoding: [0x62,0xf5,0x7d,0x08,0x42,0xc0]
+; CHECK-NEXT:    vgetexpbf16 %xmm0, %xmm0 # encoding: [0x62,0xf6,0x7c,0x08,0x42,0xc0]
 ; CHECK-NEXT:    ret{{[l|q]}} # encoding: [0xc3]
   %res = call <8 x bfloat> @llvm.x86.avx10.mask.getexp.bf16.128(<8 x bfloat> %x0, <8 x bfloat> zeroinitializer, i8 -1)
   ret <8 x bfloat> %res
@@ -343,14 +343,14 @@ define <8 x bfloat>@test_int_x86_avx512_mask_getexp_bf16_128(<8 x bfloat> %x0, <
 ; X64-LABEL: test_int_x86_avx512_mask_getexp_bf16_128:
 ; X64:       # %bb.0:
 ; X64-NEXT:    kmovd %edi, %k1 # encoding: [0xc5,0xfb,0x92,0xcf]
-; X64-NEXT:    vgetexpbf16 %xmm0, %xmm1 {%k1} # encoding: [0x62,0xf5,0x7d,0x09,0x42,0xc8]
+; X64-NEXT:    vgetexpbf16 %xmm0, %xmm1 {%k1} # encoding: [0x62,0xf6,0x7c,0x09,0x42,0xc8]
 ; X64-NEXT:    vmovaps %xmm1, %xmm0 # EVEX TO VEX Compression encoding: [0xc5,0xf8,0x28,0xc1]
 ; X64-NEXT:    retq # encoding: [0xc3]
 ;
 ; X86-LABEL: test_int_x86_avx512_mask_getexp_bf16_128:
 ; X86:       # %bb.0:
 ; X86-NEXT:    kmovb {{[0-9]+}}(%esp), %k1 # encoding: [0xc5,0xf9,0x90,0x4c,0x24,0x04]
-; X86-NEXT:    vgetexpbf16 %xmm0, %xmm1 {%k1} # encoding: [0x62,0xf5,0x7d,0x09,0x42,0xc8]
+; X86-NEXT:    vgetexpbf16 %xmm0, %xmm1 {%k1} # encoding: [0x62,0xf6,0x7c,0x09,0x42,0xc8]
 ; X86-NEXT:    vmovaps %xmm1, %xmm0 # EVEX TO VEX Compression encoding: [0xc5,0xf8,0x28,0xc1]
 ; X86-NEXT:    retl # encoding: [0xc3]
   %res = call <8 x bfloat> @llvm.x86.avx10.mask.getexp.bf16.128(<8 x bfloat> %x0, <8 x bfloat> %x1, i8 %x2)
@@ -361,13 +361,13 @@ define <8 x bfloat>@test_int_x86_avx512_maskz_getexp_bf16_128(<8 x bfloat> %x0,
 ; X64-LABEL: test_int_x86_avx512_maskz_getexp_bf16_128:
 ; X64:       # %bb.0:
 ; X64-NEXT:    kmovd %edi, %k1 # encoding: [0xc5,0xfb,0x92,0xcf]
-; X64-NEXT:    vgetexpbf16 %xmm0, %xmm0 {%k1} {z} # encoding: [0x62,0xf5,0x7d,0x89,0x42,0xc0]
+; X64-NEXT:    vgetexpbf16 %xmm0, %xmm0 {%k1} {z} # encoding: [0x62,0xf6,0x7c,0x89,0x42,0xc0]
 ; X64-NEXT:    retq # encoding: [0xc3]
 ;
 ; X86-LABEL: test_int_x86_avx512_maskz_getexp_bf16_128:
 ; X86:       # %bb.0:
 ; X86-NEXT:    kmovb {{[0-9]+}}(%esp), %k1 # encoding: [0xc5,0xf9,0x90,0x4c,0x24,0x04]
-; X86-NEXT:    vgetexpbf16 %xmm0, %xmm0 {%k1} {z} # encoding: [0x62,0xf5,0x7d,0x89,0x42,0xc0]
+; X86-NEXT:    vgetexpbf16 %xmm0, %xmm0 {%k1} {z} # encoding: [0x62,0xf6,0x7c,0x89,0x42,0xc0]
 ; X86-NEXT:    retl # encoding: [0xc3]
   %res = call <8 x bfloat> @llvm.x86.avx10.mask.getexp.bf16.128(<8 x bfloat> %x0, <8 x bfloat> zeroinitializer, i8 %x2)
   ret <8 x bfloat> %res
@@ -376,7 +376,7 @@ define <8 x bfloat>@test_int_x86_avx512_maskz_getexp_bf16_128(<8 x bfloat> %x0,
 define <16 x bfloat>@test_int_x86_avx512_getexp_bf16_256(<16 x bfloat> %x0) {
 ; CHECK-LABEL: test_int_x86_avx512_getexp_bf16_256:
 ; CHECK:       # %bb.0:
-; CHECK-NEXT:    vgetexpbf16 %ymm0, %ymm0 # encoding: [0x62,0xf5,0x7d,0x28,0x42,0xc0]
+; CHECK-NEXT:    vgetexpbf16 %ymm0, %ymm0 # encoding: [0x62,0xf6,0x7c,0x28,0x42,0xc0]
 ; CHECK-NEXT:    ret{{[l|q]}} # encoding: [0xc3]
   %res = call <16 x bfloat> @llvm.x86.avx10.mask.getexp.bf16.256(<16 x bfloat> %x0, <16 x bfloat> zeroinitializer, i16 -1)
   ret <16 x bfloat> %res
@@ -386,14 +386,14 @@ define <16 x bfloat>@test_int_x86_avx512_mask_getexp_bf16_256(<16 x bfloat> %x0,
 ; X64-LABEL: test_int_x86_avx512_mask_getexp_bf16_256:
 ; X64:       # %bb.0:
 ; X64-NEXT:    kmovd %edi, %k1 # encoding: [0xc5,0xfb,0x92,0xcf]
-; X64-NEXT:    vgetexpbf16 %ymm0, %ymm1 {%k1} # encoding: [0x62,0xf5,0x7d,0x29,0x42,0xc8]
+; X64-NEXT:    vgetexpbf16 %ymm0, %ymm1 {%k1} # encoding: [0x62,0xf6,0x7c,0x29,0x42,0xc8]
 ; X64-NEXT:    vmovaps %ymm1, %ymm0 # EVEX TO VEX Compression encoding: [0xc5,0xfc,0x28,0xc1]
 ; X64-NEXT:    retq # encoding: [0xc3]
 ;
 ; X86-LABEL: test_int_x86_avx512_mask_getexp_bf16_256:
 ; X86:       # %bb.0:
 ; X86-NEXT:    kmovw {{[0-9]+}}(%esp), %k1 # encoding: [0xc5,0xf8,0x90,0x4c,0x24,0x04]
-; X86-NEXT:    vgetexpbf16 %ymm0, %ymm1 {%k1} # encoding: [0x62,0xf5,0x7d,0x29,0x42,0xc8]
+; X86-NEXT:    vgetexpbf16 %ymm0, %ymm1 {%k1} # encoding: [0x62,0xf6,0x7c,0x29,0x42,0xc8]
 ; X86-NEXT:    vmovaps %ymm1, %ymm0 # EVEX TO VEX Compression encoding: [0xc5,0xfc,0x28,0xc1]
 ; X86-NEXT:    retl # encoding: [0xc3]
   %res = call <16 x bfloat> @llvm.x86.avx10.mask.getexp.bf16.256(<16 x bfloat> %x0, <16 x bfloat> %x1, i16 %x2)
@@ -404,13 +404,13 @@ define <16 x bfloat>@test_int_x86_avx512_maskz_getexp_bf16_256(<16 x bfloat> %x0
 ; X64-LABEL: test_int_x86_avx512_maskz_getexp_bf16_256:
 ; X64:       # %bb.0:
 ; X64-NEXT:    kmovd %edi, %k1 # encoding: [0xc5,0xfb,0x92,0xcf]
-; X64-NEXT:    vgetexpbf16 %ymm0, %ymm0 {%k1} {z} # encoding: [0x62,0xf5,0x7d,0xa9,0x42,0xc0]
+; X64-NEXT:    vgetexpbf16 %ymm0, %ymm0 {%k1} {z} # encoding: [0x62,0xf6,0x7c,0xa9,0x42,0xc0]
 ; X64-NEXT:    retq # encoding: [0xc3]
 ;
 ; X86-LABEL: test_int_x86_avx512_maskz_getexp_bf16_256:
 ; X86:       # %bb.0:
 ; X86-NEXT:    kmovw {{[0-9]+}}(%esp), %k1 # encoding: [0xc5,0xf8,0x90,0x4c,0x24,0x04]
-; X86-NEXT:    vgetexpbf16 %ymm0, %ymm0 {%k1} {z} # encoding: [0x62,0xf5,0x7d,0xa9,0x42,0xc0]
+; X86-NEXT:    vgetexpbf16 %ymm0, %ymm0 {%k1} {z} # encoding: [0x62,0xf6,0x7c,0xa9,0x42,0xc0]
 ; X86-NEXT:    retl # encoding: [0xc3]
   %res = call <16 x bfloat> @llvm.x86.avx10.mask.getexp.bf16.256(<16 x bfloat> %x0, <16 x bfloat> zeroinitializer, i16 %x2)
   ret <16 x bfloat> %res

diff  --git a/llvm/test/MC/Disassembler/X86/avx10.2-bf16-32.txt b/llvm/test/MC/Disassembler/X86/avx10.2-bf16-32.txt
index a32e55e20e6b7..0db70d290e565 100644
--- a/llvm/test/MC/Disassembler/X86/avx10.2-bf16-32.txt
+++ b/llvm/test/MC/Disassembler/X86/avx10.2-bf16-32.txt
@@ -1719,111 +1719,111 @@
 
 # ATT:   vgetexpbf16 %xmm3, %xmm2
 # INTEL: vgetexpbf16 xmm2, xmm3
-0x62,0xf5,0x7d,0x08,0x42,0xd3
+0x62,0xf6,0x7c,0x08,0x42,0xd3
 
 # ATT:   vgetexpbf16 %xmm3, %xmm2 {%k7}
 # INTEL: vgetexpbf16 xmm2 {k7}, xmm3
-0x62,0xf5,0x7d,0x0f,0x42,0xd3
+0x62,0xf6,0x7c,0x0f,0x42,0xd3
 
 # ATT:   vgetexpbf16 %xmm3, %xmm2 {%k7} {z}
 # INTEL: vgetexpbf16 xmm2 {k7} {z}, xmm3
-0x62,0xf5,0x7d,0x8f,0x42,0xd3
+0x62,0xf6,0x7c,0x8f,0x42,0xd3
 
 # ATT:   vgetexpbf16 %zmm3, %zmm2
 # INTEL: vgetexpbf16 zmm2, zmm3
-0x62,0xf5,0x7d,0x48,0x42,0xd3
+0x62,0xf6,0x7c,0x48,0x42,0xd3
 
 # ATT:   vgetexpbf16 %zmm3, %zmm2 {%k7}
 # INTEL: vgetexpbf16 zmm2 {k7}, zmm3
-0x62,0xf5,0x7d,0x4f,0x42,0xd3
+0x62,0xf6,0x7c,0x4f,0x42,0xd3
 
 # ATT:   vgetexpbf16 %zmm3, %zmm2 {%k7} {z}
 # INTEL: vgetexpbf16 zmm2 {k7} {z}, zmm3
-0x62,0xf5,0x7d,0xcf,0x42,0xd3
+0x62,0xf6,0x7c,0xcf,0x42,0xd3
 
 # ATT:   vgetexpbf16 %ymm3, %ymm2
 # INTEL: vgetexpbf16 ymm2, ymm3
-0x62,0xf5,0x7d,0x28,0x42,0xd3
+0x62,0xf6,0x7c,0x28,0x42,0xd3
 
 # ATT:   vgetexpbf16 %ymm3, %ymm2 {%k7}
 # INTEL: vgetexpbf16 ymm2 {k7}, ymm3
-0x62,0xf5,0x7d,0x2f,0x42,0xd3
+0x62,0xf6,0x7c,0x2f,0x42,0xd3
 
 # ATT:   vgetexpbf16 %ymm3, %ymm2 {%k7} {z}
 # INTEL: vgetexpbf16 ymm2 {k7} {z}, ymm3
-0x62,0xf5,0x7d,0xaf,0x42,0xd3
+0x62,0xf6,0x7c,0xaf,0x42,0xd3
 
 # ATT:   vgetexpbf16  268435456(%esp,%esi,8), %xmm2
 # INTEL: vgetexpbf16 xmm2, xmmword ptr [esp + 8*esi + 268435456]
-0x62,0xf5,0x7d,0x08,0x42,0x94,0xf4,0x00,0x00,0x00,0x10
+0x62,0xf6,0x7c,0x08,0x42,0x94,0xf4,0x00,0x00,0x00,0x10
 
 # ATT:   vgetexpbf16  291(%edi,%eax,4), %xmm2 {%k7}
 # INTEL: vgetexpbf16 xmm2 {k7}, xmmword ptr [edi + 4*eax + 291]
-0x62,0xf5,0x7d,0x0f,0x42,0x94,0x87,0x23,0x01,0x00,0x00
+0x62,0xf6,0x7c,0x0f,0x42,0x94,0x87,0x23,0x01,0x00,0x00
 
 # ATT:   vgetexpbf16  (%eax){1to8}, %xmm2
 # INTEL: vgetexpbf16 xmm2, word ptr [eax]{1to8}
-0x62,0xf5,0x7d,0x18,0x42,0x10
+0x62,0xf6,0x7c,0x18,0x42,0x10
 
 # ATT:   vgetexpbf16  -512(,%ebp,2), %xmm2
 # INTEL: vgetexpbf16 xmm2, xmmword ptr [2*ebp - 512]
-0x62,0xf5,0x7d,0x08,0x42,0x14,0x6d,0x00,0xfe,0xff,0xff
+0x62,0xf6,0x7c,0x08,0x42,0x14,0x6d,0x00,0xfe,0xff,0xff
 
 # ATT:   vgetexpbf16  2032(%ecx), %xmm2 {%k7} {z}
 # INTEL: vgetexpbf16 xmm2 {k7} {z}, xmmword ptr [ecx + 2032]
-0x62,0xf5,0x7d,0x8f,0x42,0x51,0x7f
+0x62,0xf6,0x7c,0x8f,0x42,0x51,0x7f
 
 # ATT:   vgetexpbf16  -256(%edx){1to8}, %xmm2 {%k7} {z}
 # INTEL: vgetexpbf16 xmm2 {k7} {z}, word ptr [edx - 256]{1to8}
-0x62,0xf5,0x7d,0x9f,0x42,0x52,0x80
+0x62,0xf6,0x7c,0x9f,0x42,0x52,0x80
 
 # ATT:   vgetexpbf16  268435456(%esp,%esi,8), %ymm2
 # INTEL: vgetexpbf16 ymm2, ymmword ptr [esp + 8*esi + 268435456]
-0x62,0xf5,0x7d,0x28,0x42,0x94,0xf4,0x00,0x00,0x00,0x10
+0x62,0xf6,0x7c,0x28,0x42,0x94,0xf4,0x00,0x00,0x00,0x10
 
 # ATT:   vgetexpbf16  291(%edi,%eax,4), %ymm2 {%k7}
 # INTEL: vgetexpbf16 ymm2 {k7}, ymmword ptr [edi + 4*eax + 291]
-0x62,0xf5,0x7d,0x2f,0x42,0x94,0x87,0x23,0x01,0x00,0x00
+0x62,0xf6,0x7c,0x2f,0x42,0x94,0x87,0x23,0x01,0x00,0x00
 
 # ATT:   vgetexpbf16  (%eax){1to16}, %ymm2
 # INTEL: vgetexpbf16 ymm2, word ptr [eax]{1to16}
-0x62,0xf5,0x7d,0x38,0x42,0x10
+0x62,0xf6,0x7c,0x38,0x42,0x10
 
 # ATT:   vgetexpbf16  -1024(,%ebp,2), %ymm2
 # INTEL: vgetexpbf16 ymm2, ymmword ptr [2*ebp - 1024]
-0x62,0xf5,0x7d,0x28,0x42,0x14,0x6d,0x00,0xfc,0xff,0xff
+0x62,0xf6,0x7c,0x28,0x42,0x14,0x6d,0x00,0xfc,0xff,0xff
 
 # ATT:   vgetexpbf16  4064(%ecx), %ymm2 {%k7} {z}
 # INTEL: vgetexpbf16 ymm2 {k7} {z}, ymmword ptr [ecx + 4064]
-0x62,0xf5,0x7d,0xaf,0x42,0x51,0x7f
+0x62,0xf6,0x7c,0xaf,0x42,0x51,0x7f
 
 # ATT:   vgetexpbf16  -256(%edx){1to16}, %ymm2 {%k7} {z}
 # INTEL: vgetexpbf16 ymm2 {k7} {z}, word ptr [edx - 256]{1to16}
-0x62,0xf5,0x7d,0xbf,0x42,0x52,0x80
+0x62,0xf6,0x7c,0xbf,0x42,0x52,0x80
 
 # ATT:   vgetexpbf16  268435456(%esp,%esi,8), %zmm2
 # INTEL: vgetexpbf16 zmm2, zmmword ptr [esp + 8*esi + 268435456]
-0x62,0xf5,0x7d,0x48,0x42,0x94,0xf4,0x00,0x00,0x00,0x10
+0x62,0xf6,0x7c,0x48,0x42,0x94,0xf4,0x00,0x00,0x00,0x10
 
 # ATT:   vgetexpbf16  291(%edi,%eax,4), %zmm2 {%k7}
 # INTEL: vgetexpbf16 zmm2 {k7}, zmmword ptr [edi + 4*eax + 291]
-0x62,0xf5,0x7d,0x4f,0x42,0x94,0x87,0x23,0x01,0x00,0x00
+0x62,0xf6,0x7c,0x4f,0x42,0x94,0x87,0x23,0x01,0x00,0x00
 
 # ATT:   vgetexpbf16  (%eax){1to32}, %zmm2
 # INTEL: vgetexpbf16 zmm2, word ptr [eax]{1to32}
-0x62,0xf5,0x7d,0x58,0x42,0x10
+0x62,0xf6,0x7c,0x58,0x42,0x10
 
 # ATT:   vgetexpbf16  -2048(,%ebp,2), %zmm2
 # INTEL: vgetexpbf16 zmm2, zmmword ptr [2*ebp - 2048]
-0x62,0xf5,0x7d,0x48,0x42,0x14,0x6d,0x00,0xf8,0xff,0xff
+0x62,0xf6,0x7c,0x48,0x42,0x14,0x6d,0x00,0xf8,0xff,0xff
 
 # ATT:   vgetexpbf16  8128(%ecx), %zmm2 {%k7} {z}
 # INTEL: vgetexpbf16 zmm2 {k7} {z}, zmmword ptr [ecx + 8128]
-0x62,0xf5,0x7d,0xcf,0x42,0x51,0x7f
+0x62,0xf6,0x7c,0xcf,0x42,0x51,0x7f
 
 # ATT:   vgetexpbf16  -256(%edx){1to32}, %zmm2 {%k7} {z}
 # INTEL: vgetexpbf16 zmm2 {k7} {z}, word ptr [edx - 256]{1to32}
-0x62,0xf5,0x7d,0xdf,0x42,0x52,0x80
+0x62,0xf6,0x7c,0xdf,0x42,0x52,0x80
 
 # ATT:   vgetmantbf16 $123, %zmm3, %zmm2
 # INTEL: vgetmantbf16 zmm2, zmm3, 123

diff  --git a/llvm/test/MC/Disassembler/X86/avx10.2-bf16-64.txt b/llvm/test/MC/Disassembler/X86/avx10.2-bf16-64.txt
index 1319c5cbd0362..197415e5ba329 100644
--- a/llvm/test/MC/Disassembler/X86/avx10.2-bf16-64.txt
+++ b/llvm/test/MC/Disassembler/X86/avx10.2-bf16-64.txt
@@ -1719,111 +1719,111 @@
 
 # ATT:   vgetexpbf16 %xmm23, %xmm22
 # INTEL: vgetexpbf16 xmm22, xmm23
-0x62,0xa5,0x7d,0x08,0x42,0xf7
+0x62,0xa6,0x7c,0x08,0x42,0xf7
 
 # ATT:   vgetexpbf16 %xmm23, %xmm22 {%k7}
 # INTEL: vgetexpbf16 xmm22 {k7}, xmm23
-0x62,0xa5,0x7d,0x0f,0x42,0xf7
+0x62,0xa6,0x7c,0x0f,0x42,0xf7
 
 # ATT:   vgetexpbf16 %xmm23, %xmm22 {%k7} {z}
 # INTEL: vgetexpbf16 xmm22 {k7} {z}, xmm23
-0x62,0xa5,0x7d,0x8f,0x42,0xf7
+0x62,0xa6,0x7c,0x8f,0x42,0xf7
 
 # ATT:   vgetexpbf16 %zmm23, %zmm22
 # INTEL: vgetexpbf16 zmm22, zmm23
-0x62,0xa5,0x7d,0x48,0x42,0xf7
+0x62,0xa6,0x7c,0x48,0x42,0xf7
 
 # ATT:   vgetexpbf16 %zmm23, %zmm22 {%k7}
 # INTEL: vgetexpbf16 zmm22 {k7}, zmm23
-0x62,0xa5,0x7d,0x4f,0x42,0xf7
+0x62,0xa6,0x7c,0x4f,0x42,0xf7
 
 # ATT:   vgetexpbf16 %zmm23, %zmm22 {%k7} {z}
 # INTEL: vgetexpbf16 zmm22 {k7} {z}, zmm23
-0x62,0xa5,0x7d,0xcf,0x42,0xf7
+0x62,0xa6,0x7c,0xcf,0x42,0xf7
 
 # ATT:   vgetexpbf16 %ymm23, %ymm22
 # INTEL: vgetexpbf16 ymm22, ymm23
-0x62,0xa5,0x7d,0x28,0x42,0xf7
+0x62,0xa6,0x7c,0x28,0x42,0xf7
 
 # ATT:   vgetexpbf16 %ymm23, %ymm22 {%k7}
 # INTEL: vgetexpbf16 ymm22 {k7}, ymm23
-0x62,0xa5,0x7d,0x2f,0x42,0xf7
+0x62,0xa6,0x7c,0x2f,0x42,0xf7
 
 # ATT:   vgetexpbf16 %ymm23, %ymm22 {%k7} {z}
 # INTEL: vgetexpbf16 ymm22 {k7} {z}, ymm23
-0x62,0xa5,0x7d,0xaf,0x42,0xf7
+0x62,0xa6,0x7c,0xaf,0x42,0xf7
 
 # ATT:   vgetexpbf16  268435456(%rbp,%r14,8), %xmm22
 # INTEL: vgetexpbf16 xmm22, xmmword ptr [rbp + 8*r14 + 268435456]
-0x62,0xa5,0x7d,0x08,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10
+0x62,0xa6,0x7c,0x08,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10
 
 # ATT:   vgetexpbf16  291(%r8,%rax,4), %xmm22 {%k7}
 # INTEL: vgetexpbf16 xmm22 {k7}, xmmword ptr [r8 + 4*rax + 291]
-0x62,0xc5,0x7d,0x0f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00
+0x62,0xc6,0x7c,0x0f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00
 
 # ATT:   vgetexpbf16  (%rip){1to8}, %xmm22
 # INTEL: vgetexpbf16 xmm22, word ptr [rip]{1to8}
-0x62,0xe5,0x7d,0x18,0x42,0x35,0x00,0x00,0x00,0x00
+0x62,0xe6,0x7c,0x18,0x42,0x35,0x00,0x00,0x00,0x00
 
 # ATT:   vgetexpbf16  -512(,%rbp,2), %xmm22
 # INTEL: vgetexpbf16 xmm22, xmmword ptr [2*rbp - 512]
-0x62,0xe5,0x7d,0x08,0x42,0x34,0x6d,0x00,0xfe,0xff,0xff
+0x62,0xe6,0x7c,0x08,0x42,0x34,0x6d,0x00,0xfe,0xff,0xff
 
 # ATT:   vgetexpbf16  2032(%rcx), %xmm22 {%k7} {z}
 # INTEL: vgetexpbf16 xmm22 {k7} {z}, xmmword ptr [rcx + 2032]
-0x62,0xe5,0x7d,0x8f,0x42,0x71,0x7f
+0x62,0xe6,0x7c,0x8f,0x42,0x71,0x7f
 
 # ATT:   vgetexpbf16  -256(%rdx){1to8}, %xmm22 {%k7} {z}
 # INTEL: vgetexpbf16 xmm22 {k7} {z}, word ptr [rdx - 256]{1to8}
-0x62,0xe5,0x7d,0x9f,0x42,0x72,0x80
+0x62,0xe6,0x7c,0x9f,0x42,0x72,0x80
 
 # ATT:   vgetexpbf16  268435456(%rbp,%r14,8), %ymm22
 # INTEL: vgetexpbf16 ymm22, ymmword ptr [rbp + 8*r14 + 268435456]
-0x62,0xa5,0x7d,0x28,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10
+0x62,0xa6,0x7c,0x28,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10
 
 # ATT:   vgetexpbf16  291(%r8,%rax,4), %ymm22 {%k7}
 # INTEL: vgetexpbf16 ymm22 {k7}, ymmword ptr [r8 + 4*rax + 291]
-0x62,0xc5,0x7d,0x2f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00
+0x62,0xc6,0x7c,0x2f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00
 
 # ATT:   vgetexpbf16  (%rip){1to16}, %ymm22
 # INTEL: vgetexpbf16 ymm22, word ptr [rip]{1to16}
-0x62,0xe5,0x7d,0x38,0x42,0x35,0x00,0x00,0x00,0x00
+0x62,0xe6,0x7c,0x38,0x42,0x35,0x00,0x00,0x00,0x00
 
 # ATT:   vgetexpbf16  -1024(,%rbp,2), %ymm22
 # INTEL: vgetexpbf16 ymm22, ymmword ptr [2*rbp - 1024]
-0x62,0xe5,0x7d,0x28,0x42,0x34,0x6d,0x00,0xfc,0xff,0xff
+0x62,0xe6,0x7c,0x28,0x42,0x34,0x6d,0x00,0xfc,0xff,0xff
 
 # ATT:   vgetexpbf16  4064(%rcx), %ymm22 {%k7} {z}
 # INTEL: vgetexpbf16 ymm22 {k7} {z}, ymmword ptr [rcx + 4064]
-0x62,0xe5,0x7d,0xaf,0x42,0x71,0x7f
+0x62,0xe6,0x7c,0xaf,0x42,0x71,0x7f
 
 # ATT:   vgetexpbf16  -256(%rdx){1to16}, %ymm22 {%k7} {z}
 # INTEL: vgetexpbf16 ymm22 {k7} {z}, word ptr [rdx - 256]{1to16}
-0x62,0xe5,0x7d,0xbf,0x42,0x72,0x80
+0x62,0xe6,0x7c,0xbf,0x42,0x72,0x80
 
 # ATT:   vgetexpbf16  268435456(%rbp,%r14,8), %zmm22
 # INTEL: vgetexpbf16 zmm22, zmmword ptr [rbp + 8*r14 + 268435456]
-0x62,0xa5,0x7d,0x48,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10
+0x62,0xa6,0x7c,0x48,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10
 
 # ATT:   vgetexpbf16  291(%r8,%rax,4), %zmm22 {%k7}
 # INTEL: vgetexpbf16 zmm22 {k7}, zmmword ptr [r8 + 4*rax + 291]
-0x62,0xc5,0x7d,0x4f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00
+0x62,0xc6,0x7c,0x4f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00
 
 # ATT:   vgetexpbf16  (%rip){1to32}, %zmm22
 # INTEL: vgetexpbf16 zmm22, word ptr [rip]{1to32}
-0x62,0xe5,0x7d,0x58,0x42,0x35,0x00,0x00,0x00,0x00
+0x62,0xe6,0x7c,0x58,0x42,0x35,0x00,0x00,0x00,0x00
 
 # ATT:   vgetexpbf16  -2048(,%rbp,2), %zmm22
 # INTEL: vgetexpbf16 zmm22, zmmword ptr [2*rbp - 2048]
-0x62,0xe5,0x7d,0x48,0x42,0x34,0x6d,0x00,0xf8,0xff,0xff
+0x62,0xe6,0x7c,0x48,0x42,0x34,0x6d,0x00,0xf8,0xff,0xff
 
 # ATT:   vgetexpbf16  8128(%rcx), %zmm22 {%k7} {z}
 # INTEL: vgetexpbf16 zmm22 {k7} {z}, zmmword ptr [rcx + 8128]
-0x62,0xe5,0x7d,0xcf,0x42,0x71,0x7f
+0x62,0xe6,0x7c,0xcf,0x42,0x71,0x7f
 
 # ATT:   vgetexpbf16  -256(%rdx){1to32}, %zmm22 {%k7} {z}
 # INTEL: vgetexpbf16 zmm22 {k7} {z}, word ptr [rdx - 256]{1to32}
-0x62,0xe5,0x7d,0xdf,0x42,0x72,0x80
+0x62,0xe6,0x7c,0xdf,0x42,0x72,0x80
 
 # ATT:   vgetmantbf16 $123, %zmm23, %zmm22
 # INTEL: vgetmantbf16 zmm22, zmm23, 123

diff  --git a/llvm/test/MC/Disassembler/X86/avx10.2-com-ef-32.txt b/llvm/test/MC/Disassembler/X86/avx10.2-com-ef-32.txt
index e7adacbbf88c8..ecdc75979e8df 100644
--- a/llvm/test/MC/Disassembler/X86/avx10.2-com-ef-32.txt
+++ b/llvm/test/MC/Disassembler/X86/avx10.2-com-ef-32.txt
@@ -3,193 +3,193 @@
 
 # ATT:   vcomxsd %xmm3, %xmm2
 # INTEL: vcomxsd xmm2, xmm3
-0x62,0xf1,0xfe,0x08,0x2f,0xd3
+0x62,0xf1,0xff,0x08,0x2f,0xd3
 
 # ATT:   vcomxsd {sae}, %xmm3, %xmm2
 # INTEL: vcomxsd xmm2, xmm3, {sae}
-0x62,0xf1,0xfe,0x18,0x2f,0xd3
+0x62,0xf1,0xff,0x18,0x2f,0xd3
 
 # ATT:   vcomxsd  268435456(%esp,%esi,8), %xmm2
 # INTEL: vcomxsd xmm2, qword ptr [esp + 8*esi + 268435456]
-0x62,0xf1,0xfe,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10
+0x62,0xf1,0xff,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10
 
 # ATT:   vcomxsd  291(%edi,%eax,4), %xmm2
 # INTEL: vcomxsd xmm2, qword ptr [edi + 4*eax + 291]
-0x62,0xf1,0xfe,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00
+0x62,0xf1,0xff,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00
 
 # ATT:   vcomxsd  (%eax), %xmm2
 # INTEL: vcomxsd xmm2, qword ptr [eax]
-0x62,0xf1,0xfe,0x08,0x2f,0x10
+0x62,0xf1,0xff,0x08,0x2f,0x10
 
 # ATT:   vcomxsd  -256(,%ebp,2), %xmm2
 # INTEL: vcomxsd xmm2, qword ptr [2*ebp - 256]
-0x62,0xf1,0xfe,0x08,0x2f,0x14,0x6d,0x00,0xff,0xff,0xff
+0x62,0xf1,0xff,0x08,0x2f,0x14,0x6d,0x00,0xff,0xff,0xff
 
 # ATT:   vcomxsd  1016(%ecx), %xmm2
 # INTEL: vcomxsd xmm2, qword ptr [ecx + 1016]
-0x62,0xf1,0xfe,0x08,0x2f,0x51,0x7f
+0x62,0xf1,0xff,0x08,0x2f,0x51,0x7f
 
 # ATT:   vcomxsd  -1024(%edx), %xmm2
 # INTEL: vcomxsd xmm2, qword ptr [edx - 1024]
-0x62,0xf1,0xfe,0x08,0x2f,0x52,0x80
+0x62,0xf1,0xff,0x08,0x2f,0x52,0x80
 
 # ATT:   vcomxsh %xmm3, %xmm2
 # INTEL: vcomxsh xmm2, xmm3
-0x62,0xf5,0x7f,0x08,0x2f,0xd3
+0x62,0xf5,0x7e,0x08,0x2f,0xd3
 
 # ATT:   vcomxsh {sae}, %xmm3, %xmm2
 # INTEL: vcomxsh xmm2, xmm3, {sae}
-0x62,0xf5,0x7f,0x18,0x2f,0xd3
+0x62,0xf5,0x7e,0x18,0x2f,0xd3
 
 # ATT:   vcomxsh  268435456(%esp,%esi,8), %xmm2
 # INTEL: vcomxsh xmm2, word ptr [esp + 8*esi + 268435456]
-0x62,0xf5,0x7f,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10
+0x62,0xf5,0x7e,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10
 
 # ATT:   vcomxsh  291(%edi,%eax,4), %xmm2
 # INTEL: vcomxsh xmm2, word ptr [edi + 4*eax + 291]
-0x62,0xf5,0x7f,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00
+0x62,0xf5,0x7e,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00
 
 # ATT:   vcomxsh  (%eax), %xmm2
 # INTEL: vcomxsh xmm2, word ptr [eax]
-0x62,0xf5,0x7f,0x08,0x2f,0x10
+0x62,0xf5,0x7e,0x08,0x2f,0x10
 
 # ATT:   vcomxsh  -64(,%ebp,2), %xmm2
 # INTEL: vcomxsh xmm2, word ptr [2*ebp - 64]
-0x62,0xf5,0x7f,0x08,0x2f,0x14,0x6d,0xc0,0xff,0xff,0xff
+0x62,0xf5,0x7e,0x08,0x2f,0x14,0x6d,0xc0,0xff,0xff,0xff
 
 # ATT:   vcomxsh  254(%ecx), %xmm2
 # INTEL: vcomxsh xmm2, word ptr [ecx + 254]
-0x62,0xf5,0x7f,0x08,0x2f,0x51,0x7f
+0x62,0xf5,0x7e,0x08,0x2f,0x51,0x7f
 
 # ATT:   vcomxsh  -256(%edx), %xmm2
 # INTEL: vcomxsh xmm2, word ptr [edx - 256]
-0x62,0xf5,0x7f,0x08,0x2f,0x52,0x80
+0x62,0xf5,0x7e,0x08,0x2f,0x52,0x80
 
 # ATT:   vcomxss %xmm3, %xmm2
 # INTEL: vcomxss xmm2, xmm3
-0x62,0xf1,0x7f,0x08,0x2f,0xd3
+0x62,0xf1,0x7e,0x08,0x2f,0xd3
 
 # ATT:   vcomxss {sae}, %xmm3, %xmm2
 # INTEL: vcomxss xmm2, xmm3, {sae}
-0x62,0xf1,0x7f,0x18,0x2f,0xd3
+0x62,0xf1,0x7e,0x18,0x2f,0xd3
 
 # ATT:   vcomxss  268435456(%esp,%esi,8), %xmm2
 # INTEL: vcomxss xmm2, dword ptr [esp + 8*esi + 268435456]
-0x62,0xf1,0x7f,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10
+0x62,0xf1,0x7e,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10
 
 # ATT:   vcomxss  291(%edi,%eax,4), %xmm2
 # INTEL: vcomxss xmm2, dword ptr [edi + 4*eax + 291]
-0x62,0xf1,0x7f,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00
+0x62,0xf1,0x7e,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00
 
 # ATT:   vcomxss  (%eax), %xmm2
 # INTEL: vcomxss xmm2, dword ptr [eax]
-0x62,0xf1,0x7f,0x08,0x2f,0x10
+0x62,0xf1,0x7e,0x08,0x2f,0x10
 
 # ATT:   vcomxss  -128(,%ebp,2), %xmm2
 # INTEL: vcomxss xmm2, dword ptr [2*ebp - 128]
-0x62,0xf1,0x7f,0x08,0x2f,0x14,0x6d,0x80,0xff,0xff,0xff
+0x62,0xf1,0x7e,0x08,0x2f,0x14,0x6d,0x80,0xff,0xff,0xff
 
 # ATT:   vcomxss  508(%ecx), %xmm2
 # INTEL: vcomxss xmm2, dword ptr [ecx + 508]
-0x62,0xf1,0x7f,0x08,0x2f,0x51,0x7f
+0x62,0xf1,0x7e,0x08,0x2f,0x51,0x7f
 
 # ATT:   vcomxss  -512(%edx), %xmm2
 # INTEL: vcomxss xmm2, dword ptr [edx - 512]
-0x62,0xf1,0x7f,0x08,0x2f,0x52,0x80
+0x62,0xf1,0x7e,0x08,0x2f,0x52,0x80
 
 # ATT:   vucomxsd %xmm3, %xmm2
 # INTEL: vucomxsd xmm2, xmm3
-0x62,0xf1,0xfe,0x08,0x2e,0xd3
+0x62,0xf1,0xff,0x08,0x2e,0xd3
 
 # ATT:   vucomxsd {sae}, %xmm3, %xmm2
 # INTEL: vucomxsd xmm2, xmm3, {sae}
-0x62,0xf1,0xfe,0x18,0x2e,0xd3
+0x62,0xf1,0xff,0x18,0x2e,0xd3
 
 # ATT:   vucomxsd  268435456(%esp,%esi,8), %xmm2
 # INTEL: vucomxsd xmm2, qword ptr [esp + 8*esi + 268435456]
-0x62,0xf1,0xfe,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10
+0x62,0xf1,0xff,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10
 
 # ATT:   vucomxsd  291(%edi,%eax,4), %xmm2
 # INTEL: vucomxsd xmm2, qword ptr [edi + 4*eax + 291]
-0x62,0xf1,0xfe,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00
+0x62,0xf1,0xff,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00
 
 # ATT:   vucomxsd  (%eax), %xmm2
 # INTEL: vucomxsd xmm2, qword ptr [eax]
-0x62,0xf1,0xfe,0x08,0x2e,0x10
+0x62,0xf1,0xff,0x08,0x2e,0x10
 
 # ATT:   vucomxsd  -256(,%ebp,2), %xmm2
 # INTEL: vucomxsd xmm2, qword ptr [2*ebp - 256]
-0x62,0xf1,0xfe,0x08,0x2e,0x14,0x6d,0x00,0xff,0xff,0xff
+0x62,0xf1,0xff,0x08,0x2e,0x14,0x6d,0x00,0xff,0xff,0xff
 
 # ATT:   vucomxsd  1016(%ecx), %xmm2
 # INTEL: vucomxsd xmm2, qword ptr [ecx + 1016]
-0x62,0xf1,0xfe,0x08,0x2e,0x51,0x7f
+0x62,0xf1,0xff,0x08,0x2e,0x51,0x7f
 
 # ATT:   vucomxsd  -1024(%edx), %xmm2
 # INTEL: vucomxsd xmm2, qword ptr [edx - 1024]
-0x62,0xf1,0xfe,0x08,0x2e,0x52,0x80
+0x62,0xf1,0xff,0x08,0x2e,0x52,0x80
 
 # ATT:   vucomxsh %xmm3, %xmm2
 # INTEL: vucomxsh xmm2, xmm3
-0x62,0xf5,0x7f,0x08,0x2e,0xd3
+0x62,0xf5,0x7e,0x08,0x2e,0xd3
 
 # ATT:   vucomxsh {sae}, %xmm3, %xmm2
 # INTEL: vucomxsh xmm2, xmm3, {sae}
-0x62,0xf5,0x7f,0x18,0x2e,0xd3
+0x62,0xf5,0x7e,0x18,0x2e,0xd3
 
 # ATT:   vucomxsh  268435456(%esp,%esi,8), %xmm2
 # INTEL: vucomxsh xmm2, word ptr [esp + 8*esi + 268435456]
-0x62,0xf5,0x7f,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10
+0x62,0xf5,0x7e,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10
 
 # ATT:   vucomxsh  291(%edi,%eax,4), %xmm2
 # INTEL: vucomxsh xmm2, word ptr [edi + 4*eax + 291]
-0x62,0xf5,0x7f,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00
+0x62,0xf5,0x7e,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00
 
 # ATT:   vucomxsh  (%eax), %xmm2
 # INTEL: vucomxsh xmm2, word ptr [eax]
-0x62,0xf5,0x7f,0x08,0x2e,0x10
+0x62,0xf5,0x7e,0x08,0x2e,0x10
 
 # ATT:   vucomxsh  -64(,%ebp,2), %xmm2
 # INTEL: vucomxsh xmm2, word ptr [2*ebp - 64]
-0x62,0xf5,0x7f,0x08,0x2e,0x14,0x6d,0xc0,0xff,0xff,0xff
+0x62,0xf5,0x7e,0x08,0x2e,0x14,0x6d,0xc0,0xff,0xff,0xff
 
 # ATT:   vucomxsh  254(%ecx), %xmm2
 # INTEL: vucomxsh xmm2, word ptr [ecx + 254]
-0x62,0xf5,0x7f,0x08,0x2e,0x51,0x7f
+0x62,0xf5,0x7e,0x08,0x2e,0x51,0x7f
 
 # ATT:   vucomxsh  -256(%edx), %xmm2
 # INTEL: vucomxsh xmm2, word ptr [edx - 256]
-0x62,0xf5,0x7f,0x08,0x2e,0x52,0x80
+0x62,0xf5,0x7e,0x08,0x2e,0x52,0x80
 
 # ATT:   vucomxss %xmm3, %xmm2
 # INTEL: vucomxss xmm2, xmm3
-0x62,0xf1,0x7f,0x08,0x2e,0xd3
+0x62,0xf1,0x7e,0x08,0x2e,0xd3
 
 # ATT:   vucomxss {sae}, %xmm3, %xmm2
 # INTEL: vucomxss xmm2, xmm3, {sae}
-0x62,0xf1,0x7f,0x18,0x2e,0xd3
+0x62,0xf1,0x7e,0x18,0x2e,0xd3
 
 # ATT:   vucomxss  268435456(%esp,%esi,8), %xmm2
 # INTEL: vucomxss xmm2, dword ptr [esp + 8*esi + 268435456]
-0x62,0xf1,0x7f,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10
+0x62,0xf1,0x7e,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10
 
 # ATT:   vucomxss  291(%edi,%eax,4), %xmm2
 # INTEL: vucomxss xmm2, dword ptr [edi + 4*eax + 291]
-0x62,0xf1,0x7f,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00
+0x62,0xf1,0x7e,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00
 
 # ATT:   vucomxss  (%eax), %xmm2
 # INTEL: vucomxss xmm2, dword ptr [eax]
-0x62,0xf1,0x7f,0x08,0x2e,0x10
+0x62,0xf1,0x7e,0x08,0x2e,0x10
 
 # ATT:   vucomxss  -128(,%ebp,2), %xmm2
 # INTEL: vucomxss xmm2, dword ptr [2*ebp - 128]
-0x62,0xf1,0x7f,0x08,0x2e,0x14,0x6d,0x80,0xff,0xff,0xff
+0x62,0xf1,0x7e,0x08,0x2e,0x14,0x6d,0x80,0xff,0xff,0xff
 
 # ATT:   vucomxss  508(%ecx), %xmm2
 # INTEL: vucomxss xmm2, dword ptr [ecx + 508]
-0x62,0xf1,0x7f,0x08,0x2e,0x51,0x7f
+0x62,0xf1,0x7e,0x08,0x2e,0x51,0x7f
 
 # ATT:   vucomxss  -512(%edx), %xmm2
 # INTEL: vucomxss xmm2, dword ptr [edx - 512]
-0x62,0xf1,0x7f,0x08,0x2e,0x52,0x80
+0x62,0xf1,0x7e,0x08,0x2e,0x52,0x80
 

diff  --git a/llvm/test/MC/Disassembler/X86/avx10.2-com-ef-64.txt b/llvm/test/MC/Disassembler/X86/avx10.2-com-ef-64.txt
index ea580fe8d5083..e01e762d12aaf 100644
--- a/llvm/test/MC/Disassembler/X86/avx10.2-com-ef-64.txt
+++ b/llvm/test/MC/Disassembler/X86/avx10.2-com-ef-64.txt
@@ -3,193 +3,193 @@
 
 # ATT:   vcomxsd %xmm23, %xmm22
 # INTEL: vcomxsd xmm22, xmm23
-0x62,0xa1,0xfe,0x08,0x2f,0xf7
+0x62,0xa1,0xff,0x08,0x2f,0xf7
 
 # ATT:   vcomxsd {sae}, %xmm23, %xmm22
 # INTEL: vcomxsd xmm22, xmm23, {sae}
-0x62,0xa1,0xfe,0x18,0x2f,0xf7
+0x62,0xa1,0xff,0x18,0x2f,0xf7
 
 # ATT:   vcomxsd  268435456(%rbp,%r14,8), %xmm22
 # INTEL: vcomxsd xmm22, qword ptr [rbp + 8*r14 + 268435456]
-0x62,0xa1,0xfe,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10
+0x62,0xa1,0xff,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10
 
 # ATT:   vcomxsd  291(%r8,%rax,4), %xmm22
 # INTEL: vcomxsd xmm22, qword ptr [r8 + 4*rax + 291]
-0x62,0xc1,0xfe,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00
+0x62,0xc1,0xff,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00
 
 # ATT:   vcomxsd  (%rip), %xmm22
 # INTEL: vcomxsd xmm22, qword ptr [rip]
-0x62,0xe1,0xfe,0x08,0x2f,0x35,0x00,0x00,0x00,0x00
+0x62,0xe1,0xff,0x08,0x2f,0x35,0x00,0x00,0x00,0x00
 
 # ATT:   vcomxsd  -256(,%rbp,2), %xmm22
 # INTEL: vcomxsd xmm22, qword ptr [2*rbp - 256]
-0x62,0xe1,0xfe,0x08,0x2f,0x34,0x6d,0x00,0xff,0xff,0xff
+0x62,0xe1,0xff,0x08,0x2f,0x34,0x6d,0x00,0xff,0xff,0xff
 
 # ATT:   vcomxsd  1016(%rcx), %xmm22
 # INTEL: vcomxsd xmm22, qword ptr [rcx + 1016]
-0x62,0xe1,0xfe,0x08,0x2f,0x71,0x7f
+0x62,0xe1,0xff,0x08,0x2f,0x71,0x7f
 
 # ATT:   vcomxsd  -1024(%rdx), %xmm22
 # INTEL: vcomxsd xmm22, qword ptr [rdx - 1024]
-0x62,0xe1,0xfe,0x08,0x2f,0x72,0x80
+0x62,0xe1,0xff,0x08,0x2f,0x72,0x80
 
 # ATT:   vcomxsh %xmm23, %xmm22
 # INTEL: vcomxsh xmm22, xmm23
-0x62,0xa5,0x7f,0x08,0x2f,0xf7
+0x62,0xa5,0x7e,0x08,0x2f,0xf7
 
 # ATT:   vcomxsh {sae}, %xmm23, %xmm22
 # INTEL: vcomxsh xmm22, xmm23, {sae}
-0x62,0xa5,0x7f,0x18,0x2f,0xf7
+0x62,0xa5,0x7e,0x18,0x2f,0xf7
 
 # ATT:   vcomxsh  268435456(%rbp,%r14,8), %xmm22
 # INTEL: vcomxsh xmm22, word ptr [rbp + 8*r14 + 268435456]
-0x62,0xa5,0x7f,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10
+0x62,0xa5,0x7e,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10
 
 # ATT:   vcomxsh  291(%r8,%rax,4), %xmm22
 # INTEL: vcomxsh xmm22, word ptr [r8 + 4*rax + 291]
-0x62,0xc5,0x7f,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00
+0x62,0xc5,0x7e,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00
 
 # ATT:   vcomxsh  (%rip), %xmm22
 # INTEL: vcomxsh xmm22, word ptr [rip]
-0x62,0xe5,0x7f,0x08,0x2f,0x35,0x00,0x00,0x00,0x00
+0x62,0xe5,0x7e,0x08,0x2f,0x35,0x00,0x00,0x00,0x00
 
 # ATT:   vcomxsh  -64(,%rbp,2), %xmm22
 # INTEL: vcomxsh xmm22, word ptr [2*rbp - 64]
-0x62,0xe5,0x7f,0x08,0x2f,0x34,0x6d,0xc0,0xff,0xff,0xff
+0x62,0xe5,0x7e,0x08,0x2f,0x34,0x6d,0xc0,0xff,0xff,0xff
 
 # ATT:   vcomxsh  254(%rcx), %xmm22
 # INTEL: vcomxsh xmm22, word ptr [rcx + 254]
-0x62,0xe5,0x7f,0x08,0x2f,0x71,0x7f
+0x62,0xe5,0x7e,0x08,0x2f,0x71,0x7f
 
 # ATT:   vcomxsh  -256(%rdx), %xmm22
 # INTEL: vcomxsh xmm22, word ptr [rdx - 256]
-0x62,0xe5,0x7f,0x08,0x2f,0x72,0x80
+0x62,0xe5,0x7e,0x08,0x2f,0x72,0x80
 
 # ATT:   vcomxss %xmm23, %xmm22
 # INTEL: vcomxss xmm22, xmm23
-0x62,0xa1,0x7f,0x08,0x2f,0xf7
+0x62,0xa1,0x7e,0x08,0x2f,0xf7
 
 # ATT:   vcomxss {sae}, %xmm23, %xmm22
 # INTEL: vcomxss xmm22, xmm23, {sae}
-0x62,0xa1,0x7f,0x18,0x2f,0xf7
+0x62,0xa1,0x7e,0x18,0x2f,0xf7
 
 # ATT:   vcomxss  268435456(%rbp,%r14,8), %xmm22
 # INTEL: vcomxss xmm22, dword ptr [rbp + 8*r14 + 268435456]
-0x62,0xa1,0x7f,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10
+0x62,0xa1,0x7e,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10
 
 # ATT:   vcomxss  291(%r8,%rax,4), %xmm22
 # INTEL: vcomxss xmm22, dword ptr [r8 + 4*rax + 291]
-0x62,0xc1,0x7f,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00
+0x62,0xc1,0x7e,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00
 
 # ATT:   vcomxss  (%rip), %xmm22
 # INTEL: vcomxss xmm22, dword ptr [rip]
-0x62,0xe1,0x7f,0x08,0x2f,0x35,0x00,0x00,0x00,0x00
+0x62,0xe1,0x7e,0x08,0x2f,0x35,0x00,0x00,0x00,0x00
 
 # ATT:   vcomxss  -128(,%rbp,2), %xmm22
 # INTEL: vcomxss xmm22, dword ptr [2*rbp - 128]
-0x62,0xe1,0x7f,0x08,0x2f,0x34,0x6d,0x80,0xff,0xff,0xff
+0x62,0xe1,0x7e,0x08,0x2f,0x34,0x6d,0x80,0xff,0xff,0xff
 
 # ATT:   vcomxss  508(%rcx), %xmm22
 # INTEL: vcomxss xmm22, dword ptr [rcx + 508]
-0x62,0xe1,0x7f,0x08,0x2f,0x71,0x7f
+0x62,0xe1,0x7e,0x08,0x2f,0x71,0x7f
 
 # ATT:   vcomxss  -512(%rdx), %xmm22
 # INTEL: vcomxss xmm22, dword ptr [rdx - 512]
-0x62,0xe1,0x7f,0x08,0x2f,0x72,0x80
+0x62,0xe1,0x7e,0x08,0x2f,0x72,0x80
 
 # ATT:   vucomxsd %xmm23, %xmm22
 # INTEL: vucomxsd xmm22, xmm23
-0x62,0xa1,0xfe,0x08,0x2e,0xf7
+0x62,0xa1,0xff,0x08,0x2e,0xf7
 
 # ATT:   vucomxsd {sae}, %xmm23, %xmm22
 # INTEL: vucomxsd xmm22, xmm23, {sae}
-0x62,0xa1,0xfe,0x18,0x2e,0xf7
+0x62,0xa1,0xff,0x18,0x2e,0xf7
 
 # ATT:   vucomxsd  268435456(%rbp,%r14,8), %xmm22
 # INTEL: vucomxsd xmm22, qword ptr [rbp + 8*r14 + 268435456]
-0x62,0xa1,0xfe,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10
+0x62,0xa1,0xff,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10
 
 # ATT:   vucomxsd  291(%r8,%rax,4), %xmm22
 # INTEL: vucomxsd xmm22, qword ptr [r8 + 4*rax + 291]
-0x62,0xc1,0xfe,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00
+0x62,0xc1,0xff,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00
 
 # ATT:   vucomxsd  (%rip), %xmm22
 # INTEL: vucomxsd xmm22, qword ptr [rip]
-0x62,0xe1,0xfe,0x08,0x2e,0x35,0x00,0x00,0x00,0x00
+0x62,0xe1,0xff,0x08,0x2e,0x35,0x00,0x00,0x00,0x00
 
 # ATT:   vucomxsd  -256(,%rbp,2), %xmm22
 # INTEL: vucomxsd xmm22, qword ptr [2*rbp - 256]
-0x62,0xe1,0xfe,0x08,0x2e,0x34,0x6d,0x00,0xff,0xff,0xff
+0x62,0xe1,0xff,0x08,0x2e,0x34,0x6d,0x00,0xff,0xff,0xff
 
 # ATT:   vucomxsd  1016(%rcx), %xmm22
 # INTEL: vucomxsd xmm22, qword ptr [rcx + 1016]
-0x62,0xe1,0xfe,0x08,0x2e,0x71,0x7f
+0x62,0xe1,0xff,0x08,0x2e,0x71,0x7f
 
 # ATT:   vucomxsd  -1024(%rdx), %xmm22
 # INTEL: vucomxsd xmm22, qword ptr [rdx - 1024]
-0x62,0xe1,0xfe,0x08,0x2e,0x72,0x80
+0x62,0xe1,0xff,0x08,0x2e,0x72,0x80
 
 # ATT:   vucomxsh %xmm23, %xmm22
 # INTEL: vucomxsh xmm22, xmm23
-0x62,0xa5,0x7f,0x08,0x2e,0xf7
+0x62,0xa5,0x7e,0x08,0x2e,0xf7
 
 # ATT:   vucomxsh {sae}, %xmm23, %xmm22
 # INTEL: vucomxsh xmm22, xmm23, {sae}
-0x62,0xa5,0x7f,0x18,0x2e,0xf7
+0x62,0xa5,0x7e,0x18,0x2e,0xf7
 
 # ATT:   vucomxsh  268435456(%rbp,%r14,8), %xmm22
 # INTEL: vucomxsh xmm22, word ptr [rbp + 8*r14 + 268435456]
-0x62,0xa5,0x7f,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10
+0x62,0xa5,0x7e,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10
 
 # ATT:   vucomxsh  291(%r8,%rax,4), %xmm22
 # INTEL: vucomxsh xmm22, word ptr [r8 + 4*rax + 291]
-0x62,0xc5,0x7f,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00
+0x62,0xc5,0x7e,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00
 
 # ATT:   vucomxsh  (%rip), %xmm22
 # INTEL: vucomxsh xmm22, word ptr [rip]
-0x62,0xe5,0x7f,0x08,0x2e,0x35,0x00,0x00,0x00,0x00
+0x62,0xe5,0x7e,0x08,0x2e,0x35,0x00,0x00,0x00,0x00
 
 # ATT:   vucomxsh  -64(,%rbp,2), %xmm22
 # INTEL: vucomxsh xmm22, word ptr [2*rbp - 64]
-0x62,0xe5,0x7f,0x08,0x2e,0x34,0x6d,0xc0,0xff,0xff,0xff
+0x62,0xe5,0x7e,0x08,0x2e,0x34,0x6d,0xc0,0xff,0xff,0xff
 
 # ATT:   vucomxsh  254(%rcx), %xmm22
 # INTEL: vucomxsh xmm22, word ptr [rcx + 254]
-0x62,0xe5,0x7f,0x08,0x2e,0x71,0x7f
+0x62,0xe5,0x7e,0x08,0x2e,0x71,0x7f
 
 # ATT:   vucomxsh  -256(%rdx), %xmm22
 # INTEL: vucomxsh xmm22, word ptr [rdx - 256]
-0x62,0xe5,0x7f,0x08,0x2e,0x72,0x80
+0x62,0xe5,0x7e,0x08,0x2e,0x72,0x80
 
 # ATT:   vucomxss %xmm23, %xmm22
 # INTEL: vucomxss xmm22, xmm23
-0x62,0xa1,0x7f,0x08,0x2e,0xf7
+0x62,0xa1,0x7e,0x08,0x2e,0xf7
 
 # ATT:   vucomxss {sae}, %xmm23, %xmm22
 # INTEL: vucomxss xmm22, xmm23, {sae}
-0x62,0xa1,0x7f,0x18,0x2e,0xf7
+0x62,0xa1,0x7e,0x18,0x2e,0xf7
 
 # ATT:   vucomxss  268435456(%rbp,%r14,8), %xmm22
 # INTEL: vucomxss xmm22, dword ptr [rbp + 8*r14 + 268435456]
-0x62,0xa1,0x7f,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10
+0x62,0xa1,0x7e,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10
 
 # ATT:   vucomxss  291(%r8,%rax,4), %xmm22
 # INTEL: vucomxss xmm22, dword ptr [r8 + 4*rax + 291]
-0x62,0xc1,0x7f,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00
+0x62,0xc1,0x7e,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00
 
 # ATT:   vucomxss  (%rip), %xmm22
 # INTEL: vucomxss xmm22, dword ptr [rip]
-0x62,0xe1,0x7f,0x08,0x2e,0x35,0x00,0x00,0x00,0x00
+0x62,0xe1,0x7e,0x08,0x2e,0x35,0x00,0x00,0x00,0x00
 
 # ATT:   vucomxss  -128(,%rbp,2), %xmm22
 # INTEL: vucomxss xmm22, dword ptr [2*rbp - 128]
-0x62,0xe1,0x7f,0x08,0x2e,0x34,0x6d,0x80,0xff,0xff,0xff
+0x62,0xe1,0x7e,0x08,0x2e,0x34,0x6d,0x80,0xff,0xff,0xff
 
 # ATT:   vucomxss  508(%rcx), %xmm22
 # INTEL: vucomxss xmm22, dword ptr [rcx + 508]
-0x62,0xe1,0x7f,0x08,0x2e,0x71,0x7f
+0x62,0xe1,0x7e,0x08,0x2e,0x71,0x7f
 
 # ATT:   vucomxss  -512(%rdx), %xmm22
 # INTEL: vucomxss xmm22, dword ptr [rdx - 512]
-0x62,0xe1,0x7f,0x08,0x2e,0x72,0x80
+0x62,0xe1,0x7e,0x08,0x2e,0x72,0x80
 

diff  --git a/llvm/test/MC/X86/avx10.2-bf16-32-att.s b/llvm/test/MC/X86/avx10.2-bf16-32-att.s
index e1e82623d838c..88433d7a3411a 100644
--- a/llvm/test/MC/X86/avx10.2-bf16-32-att.s
+++ b/llvm/test/MC/X86/avx10.2-bf16-32-att.s
@@ -1717,111 +1717,111 @@
           vfpclassbf16  $123, -256(%edx){1to32}, %k5 {%k7}
 
 // CHECK: vgetexpbf16 %xmm3, %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x08,0x42,0xd3]
           vgetexpbf16 %xmm3, %xmm2
 
 // CHECK: vgetexpbf16 %xmm3, %xmm2 {%k7}
-// CHECK: encoding: [0x62,0xf5,0x7d,0x0f,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x0f,0x42,0xd3]
           vgetexpbf16 %xmm3, %xmm2 {%k7}
 
 // CHECK: vgetexpbf16 %xmm3, %xmm2 {%k7} {z}
-// CHECK: encoding: [0x62,0xf5,0x7d,0x8f,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x8f,0x42,0xd3]
           vgetexpbf16 %xmm3, %xmm2 {%k7} {z}
 
 // CHECK: vgetexpbf16 %zmm3, %zmm2
-// CHECK: encoding: [0x62,0xf5,0x7d,0x48,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x48,0x42,0xd3]
           vgetexpbf16 %zmm3, %zmm2
 
 // CHECK: vgetexpbf16 %zmm3, %zmm2 {%k7}
-// CHECK: encoding: [0x62,0xf5,0x7d,0x4f,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x4f,0x42,0xd3]
           vgetexpbf16 %zmm3, %zmm2 {%k7}
 
 // CHECK: vgetexpbf16 %zmm3, %zmm2 {%k7} {z}
-// CHECK: encoding: [0x62,0xf5,0x7d,0xcf,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0xcf,0x42,0xd3]
           vgetexpbf16 %zmm3, %zmm2 {%k7} {z}
 
 // CHECK: vgetexpbf16 %ymm3, %ymm2
-// CHECK: encoding: [0x62,0xf5,0x7d,0x28,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x28,0x42,0xd3]
           vgetexpbf16 %ymm3, %ymm2
 
 // CHECK: vgetexpbf16 %ymm3, %ymm2 {%k7}
-// CHECK: encoding: [0x62,0xf5,0x7d,0x2f,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x2f,0x42,0xd3]
           vgetexpbf16 %ymm3, %ymm2 {%k7}
 
 // CHECK: vgetexpbf16 %ymm3, %ymm2 {%k7} {z}
-// CHECK: encoding: [0x62,0xf5,0x7d,0xaf,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0xaf,0x42,0xd3]
           vgetexpbf16 %ymm3, %ymm2 {%k7} {z}
 
 // CHECK: vgetexpbf16  268435456(%esp,%esi,8), %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x42,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x08,0x42,0x94,0xf4,0x00,0x00,0x00,0x10]
           vgetexpbf16  268435456(%esp,%esi,8), %xmm2
 
 // CHECK: vgetexpbf16  291(%edi,%eax,4), %xmm2 {%k7}
-// CHECK: encoding: [0x62,0xf5,0x7d,0x0f,0x42,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x0f,0x42,0x94,0x87,0x23,0x01,0x00,0x00]
           vgetexpbf16  291(%edi,%eax,4), %xmm2 {%k7}
 
 // CHECK: vgetexpbf16  (%eax){1to8}, %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7d,0x18,0x42,0x10]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x18,0x42,0x10]
           vgetexpbf16  (%eax){1to8}, %xmm2
 
 // CHECK: vgetexpbf16  -512(,%ebp,2), %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x42,0x14,0x6d,0x00,0xfe,0xff,0xff]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x08,0x42,0x14,0x6d,0x00,0xfe,0xff,0xff]
           vgetexpbf16  -512(,%ebp,2), %xmm2
 
 // CHECK: vgetexpbf16  2032(%ecx), %xmm2 {%k7} {z}
-// CHECK: encoding: [0x62,0xf5,0x7d,0x8f,0x42,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x8f,0x42,0x51,0x7f]
           vgetexpbf16  2032(%ecx), %xmm2 {%k7} {z}
 
 // CHECK: vgetexpbf16  -256(%edx){1to8}, %xmm2 {%k7} {z}
-// CHECK: encoding: [0x62,0xf5,0x7d,0x9f,0x42,0x52,0x80]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x9f,0x42,0x52,0x80]
           vgetexpbf16  -256(%edx){1to8}, %xmm2 {%k7} {z}
 
 // CHECK: vgetexpbf16  268435456(%esp,%esi,8), %ymm2
-// CHECK: encoding: [0x62,0xf5,0x7d,0x28,0x42,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x28,0x42,0x94,0xf4,0x00,0x00,0x00,0x10]
           vgetexpbf16  268435456(%esp,%esi,8), %ymm2
 
 // CHECK: vgetexpbf16  291(%edi,%eax,4), %ymm2 {%k7}
-// CHECK: encoding: [0x62,0xf5,0x7d,0x2f,0x42,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x2f,0x42,0x94,0x87,0x23,0x01,0x00,0x00]
           vgetexpbf16  291(%edi,%eax,4), %ymm2 {%k7}
 
 // CHECK: vgetexpbf16  (%eax){1to16}, %ymm2
-// CHECK: encoding: [0x62,0xf5,0x7d,0x38,0x42,0x10]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x38,0x42,0x10]
           vgetexpbf16  (%eax){1to16}, %ymm2
 
 // CHECK: vgetexpbf16  -1024(,%ebp,2), %ymm2
-// CHECK: encoding: [0x62,0xf5,0x7d,0x28,0x42,0x14,0x6d,0x00,0xfc,0xff,0xff]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x28,0x42,0x14,0x6d,0x00,0xfc,0xff,0xff]
           vgetexpbf16  -1024(,%ebp,2), %ymm2
 
 // CHECK: vgetexpbf16  4064(%ecx), %ymm2 {%k7} {z}
-// CHECK: encoding: [0x62,0xf5,0x7d,0xaf,0x42,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf6,0x7c,0xaf,0x42,0x51,0x7f]
           vgetexpbf16  4064(%ecx), %ymm2 {%k7} {z}
 
 // CHECK: vgetexpbf16  -256(%edx){1to16}, %ymm2 {%k7} {z}
-// CHECK: encoding: [0x62,0xf5,0x7d,0xbf,0x42,0x52,0x80]
+// CHECK: encoding: [0x62,0xf6,0x7c,0xbf,0x42,0x52,0x80]
           vgetexpbf16  -256(%edx){1to16}, %ymm2 {%k7} {z}
 
 // CHECK: vgetexpbf16  268435456(%esp,%esi,8), %zmm2
-// CHECK: encoding: [0x62,0xf5,0x7d,0x48,0x42,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x48,0x42,0x94,0xf4,0x00,0x00,0x00,0x10]
           vgetexpbf16  268435456(%esp,%esi,8), %zmm2
 
 // CHECK: vgetexpbf16  291(%edi,%eax,4), %zmm2 {%k7}
-// CHECK: encoding: [0x62,0xf5,0x7d,0x4f,0x42,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x4f,0x42,0x94,0x87,0x23,0x01,0x00,0x00]
           vgetexpbf16  291(%edi,%eax,4), %zmm2 {%k7}
 
 // CHECK: vgetexpbf16  (%eax){1to32}, %zmm2
-// CHECK: encoding: [0x62,0xf5,0x7d,0x58,0x42,0x10]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x58,0x42,0x10]
           vgetexpbf16  (%eax){1to32}, %zmm2
 
 // CHECK: vgetexpbf16  -2048(,%ebp,2), %zmm2
-// CHECK: encoding: [0x62,0xf5,0x7d,0x48,0x42,0x14,0x6d,0x00,0xf8,0xff,0xff]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x48,0x42,0x14,0x6d,0x00,0xf8,0xff,0xff]
           vgetexpbf16  -2048(,%ebp,2), %zmm2
 
 // CHECK: vgetexpbf16  8128(%ecx), %zmm2 {%k7} {z}
-// CHECK: encoding: [0x62,0xf5,0x7d,0xcf,0x42,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf6,0x7c,0xcf,0x42,0x51,0x7f]
           vgetexpbf16  8128(%ecx), %zmm2 {%k7} {z}
 
 // CHECK: vgetexpbf16  -256(%edx){1to32}, %zmm2 {%k7} {z}
-// CHECK: encoding: [0x62,0xf5,0x7d,0xdf,0x42,0x52,0x80]
+// CHECK: encoding: [0x62,0xf6,0x7c,0xdf,0x42,0x52,0x80]
           vgetexpbf16  -256(%edx){1to32}, %zmm2 {%k7} {z}
 
 // CHECK: vgetmantbf16 $123, %zmm3, %zmm2

diff  --git a/llvm/test/MC/X86/avx10.2-bf16-32-intel.s b/llvm/test/MC/X86/avx10.2-bf16-32-intel.s
index d2e9440ba9c34..7e1d0c305336a 100644
--- a/llvm/test/MC/X86/avx10.2-bf16-32-intel.s
+++ b/llvm/test/MC/X86/avx10.2-bf16-32-intel.s
@@ -1717,111 +1717,111 @@
           vfpclassbf16 k5 {k7}, word ptr [edx - 256]{1to32}, 123
 
 // CHECK: vgetexpbf16 xmm2, xmm3
-// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x08,0x42,0xd3]
           vgetexpbf16 xmm2, xmm3
 
 // CHECK: vgetexpbf16 xmm2 {k7}, xmm3
-// CHECK: encoding: [0x62,0xf5,0x7d,0x0f,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x0f,0x42,0xd3]
           vgetexpbf16 xmm2 {k7}, xmm3
 
 // CHECK: vgetexpbf16 xmm2 {k7} {z}, xmm3
-// CHECK: encoding: [0x62,0xf5,0x7d,0x8f,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x8f,0x42,0xd3]
           vgetexpbf16 xmm2 {k7} {z}, xmm3
 
 // CHECK: vgetexpbf16 zmm2, zmm3
-// CHECK: encoding: [0x62,0xf5,0x7d,0x48,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x48,0x42,0xd3]
           vgetexpbf16 zmm2, zmm3
 
 // CHECK: vgetexpbf16 zmm2 {k7}, zmm3
-// CHECK: encoding: [0x62,0xf5,0x7d,0x4f,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x4f,0x42,0xd3]
           vgetexpbf16 zmm2 {k7}, zmm3
 
 // CHECK: vgetexpbf16 zmm2 {k7} {z}, zmm3
-// CHECK: encoding: [0x62,0xf5,0x7d,0xcf,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0xcf,0x42,0xd3]
           vgetexpbf16 zmm2 {k7} {z}, zmm3
 
 // CHECK: vgetexpbf16 ymm2, ymm3
-// CHECK: encoding: [0x62,0xf5,0x7d,0x28,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x28,0x42,0xd3]
           vgetexpbf16 ymm2, ymm3
 
 // CHECK: vgetexpbf16 ymm2 {k7}, ymm3
-// CHECK: encoding: [0x62,0xf5,0x7d,0x2f,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x2f,0x42,0xd3]
           vgetexpbf16 ymm2 {k7}, ymm3
 
 // CHECK: vgetexpbf16 ymm2 {k7} {z}, ymm3
-// CHECK: encoding: [0x62,0xf5,0x7d,0xaf,0x42,0xd3]
+// CHECK: encoding: [0x62,0xf6,0x7c,0xaf,0x42,0xd3]
           vgetexpbf16 ymm2 {k7} {z}, ymm3
 
 // CHECK: vgetexpbf16 xmm2, xmmword ptr [esp + 8*esi + 268435456]
-// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x42,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x08,0x42,0x94,0xf4,0x00,0x00,0x00,0x10]
           vgetexpbf16 xmm2, xmmword ptr [esp + 8*esi + 268435456]
 
 // CHECK: vgetexpbf16 xmm2 {k7}, xmmword ptr [edi + 4*eax + 291]
-// CHECK: encoding: [0x62,0xf5,0x7d,0x0f,0x42,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x0f,0x42,0x94,0x87,0x23,0x01,0x00,0x00]
           vgetexpbf16 xmm2 {k7}, xmmword ptr [edi + 4*eax + 291]
 
 // CHECK: vgetexpbf16 xmm2, word ptr [eax]{1to8}
-// CHECK: encoding: [0x62,0xf5,0x7d,0x18,0x42,0x10]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x18,0x42,0x10]
           vgetexpbf16 xmm2, word ptr [eax]{1to8}
 
 // CHECK: vgetexpbf16 xmm2, xmmword ptr [2*ebp - 512]
-// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x42,0x14,0x6d,0x00,0xfe,0xff,0xff]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x08,0x42,0x14,0x6d,0x00,0xfe,0xff,0xff]
           vgetexpbf16 xmm2, xmmword ptr [2*ebp - 512]
 
 // CHECK: vgetexpbf16 xmm2 {k7} {z}, xmmword ptr [ecx + 2032]
-// CHECK: encoding: [0x62,0xf5,0x7d,0x8f,0x42,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x8f,0x42,0x51,0x7f]
           vgetexpbf16 xmm2 {k7} {z}, xmmword ptr [ecx + 2032]
 
 // CHECK: vgetexpbf16 xmm2 {k7} {z}, word ptr [edx - 256]{1to8}
-// CHECK: encoding: [0x62,0xf5,0x7d,0x9f,0x42,0x52,0x80]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x9f,0x42,0x52,0x80]
           vgetexpbf16 xmm2 {k7} {z}, word ptr [edx - 256]{1to8}
 
 // CHECK: vgetexpbf16 ymm2, ymmword ptr [esp + 8*esi + 268435456]
-// CHECK: encoding: [0x62,0xf5,0x7d,0x28,0x42,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x28,0x42,0x94,0xf4,0x00,0x00,0x00,0x10]
           vgetexpbf16 ymm2, ymmword ptr [esp + 8*esi + 268435456]
 
 // CHECK: vgetexpbf16 ymm2 {k7}, ymmword ptr [edi + 4*eax + 291]
-// CHECK: encoding: [0x62,0xf5,0x7d,0x2f,0x42,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x2f,0x42,0x94,0x87,0x23,0x01,0x00,0x00]
           vgetexpbf16 ymm2 {k7}, ymmword ptr [edi + 4*eax + 291]
 
 // CHECK: vgetexpbf16 ymm2, word ptr [eax]{1to16}
-// CHECK: encoding: [0x62,0xf5,0x7d,0x38,0x42,0x10]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x38,0x42,0x10]
           vgetexpbf16 ymm2, word ptr [eax]{1to16}
 
 // CHECK: vgetexpbf16 ymm2, ymmword ptr [2*ebp - 1024]
-// CHECK: encoding: [0x62,0xf5,0x7d,0x28,0x42,0x14,0x6d,0x00,0xfc,0xff,0xff]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x28,0x42,0x14,0x6d,0x00,0xfc,0xff,0xff]
           vgetexpbf16 ymm2, ymmword ptr [2*ebp - 1024]
 
 // CHECK: vgetexpbf16 ymm2 {k7} {z}, ymmword ptr [ecx + 4064]
-// CHECK: encoding: [0x62,0xf5,0x7d,0xaf,0x42,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf6,0x7c,0xaf,0x42,0x51,0x7f]
           vgetexpbf16 ymm2 {k7} {z}, ymmword ptr [ecx + 4064]
 
 // CHECK: vgetexpbf16 ymm2 {k7} {z}, word ptr [edx - 256]{1to16}
-// CHECK: encoding: [0x62,0xf5,0x7d,0xbf,0x42,0x52,0x80]
+// CHECK: encoding: [0x62,0xf6,0x7c,0xbf,0x42,0x52,0x80]
           vgetexpbf16 ymm2 {k7} {z}, word ptr [edx - 256]{1to16}
 
 // CHECK: vgetexpbf16 zmm2, zmmword ptr [esp + 8*esi + 268435456]
-// CHECK: encoding: [0x62,0xf5,0x7d,0x48,0x42,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x48,0x42,0x94,0xf4,0x00,0x00,0x00,0x10]
           vgetexpbf16 zmm2, zmmword ptr [esp + 8*esi + 268435456]
 
 // CHECK: vgetexpbf16 zmm2 {k7}, zmmword ptr [edi + 4*eax + 291]
-// CHECK: encoding: [0x62,0xf5,0x7d,0x4f,0x42,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x4f,0x42,0x94,0x87,0x23,0x01,0x00,0x00]
           vgetexpbf16 zmm2 {k7}, zmmword ptr [edi + 4*eax + 291]
 
 // CHECK: vgetexpbf16 zmm2, word ptr [eax]{1to32}
-// CHECK: encoding: [0x62,0xf5,0x7d,0x58,0x42,0x10]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x58,0x42,0x10]
           vgetexpbf16 zmm2, word ptr [eax]{1to32}
 
 // CHECK: vgetexpbf16 zmm2, zmmword ptr [2*ebp - 2048]
-// CHECK: encoding: [0x62,0xf5,0x7d,0x48,0x42,0x14,0x6d,0x00,0xf8,0xff,0xff]
+// CHECK: encoding: [0x62,0xf6,0x7c,0x48,0x42,0x14,0x6d,0x00,0xf8,0xff,0xff]
           vgetexpbf16 zmm2, zmmword ptr [2*ebp - 2048]
 
 // CHECK: vgetexpbf16 zmm2 {k7} {z}, zmmword ptr [ecx + 8128]
-// CHECK: encoding: [0x62,0xf5,0x7d,0xcf,0x42,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf6,0x7c,0xcf,0x42,0x51,0x7f]
           vgetexpbf16 zmm2 {k7} {z}, zmmword ptr [ecx + 8128]
 
 // CHECK: vgetexpbf16 zmm2 {k7} {z}, word ptr [edx - 256]{1to32}
-// CHECK: encoding: [0x62,0xf5,0x7d,0xdf,0x42,0x52,0x80]
+// CHECK: encoding: [0x62,0xf6,0x7c,0xdf,0x42,0x52,0x80]
           vgetexpbf16 zmm2 {k7} {z}, word ptr [edx - 256]{1to32}
 
 // CHECK: vgetmantbf16 zmm2, zmm3, 123

diff  --git a/llvm/test/MC/X86/avx10.2-bf16-64-att.s b/llvm/test/MC/X86/avx10.2-bf16-64-att.s
index 67d6f3a531dfe..0eb10fbf6d86f 100644
--- a/llvm/test/MC/X86/avx10.2-bf16-64-att.s
+++ b/llvm/test/MC/X86/avx10.2-bf16-64-att.s
@@ -1717,111 +1717,111 @@
           vfpclassbf16  $123, -256(%rdx){1to32}, %k5 {%k7}
 
 // CHECK: vgetexpbf16 %xmm23, %xmm22
-// CHECK: encoding: [0x62,0xa5,0x7d,0x08,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x08,0x42,0xf7]
           vgetexpbf16 %xmm23, %xmm22
 
 // CHECK: vgetexpbf16 %xmm23, %xmm22 {%k7}
-// CHECK: encoding: [0x62,0xa5,0x7d,0x0f,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x0f,0x42,0xf7]
           vgetexpbf16 %xmm23, %xmm22 {%k7}
 
 // CHECK: vgetexpbf16 %xmm23, %xmm22 {%k7} {z}
-// CHECK: encoding: [0x62,0xa5,0x7d,0x8f,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x8f,0x42,0xf7]
           vgetexpbf16 %xmm23, %xmm22 {%k7} {z}
 
 // CHECK: vgetexpbf16 %zmm23, %zmm22
-// CHECK: encoding: [0x62,0xa5,0x7d,0x48,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x48,0x42,0xf7]
           vgetexpbf16 %zmm23, %zmm22
 
 // CHECK: vgetexpbf16 %zmm23, %zmm22 {%k7}
-// CHECK: encoding: [0x62,0xa5,0x7d,0x4f,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x4f,0x42,0xf7]
           vgetexpbf16 %zmm23, %zmm22 {%k7}
 
 // CHECK: vgetexpbf16 %zmm23, %zmm22 {%k7} {z}
-// CHECK: encoding: [0x62,0xa5,0x7d,0xcf,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0xcf,0x42,0xf7]
           vgetexpbf16 %zmm23, %zmm22 {%k7} {z}
 
 // CHECK: vgetexpbf16 %ymm23, %ymm22
-// CHECK: encoding: [0x62,0xa5,0x7d,0x28,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x28,0x42,0xf7]
           vgetexpbf16 %ymm23, %ymm22
 
 // CHECK: vgetexpbf16 %ymm23, %ymm22 {%k7}
-// CHECK: encoding: [0x62,0xa5,0x7d,0x2f,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x2f,0x42,0xf7]
           vgetexpbf16 %ymm23, %ymm22 {%k7}
 
 // CHECK: vgetexpbf16 %ymm23, %ymm22 {%k7} {z}
-// CHECK: encoding: [0x62,0xa5,0x7d,0xaf,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0xaf,0x42,0xf7]
           vgetexpbf16 %ymm23, %ymm22 {%k7} {z}
 
 // CHECK: vgetexpbf16  268435456(%rbp,%r14,8), %xmm22
-// CHECK: encoding: [0x62,0xa5,0x7d,0x08,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x08,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vgetexpbf16  268435456(%rbp,%r14,8), %xmm22
 
 // CHECK: vgetexpbf16  291(%r8,%rax,4), %xmm22 {%k7}
-// CHECK: encoding: [0x62,0xc5,0x7d,0x0f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc6,0x7c,0x0f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00]
           vgetexpbf16  291(%r8,%rax,4), %xmm22 {%k7}
 
 // CHECK: vgetexpbf16  (%rip){1to8}, %xmm22
-// CHECK: encoding: [0x62,0xe5,0x7d,0x18,0x42,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x18,0x42,0x35,0x00,0x00,0x00,0x00]
           vgetexpbf16  (%rip){1to8}, %xmm22
 
 // CHECK: vgetexpbf16  -512(,%rbp,2), %xmm22
-// CHECK: encoding: [0x62,0xe5,0x7d,0x08,0x42,0x34,0x6d,0x00,0xfe,0xff,0xff]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x08,0x42,0x34,0x6d,0x00,0xfe,0xff,0xff]
           vgetexpbf16  -512(,%rbp,2), %xmm22
 
 // CHECK: vgetexpbf16  2032(%rcx), %xmm22 {%k7} {z}
-// CHECK: encoding: [0x62,0xe5,0x7d,0x8f,0x42,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x8f,0x42,0x71,0x7f]
           vgetexpbf16  2032(%rcx), %xmm22 {%k7} {z}
 
 // CHECK: vgetexpbf16  -256(%rdx){1to8}, %xmm22 {%k7} {z}
-// CHECK: encoding: [0x62,0xe5,0x7d,0x9f,0x42,0x72,0x80]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x9f,0x42,0x72,0x80]
           vgetexpbf16  -256(%rdx){1to8}, %xmm22 {%k7} {z}
 
 // CHECK: vgetexpbf16  268435456(%rbp,%r14,8), %ymm22
-// CHECK: encoding: [0x62,0xa5,0x7d,0x28,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x28,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vgetexpbf16  268435456(%rbp,%r14,8), %ymm22
 
 // CHECK: vgetexpbf16  291(%r8,%rax,4), %ymm22 {%k7}
-// CHECK: encoding: [0x62,0xc5,0x7d,0x2f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc6,0x7c,0x2f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00]
           vgetexpbf16  291(%r8,%rax,4), %ymm22 {%k7}
 
 // CHECK: vgetexpbf16  (%rip){1to16}, %ymm22
-// CHECK: encoding: [0x62,0xe5,0x7d,0x38,0x42,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x38,0x42,0x35,0x00,0x00,0x00,0x00]
           vgetexpbf16  (%rip){1to16}, %ymm22
 
 // CHECK: vgetexpbf16  -1024(,%rbp,2), %ymm22
-// CHECK: encoding: [0x62,0xe5,0x7d,0x28,0x42,0x34,0x6d,0x00,0xfc,0xff,0xff]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x28,0x42,0x34,0x6d,0x00,0xfc,0xff,0xff]
           vgetexpbf16  -1024(,%rbp,2), %ymm22
 
 // CHECK: vgetexpbf16  4064(%rcx), %ymm22 {%k7} {z}
-// CHECK: encoding: [0x62,0xe5,0x7d,0xaf,0x42,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe6,0x7c,0xaf,0x42,0x71,0x7f]
           vgetexpbf16  4064(%rcx), %ymm22 {%k7} {z}
 
 // CHECK: vgetexpbf16  -256(%rdx){1to16}, %ymm22 {%k7} {z}
-// CHECK: encoding: [0x62,0xe5,0x7d,0xbf,0x42,0x72,0x80]
+// CHECK: encoding: [0x62,0xe6,0x7c,0xbf,0x42,0x72,0x80]
           vgetexpbf16  -256(%rdx){1to16}, %ymm22 {%k7} {z}
 
 // CHECK: vgetexpbf16  268435456(%rbp,%r14,8), %zmm22
-// CHECK: encoding: [0x62,0xa5,0x7d,0x48,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x48,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vgetexpbf16  268435456(%rbp,%r14,8), %zmm22
 
 // CHECK: vgetexpbf16  291(%r8,%rax,4), %zmm22 {%k7}
-// CHECK: encoding: [0x62,0xc5,0x7d,0x4f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc6,0x7c,0x4f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00]
           vgetexpbf16  291(%r8,%rax,4), %zmm22 {%k7}
 
 // CHECK: vgetexpbf16  (%rip){1to32}, %zmm22
-// CHECK: encoding: [0x62,0xe5,0x7d,0x58,0x42,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x58,0x42,0x35,0x00,0x00,0x00,0x00]
           vgetexpbf16  (%rip){1to32}, %zmm22
 
 // CHECK: vgetexpbf16  -2048(,%rbp,2), %zmm22
-// CHECK: encoding: [0x62,0xe5,0x7d,0x48,0x42,0x34,0x6d,0x00,0xf8,0xff,0xff]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x48,0x42,0x34,0x6d,0x00,0xf8,0xff,0xff]
           vgetexpbf16  -2048(,%rbp,2), %zmm22
 
 // CHECK: vgetexpbf16  8128(%rcx), %zmm22 {%k7} {z}
-// CHECK: encoding: [0x62,0xe5,0x7d,0xcf,0x42,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe6,0x7c,0xcf,0x42,0x71,0x7f]
           vgetexpbf16  8128(%rcx), %zmm22 {%k7} {z}
 
 // CHECK: vgetexpbf16  -256(%rdx){1to32}, %zmm22 {%k7} {z}
-// CHECK: encoding: [0x62,0xe5,0x7d,0xdf,0x42,0x72,0x80]
+// CHECK: encoding: [0x62,0xe6,0x7c,0xdf,0x42,0x72,0x80]
           vgetexpbf16  -256(%rdx){1to32}, %zmm22 {%k7} {z}
 
 // CHECK: vgetmantbf16 $123, %zmm23, %zmm22

diff  --git a/llvm/test/MC/X86/avx10.2-bf16-64-intel.s b/llvm/test/MC/X86/avx10.2-bf16-64-intel.s
index d1727c586e240..b0787a60c7144 100644
--- a/llvm/test/MC/X86/avx10.2-bf16-64-intel.s
+++ b/llvm/test/MC/X86/avx10.2-bf16-64-intel.s
@@ -1717,111 +1717,111 @@
           vfpclassbf16 k5 {k7}, word ptr [rdx - 256]{1to32}, 123
 
 // CHECK: vgetexpbf16 xmm22, xmm23
-// CHECK: encoding: [0x62,0xa5,0x7d,0x08,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x08,0x42,0xf7]
           vgetexpbf16 xmm22, xmm23
 
 // CHECK: vgetexpbf16 xmm22 {k7}, xmm23
-// CHECK: encoding: [0x62,0xa5,0x7d,0x0f,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x0f,0x42,0xf7]
           vgetexpbf16 xmm22 {k7}, xmm23
 
 // CHECK: vgetexpbf16 xmm22 {k7} {z}, xmm23
-// CHECK: encoding: [0x62,0xa5,0x7d,0x8f,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x8f,0x42,0xf7]
           vgetexpbf16 xmm22 {k7} {z}, xmm23
 
 // CHECK: vgetexpbf16 zmm22, zmm23
-// CHECK: encoding: [0x62,0xa5,0x7d,0x48,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x48,0x42,0xf7]
           vgetexpbf16 zmm22, zmm23
 
 // CHECK: vgetexpbf16 zmm22 {k7}, zmm23
-// CHECK: encoding: [0x62,0xa5,0x7d,0x4f,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x4f,0x42,0xf7]
           vgetexpbf16 zmm22 {k7}, zmm23
 
 // CHECK: vgetexpbf16 zmm22 {k7} {z}, zmm23
-// CHECK: encoding: [0x62,0xa5,0x7d,0xcf,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0xcf,0x42,0xf7]
           vgetexpbf16 zmm22 {k7} {z}, zmm23
 
 // CHECK: vgetexpbf16 ymm22, ymm23
-// CHECK: encoding: [0x62,0xa5,0x7d,0x28,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x28,0x42,0xf7]
           vgetexpbf16 ymm22, ymm23
 
 // CHECK: vgetexpbf16 ymm22 {k7}, ymm23
-// CHECK: encoding: [0x62,0xa5,0x7d,0x2f,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x2f,0x42,0xf7]
           vgetexpbf16 ymm22 {k7}, ymm23
 
 // CHECK: vgetexpbf16 ymm22 {k7} {z}, ymm23
-// CHECK: encoding: [0x62,0xa5,0x7d,0xaf,0x42,0xf7]
+// CHECK: encoding: [0x62,0xa6,0x7c,0xaf,0x42,0xf7]
           vgetexpbf16 ymm22 {k7} {z}, ymm23
 
 // CHECK: vgetexpbf16 xmm22, xmmword ptr [rbp + 8*r14 + 268435456]
-// CHECK: encoding: [0x62,0xa5,0x7d,0x08,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x08,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vgetexpbf16 xmm22, xmmword ptr [rbp + 8*r14 + 268435456]
 
 // CHECK: vgetexpbf16 xmm22 {k7}, xmmword ptr [r8 + 4*rax + 291]
-// CHECK: encoding: [0x62,0xc5,0x7d,0x0f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc6,0x7c,0x0f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00]
           vgetexpbf16 xmm22 {k7}, xmmword ptr [r8 + 4*rax + 291]
 
 // CHECK: vgetexpbf16 xmm22, word ptr [rip]{1to8}
-// CHECK: encoding: [0x62,0xe5,0x7d,0x18,0x42,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x18,0x42,0x35,0x00,0x00,0x00,0x00]
           vgetexpbf16 xmm22, word ptr [rip]{1to8}
 
 // CHECK: vgetexpbf16 xmm22, xmmword ptr [2*rbp - 512]
-// CHECK: encoding: [0x62,0xe5,0x7d,0x08,0x42,0x34,0x6d,0x00,0xfe,0xff,0xff]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x08,0x42,0x34,0x6d,0x00,0xfe,0xff,0xff]
           vgetexpbf16 xmm22, xmmword ptr [2*rbp - 512]
 
 // CHECK: vgetexpbf16 xmm22 {k7} {z}, xmmword ptr [rcx + 2032]
-// CHECK: encoding: [0x62,0xe5,0x7d,0x8f,0x42,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x8f,0x42,0x71,0x7f]
           vgetexpbf16 xmm22 {k7} {z}, xmmword ptr [rcx + 2032]
 
 // CHECK: vgetexpbf16 xmm22 {k7} {z}, word ptr [rdx - 256]{1to8}
-// CHECK: encoding: [0x62,0xe5,0x7d,0x9f,0x42,0x72,0x80]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x9f,0x42,0x72,0x80]
           vgetexpbf16 xmm22 {k7} {z}, word ptr [rdx - 256]{1to8}
 
 // CHECK: vgetexpbf16 ymm22, ymmword ptr [rbp + 8*r14 + 268435456]
-// CHECK: encoding: [0x62,0xa5,0x7d,0x28,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x28,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vgetexpbf16 ymm22, ymmword ptr [rbp + 8*r14 + 268435456]
 
 // CHECK: vgetexpbf16 ymm22 {k7}, ymmword ptr [r8 + 4*rax + 291]
-// CHECK: encoding: [0x62,0xc5,0x7d,0x2f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc6,0x7c,0x2f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00]
           vgetexpbf16 ymm22 {k7}, ymmword ptr [r8 + 4*rax + 291]
 
 // CHECK: vgetexpbf16 ymm22, word ptr [rip]{1to16}
-// CHECK: encoding: [0x62,0xe5,0x7d,0x38,0x42,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x38,0x42,0x35,0x00,0x00,0x00,0x00]
           vgetexpbf16 ymm22, word ptr [rip]{1to16}
 
 // CHECK: vgetexpbf16 ymm22, ymmword ptr [2*rbp - 1024]
-// CHECK: encoding: [0x62,0xe5,0x7d,0x28,0x42,0x34,0x6d,0x00,0xfc,0xff,0xff]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x28,0x42,0x34,0x6d,0x00,0xfc,0xff,0xff]
           vgetexpbf16 ymm22, ymmword ptr [2*rbp - 1024]
 
 // CHECK: vgetexpbf16 ymm22 {k7} {z}, ymmword ptr [rcx + 4064]
-// CHECK: encoding: [0x62,0xe5,0x7d,0xaf,0x42,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe6,0x7c,0xaf,0x42,0x71,0x7f]
           vgetexpbf16 ymm22 {k7} {z}, ymmword ptr [rcx + 4064]
 
 // CHECK: vgetexpbf16 ymm22 {k7} {z}, word ptr [rdx - 256]{1to16}
-// CHECK: encoding: [0x62,0xe5,0x7d,0xbf,0x42,0x72,0x80]
+// CHECK: encoding: [0x62,0xe6,0x7c,0xbf,0x42,0x72,0x80]
           vgetexpbf16 ymm22 {k7} {z}, word ptr [rdx - 256]{1to16}
 
 // CHECK: vgetexpbf16 zmm22, zmmword ptr [rbp + 8*r14 + 268435456]
-// CHECK: encoding: [0x62,0xa5,0x7d,0x48,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa6,0x7c,0x48,0x42,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vgetexpbf16 zmm22, zmmword ptr [rbp + 8*r14 + 268435456]
 
 // CHECK: vgetexpbf16 zmm22 {k7}, zmmword ptr [r8 + 4*rax + 291]
-// CHECK: encoding: [0x62,0xc5,0x7d,0x4f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc6,0x7c,0x4f,0x42,0xb4,0x80,0x23,0x01,0x00,0x00]
           vgetexpbf16 zmm22 {k7}, zmmword ptr [r8 + 4*rax + 291]
 
 // CHECK: vgetexpbf16 zmm22, word ptr [rip]{1to32}
-// CHECK: encoding: [0x62,0xe5,0x7d,0x58,0x42,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x58,0x42,0x35,0x00,0x00,0x00,0x00]
           vgetexpbf16 zmm22, word ptr [rip]{1to32}
 
 // CHECK: vgetexpbf16 zmm22, zmmword ptr [2*rbp - 2048]
-// CHECK: encoding: [0x62,0xe5,0x7d,0x48,0x42,0x34,0x6d,0x00,0xf8,0xff,0xff]
+// CHECK: encoding: [0x62,0xe6,0x7c,0x48,0x42,0x34,0x6d,0x00,0xf8,0xff,0xff]
           vgetexpbf16 zmm22, zmmword ptr [2*rbp - 2048]
 
 // CHECK: vgetexpbf16 zmm22 {k7} {z}, zmmword ptr [rcx + 8128]
-// CHECK: encoding: [0x62,0xe5,0x7d,0xcf,0x42,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe6,0x7c,0xcf,0x42,0x71,0x7f]
           vgetexpbf16 zmm22 {k7} {z}, zmmword ptr [rcx + 8128]
 
 // CHECK: vgetexpbf16 zmm22 {k7} {z}, word ptr [rdx - 256]{1to32}
-// CHECK: encoding: [0x62,0xe5,0x7d,0xdf,0x42,0x72,0x80]
+// CHECK: encoding: [0x62,0xe6,0x7c,0xdf,0x42,0x72,0x80]
           vgetexpbf16 zmm22 {k7} {z}, word ptr [rdx - 256]{1to32}
 
 // CHECK: vgetmantbf16 zmm22, zmm23, 123

diff  --git a/llvm/test/MC/X86/avx10.2-com-ef-32-att.s b/llvm/test/MC/X86/avx10.2-com-ef-32-att.s
index 8883bb3d6775a..5f91ec8370ef1 100644
--- a/llvm/test/MC/X86/avx10.2-com-ef-32-att.s
+++ b/llvm/test/MC/X86/avx10.2-com-ef-32-att.s
@@ -1,194 +1,194 @@
 // RUN: llvm-mc -triple i386 --show-encoding %s | FileCheck %s
 
 // CHECK: vcomxsd %xmm3, %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2f,0xd3]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0xd3]
           vcomxsd %xmm3, %xmm2
 
 // CHECK: vcomxsd {sae}, %xmm3, %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x18,0x2f,0xd3]
+// CHECK: encoding: [0x62,0xf1,0xff,0x18,0x2f,0xd3]
           vcomxsd {sae}, %xmm3, %xmm2
 
 // CHECK: vcomxsd  268435456(%esp,%esi,8), %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10]
           vcomxsd  268435456(%esp,%esi,8), %xmm2
 
 // CHECK: vcomxsd  291(%edi,%eax,4), %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00]
           vcomxsd  291(%edi,%eax,4), %xmm2
 
 // CHECK: vcomxsd  (%eax), %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2f,0x10]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x10]
           vcomxsd  (%eax), %xmm2
 
 // CHECK: vcomxsd  -256(,%ebp,2), %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2f,0x14,0x6d,0x00,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x14,0x6d,0x00,0xff,0xff,0xff]
           vcomxsd  -256(,%ebp,2), %xmm2
 
 // CHECK: vcomxsd  1016(%ecx), %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2f,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x51,0x7f]
           vcomxsd  1016(%ecx), %xmm2
 
 // CHECK: vcomxsd  -1024(%edx), %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2f,0x52,0x80]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x52,0x80]
           vcomxsd  -1024(%edx), %xmm2
 
 // CHECK: vcomxsh %xmm3, %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2f,0xd3]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0xd3]
           vcomxsh %xmm3, %xmm2
 
 // CHECK: vcomxsh {sae}, %xmm3, %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x18,0x2f,0xd3]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x18,0x2f,0xd3]
           vcomxsh {sae}, %xmm3, %xmm2
 
 // CHECK: vcomxsh  268435456(%esp,%esi,8), %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10]
           vcomxsh  268435456(%esp,%esi,8), %xmm2
 
 // CHECK: vcomxsh  291(%edi,%eax,4), %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00]
           vcomxsh  291(%edi,%eax,4), %xmm2
 
 // CHECK: vcomxsh  (%eax), %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2f,0x10]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x10]
           vcomxsh  (%eax), %xmm2
 
 // CHECK: vcomxsh  -64(,%ebp,2), %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2f,0x14,0x6d,0xc0,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x14,0x6d,0xc0,0xff,0xff,0xff]
           vcomxsh  -64(,%ebp,2), %xmm2
 
 // CHECK: vcomxsh  254(%ecx), %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2f,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x51,0x7f]
           vcomxsh  254(%ecx), %xmm2
 
 // CHECK: vcomxsh  -256(%edx), %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2f,0x52,0x80]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x52,0x80]
           vcomxsh  -256(%edx), %xmm2
 
 // CHECK: vcomxss %xmm3, %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2f,0xd3]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0xd3]
           vcomxss %xmm3, %xmm2
 
 // CHECK: vcomxss {sae}, %xmm3, %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x18,0x2f,0xd3]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x18,0x2f,0xd3]
           vcomxss {sae}, %xmm3, %xmm2
 
 // CHECK: vcomxss  268435456(%esp,%esi,8), %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10]
           vcomxss  268435456(%esp,%esi,8), %xmm2
 
 // CHECK: vcomxss  291(%edi,%eax,4), %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00]
           vcomxss  291(%edi,%eax,4), %xmm2
 
 // CHECK: vcomxss  (%eax), %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2f,0x10]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x10]
           vcomxss  (%eax), %xmm2
 
 // CHECK: vcomxss  -128(,%ebp,2), %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2f,0x14,0x6d,0x80,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x14,0x6d,0x80,0xff,0xff,0xff]
           vcomxss  -128(,%ebp,2), %xmm2
 
 // CHECK: vcomxss  508(%ecx), %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2f,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x51,0x7f]
           vcomxss  508(%ecx), %xmm2
 
 // CHECK: vcomxss  -512(%edx), %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2f,0x52,0x80]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x52,0x80]
           vcomxss  -512(%edx), %xmm2
 
 // CHECK: vucomxsd %xmm3, %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2e,0xd3]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0xd3]
           vucomxsd %xmm3, %xmm2
 
 // CHECK: vucomxsd {sae}, %xmm3, %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x18,0x2e,0xd3]
+// CHECK: encoding: [0x62,0xf1,0xff,0x18,0x2e,0xd3]
           vucomxsd {sae}, %xmm3, %xmm2
 
 // CHECK: vucomxsd  268435456(%esp,%esi,8), %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10]
           vucomxsd  268435456(%esp,%esi,8), %xmm2
 
 // CHECK: vucomxsd  291(%edi,%eax,4), %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00]
           vucomxsd  291(%edi,%eax,4), %xmm2
 
 // CHECK: vucomxsd  (%eax), %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2e,0x10]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x10]
           vucomxsd  (%eax), %xmm2
 
 // CHECK: vucomxsd  -256(,%ebp,2), %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2e,0x14,0x6d,0x00,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x14,0x6d,0x00,0xff,0xff,0xff]
           vucomxsd  -256(,%ebp,2), %xmm2
 
 // CHECK: vucomxsd  1016(%ecx), %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2e,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x51,0x7f]
           vucomxsd  1016(%ecx), %xmm2
 
 // CHECK: vucomxsd  -1024(%edx), %xmm2
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2e,0x52,0x80]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x52,0x80]
           vucomxsd  -1024(%edx), %xmm2
 
 // CHECK: vucomxsh %xmm3, %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2e,0xd3]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0xd3]
           vucomxsh %xmm3, %xmm2
 
 // CHECK: vucomxsh {sae}, %xmm3, %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x18,0x2e,0xd3]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x18,0x2e,0xd3]
           vucomxsh {sae}, %xmm3, %xmm2
 
 // CHECK: vucomxsh  268435456(%esp,%esi,8), %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10]
           vucomxsh  268435456(%esp,%esi,8), %xmm2
 
 // CHECK: vucomxsh  291(%edi,%eax,4), %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00]
           vucomxsh  291(%edi,%eax,4), %xmm2
 
 // CHECK: vucomxsh  (%eax), %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2e,0x10]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x10]
           vucomxsh  (%eax), %xmm2
 
 // CHECK: vucomxsh  -64(,%ebp,2), %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2e,0x14,0x6d,0xc0,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x14,0x6d,0xc0,0xff,0xff,0xff]
           vucomxsh  -64(,%ebp,2), %xmm2
 
 // CHECK: vucomxsh  254(%ecx), %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2e,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x51,0x7f]
           vucomxsh  254(%ecx), %xmm2
 
 // CHECK: vucomxsh  -256(%edx), %xmm2
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2e,0x52,0x80]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x52,0x80]
           vucomxsh  -256(%edx), %xmm2
 
 // CHECK: vucomxss %xmm3, %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2e,0xd3]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0xd3]
           vucomxss %xmm3, %xmm2
 
 // CHECK: vucomxss {sae}, %xmm3, %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x18,0x2e,0xd3]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x18,0x2e,0xd3]
           vucomxss {sae}, %xmm3, %xmm2
 
 // CHECK: vucomxss  268435456(%esp,%esi,8), %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10]
           vucomxss  268435456(%esp,%esi,8), %xmm2
 
 // CHECK: vucomxss  291(%edi,%eax,4), %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00]
           vucomxss  291(%edi,%eax,4), %xmm2
 
 // CHECK: vucomxss  (%eax), %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2e,0x10]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x10]
           vucomxss  (%eax), %xmm2
 
 // CHECK: vucomxss  -128(,%ebp,2), %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2e,0x14,0x6d,0x80,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x14,0x6d,0x80,0xff,0xff,0xff]
           vucomxss  -128(,%ebp,2), %xmm2
 
 // CHECK: vucomxss  508(%ecx), %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2e,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x51,0x7f]
           vucomxss  508(%ecx), %xmm2
 
 // CHECK: vucomxss  -512(%edx), %xmm2
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2e,0x52,0x80]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x52,0x80]
           vucomxss  -512(%edx), %xmm2
 

diff  --git a/llvm/test/MC/X86/avx10.2-com-ef-32-intel.s b/llvm/test/MC/X86/avx10.2-com-ef-32-intel.s
index 9ff0484db133c..7cbd4e9722ddb 100644
--- a/llvm/test/MC/X86/avx10.2-com-ef-32-intel.s
+++ b/llvm/test/MC/X86/avx10.2-com-ef-32-intel.s
@@ -1,194 +1,194 @@
 // RUN: llvm-mc -triple i386 -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s
 
 // CHECK: vcomxsd xmm2, xmm3
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2f,0xd3]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0xd3]
           vcomxsd xmm2, xmm3
 
 // CHECK: vcomxsd xmm2, xmm3, {sae}
-// CHECK: encoding: [0x62,0xf1,0xfe,0x18,0x2f,0xd3]
+// CHECK: encoding: [0x62,0xf1,0xff,0x18,0x2f,0xd3]
           vcomxsd xmm2, xmm3, {sae}
 
 // CHECK: vcomxsd xmm2, qword ptr [esp + 8*esi + 268435456]
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10]
           vcomxsd xmm2, qword ptr [esp + 8*esi + 268435456]
 
 // CHECK: vcomxsd xmm2, qword ptr [edi + 4*eax + 291]
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00]
           vcomxsd xmm2, qword ptr [edi + 4*eax + 291]
 
 // CHECK: vcomxsd xmm2, qword ptr [eax]
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2f,0x10]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x10]
           vcomxsd xmm2, qword ptr [eax]
 
 // CHECK: vcomxsd xmm2, qword ptr [2*ebp - 256]
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2f,0x14,0x6d,0x00,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x14,0x6d,0x00,0xff,0xff,0xff]
           vcomxsd xmm2, qword ptr [2*ebp - 256]
 
 // CHECK: vcomxsd xmm2, qword ptr [ecx + 1016]
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2f,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x51,0x7f]
           vcomxsd xmm2, qword ptr [ecx + 1016]
 
 // CHECK: vcomxsd xmm2, qword ptr [edx - 1024]
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2f,0x52,0x80]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x52,0x80]
           vcomxsd xmm2, qword ptr [edx - 1024]
 
 // CHECK: vcomxsh xmm2, xmm3
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2f,0xd3]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0xd3]
           vcomxsh xmm2, xmm3
 
 // CHECK: vcomxsh xmm2, xmm3, {sae}
-// CHECK: encoding: [0x62,0xf5,0x7f,0x18,0x2f,0xd3]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x18,0x2f,0xd3]
           vcomxsh xmm2, xmm3, {sae}
 
 // CHECK: vcomxsh xmm2, word ptr [esp + 8*esi + 268435456]
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10]
           vcomxsh xmm2, word ptr [esp + 8*esi + 268435456]
 
 // CHECK: vcomxsh xmm2, word ptr [edi + 4*eax + 291]
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00]
           vcomxsh xmm2, word ptr [edi + 4*eax + 291]
 
 // CHECK: vcomxsh xmm2, word ptr [eax]
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2f,0x10]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x10]
           vcomxsh xmm2, word ptr [eax]
 
 // CHECK: vcomxsh xmm2, word ptr [2*ebp - 64]
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2f,0x14,0x6d,0xc0,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x14,0x6d,0xc0,0xff,0xff,0xff]
           vcomxsh xmm2, word ptr [2*ebp - 64]
 
 // CHECK: vcomxsh xmm2, word ptr [ecx + 254]
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2f,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x51,0x7f]
           vcomxsh xmm2, word ptr [ecx + 254]
 
 // CHECK: vcomxsh xmm2, word ptr [edx - 256]
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2f,0x52,0x80]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x52,0x80]
           vcomxsh xmm2, word ptr [edx - 256]
 
 // CHECK: vcomxss xmm2, xmm3
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2f,0xd3]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0xd3]
           vcomxss xmm2, xmm3
 
 // CHECK: vcomxss xmm2, xmm3, {sae}
-// CHECK: encoding: [0x62,0xf1,0x7f,0x18,0x2f,0xd3]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x18,0x2f,0xd3]
           vcomxss xmm2, xmm3, {sae}
 
 // CHECK: vcomxss xmm2, dword ptr [esp + 8*esi + 268435456]
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10]
           vcomxss xmm2, dword ptr [esp + 8*esi + 268435456]
 
 // CHECK: vcomxss xmm2, dword ptr [edi + 4*eax + 291]
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00]
           vcomxss xmm2, dword ptr [edi + 4*eax + 291]
 
 // CHECK: vcomxss xmm2, dword ptr [eax]
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2f,0x10]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x10]
           vcomxss xmm2, dword ptr [eax]
 
 // CHECK: vcomxss xmm2, dword ptr [2*ebp - 128]
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2f,0x14,0x6d,0x80,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x14,0x6d,0x80,0xff,0xff,0xff]
           vcomxss xmm2, dword ptr [2*ebp - 128]
 
 // CHECK: vcomxss xmm2, dword ptr [ecx + 508]
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2f,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x51,0x7f]
           vcomxss xmm2, dword ptr [ecx + 508]
 
 // CHECK: vcomxss xmm2, dword ptr [edx - 512]
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2f,0x52,0x80]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x52,0x80]
           vcomxss xmm2, dword ptr [edx - 512]
 
 // CHECK: vucomxsd xmm2, xmm3
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2e,0xd3]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0xd3]
           vucomxsd xmm2, xmm3
 
 // CHECK: vucomxsd xmm2, xmm3, {sae}
-// CHECK: encoding: [0x62,0xf1,0xfe,0x18,0x2e,0xd3]
+// CHECK: encoding: [0x62,0xf1,0xff,0x18,0x2e,0xd3]
           vucomxsd xmm2, xmm3, {sae}
 
 // CHECK: vucomxsd xmm2, qword ptr [esp + 8*esi + 268435456]
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10]
           vucomxsd xmm2, qword ptr [esp + 8*esi + 268435456]
 
 // CHECK: vucomxsd xmm2, qword ptr [edi + 4*eax + 291]
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00]
           vucomxsd xmm2, qword ptr [edi + 4*eax + 291]
 
 // CHECK: vucomxsd xmm2, qword ptr [eax]
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2e,0x10]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x10]
           vucomxsd xmm2, qword ptr [eax]
 
 // CHECK: vucomxsd xmm2, qword ptr [2*ebp - 256]
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2e,0x14,0x6d,0x00,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x14,0x6d,0x00,0xff,0xff,0xff]
           vucomxsd xmm2, qword ptr [2*ebp - 256]
 
 // CHECK: vucomxsd xmm2, qword ptr [ecx + 1016]
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2e,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x51,0x7f]
           vucomxsd xmm2, qword ptr [ecx + 1016]
 
 // CHECK: vucomxsd xmm2, qword ptr [edx - 1024]
-// CHECK: encoding: [0x62,0xf1,0xfe,0x08,0x2e,0x52,0x80]
+// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x52,0x80]
           vucomxsd xmm2, qword ptr [edx - 1024]
 
 // CHECK: vucomxsh xmm2, xmm3
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2e,0xd3]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0xd3]
           vucomxsh xmm2, xmm3
 
 // CHECK: vucomxsh xmm2, xmm3, {sae}
-// CHECK: encoding: [0x62,0xf5,0x7f,0x18,0x2e,0xd3]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x18,0x2e,0xd3]
           vucomxsh xmm2, xmm3, {sae}
 
 // CHECK: vucomxsh xmm2, word ptr [esp + 8*esi + 268435456]
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10]
           vucomxsh xmm2, word ptr [esp + 8*esi + 268435456]
 
 // CHECK: vucomxsh xmm2, word ptr [edi + 4*eax + 291]
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00]
           vucomxsh xmm2, word ptr [edi + 4*eax + 291]
 
 // CHECK: vucomxsh xmm2, word ptr [eax]
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2e,0x10]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x10]
           vucomxsh xmm2, word ptr [eax]
 
 // CHECK: vucomxsh xmm2, word ptr [2*ebp - 64]
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2e,0x14,0x6d,0xc0,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x14,0x6d,0xc0,0xff,0xff,0xff]
           vucomxsh xmm2, word ptr [2*ebp - 64]
 
 // CHECK: vucomxsh xmm2, word ptr [ecx + 254]
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2e,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x51,0x7f]
           vucomxsh xmm2, word ptr [ecx + 254]
 
 // CHECK: vucomxsh xmm2, word ptr [edx - 256]
-// CHECK: encoding: [0x62,0xf5,0x7f,0x08,0x2e,0x52,0x80]
+// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x52,0x80]
           vucomxsh xmm2, word ptr [edx - 256]
 
 // CHECK: vucomxss xmm2, xmm3
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2e,0xd3]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0xd3]
           vucomxss xmm2, xmm3
 
 // CHECK: vucomxss xmm2, xmm3, {sae}
-// CHECK: encoding: [0x62,0xf1,0x7f,0x18,0x2e,0xd3]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x18,0x2e,0xd3]
           vucomxss xmm2, xmm3, {sae}
 
 // CHECK: vucomxss xmm2, dword ptr [esp + 8*esi + 268435456]
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10]
           vucomxss xmm2, dword ptr [esp + 8*esi + 268435456]
 
 // CHECK: vucomxss xmm2, dword ptr [edi + 4*eax + 291]
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00]
           vucomxss xmm2, dword ptr [edi + 4*eax + 291]
 
 // CHECK: vucomxss xmm2, dword ptr [eax]
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2e,0x10]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x10]
           vucomxss xmm2, dword ptr [eax]
 
 // CHECK: vucomxss xmm2, dword ptr [2*ebp - 128]
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2e,0x14,0x6d,0x80,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x14,0x6d,0x80,0xff,0xff,0xff]
           vucomxss xmm2, dword ptr [2*ebp - 128]
 
 // CHECK: vucomxss xmm2, dword ptr [ecx + 508]
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2e,0x51,0x7f]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x51,0x7f]
           vucomxss xmm2, dword ptr [ecx + 508]
 
 // CHECK: vucomxss xmm2, dword ptr [edx - 512]
-// CHECK: encoding: [0x62,0xf1,0x7f,0x08,0x2e,0x52,0x80]
+// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x52,0x80]
           vucomxss xmm2, dword ptr [edx - 512]
 

diff  --git a/llvm/test/MC/X86/avx10.2-com-ef-64-att.s b/llvm/test/MC/X86/avx10.2-com-ef-64-att.s
index 2f3690537334a..832151ab23707 100644
--- a/llvm/test/MC/X86/avx10.2-com-ef-64-att.s
+++ b/llvm/test/MC/X86/avx10.2-com-ef-64-att.s
@@ -1,194 +1,194 @@
 // RUN: llvm-mc -triple x86_64 --show-encoding %s | FileCheck %s
 
 // CHECK: vcomxsd %xmm23, %xmm22
-// CHECK: encoding: [0x62,0xa1,0xfe,0x08,0x2f,0xf7]
+// CHECK: encoding: [0x62,0xa1,0xff,0x08,0x2f,0xf7]
           vcomxsd %xmm23, %xmm22
 
 // CHECK: vcomxsd {sae}, %xmm23, %xmm22
-// CHECK: encoding: [0x62,0xa1,0xfe,0x18,0x2f,0xf7]
+// CHECK: encoding: [0x62,0xa1,0xff,0x18,0x2f,0xf7]
           vcomxsd {sae}, %xmm23, %xmm22
 
 // CHECK: vcomxsd  268435456(%rbp,%r14,8), %xmm22
-// CHECK: encoding: [0x62,0xa1,0xfe,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa1,0xff,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vcomxsd  268435456(%rbp,%r14,8), %xmm22
 
 // CHECK: vcomxsd  291(%r8,%rax,4), %xmm22
-// CHECK: encoding: [0x62,0xc1,0xfe,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc1,0xff,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00]
           vcomxsd  291(%r8,%rax,4), %xmm22
 
 // CHECK: vcomxsd  (%rip), %xmm22
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2f,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2f,0x35,0x00,0x00,0x00,0x00]
           vcomxsd  (%rip), %xmm22
 
 // CHECK: vcomxsd  -256(,%rbp,2), %xmm22
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2f,0x34,0x6d,0x00,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2f,0x34,0x6d,0x00,0xff,0xff,0xff]
           vcomxsd  -256(,%rbp,2), %xmm22
 
 // CHECK: vcomxsd  1016(%rcx), %xmm22
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2f,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2f,0x71,0x7f]
           vcomxsd  1016(%rcx), %xmm22
 
 // CHECK: vcomxsd  -1024(%rdx), %xmm22
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2f,0x72,0x80]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2f,0x72,0x80]
           vcomxsd  -1024(%rdx), %xmm22
 
 // CHECK: vcomxsh %xmm23, %xmm22
-// CHECK: encoding: [0x62,0xa5,0x7f,0x08,0x2f,0xf7]
+// CHECK: encoding: [0x62,0xa5,0x7e,0x08,0x2f,0xf7]
           vcomxsh %xmm23, %xmm22
 
 // CHECK: vcomxsh {sae}, %xmm23, %xmm22
-// CHECK: encoding: [0x62,0xa5,0x7f,0x18,0x2f,0xf7]
+// CHECK: encoding: [0x62,0xa5,0x7e,0x18,0x2f,0xf7]
           vcomxsh {sae}, %xmm23, %xmm22
 
 // CHECK: vcomxsh  268435456(%rbp,%r14,8), %xmm22
-// CHECK: encoding: [0x62,0xa5,0x7f,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa5,0x7e,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vcomxsh  268435456(%rbp,%r14,8), %xmm22
 
 // CHECK: vcomxsh  291(%r8,%rax,4), %xmm22
-// CHECK: encoding: [0x62,0xc5,0x7f,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc5,0x7e,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00]
           vcomxsh  291(%r8,%rax,4), %xmm22
 
 // CHECK: vcomxsh  (%rip), %xmm22
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2f,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2f,0x35,0x00,0x00,0x00,0x00]
           vcomxsh  (%rip), %xmm22
 
 // CHECK: vcomxsh  -64(,%rbp,2), %xmm22
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2f,0x34,0x6d,0xc0,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2f,0x34,0x6d,0xc0,0xff,0xff,0xff]
           vcomxsh  -64(,%rbp,2), %xmm22
 
 // CHECK: vcomxsh  254(%rcx), %xmm22
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2f,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2f,0x71,0x7f]
           vcomxsh  254(%rcx), %xmm22
 
 // CHECK: vcomxsh  -256(%rdx), %xmm22
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2f,0x72,0x80]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2f,0x72,0x80]
           vcomxsh  -256(%rdx), %xmm22
 
 // CHECK: vcomxss %xmm23, %xmm22
-// CHECK: encoding: [0x62,0xa1,0x7f,0x08,0x2f,0xf7]
+// CHECK: encoding: [0x62,0xa1,0x7e,0x08,0x2f,0xf7]
           vcomxss %xmm23, %xmm22
 
 // CHECK: vcomxss {sae}, %xmm23, %xmm22
-// CHECK: encoding: [0x62,0xa1,0x7f,0x18,0x2f,0xf7]
+// CHECK: encoding: [0x62,0xa1,0x7e,0x18,0x2f,0xf7]
           vcomxss {sae}, %xmm23, %xmm22
 
 // CHECK: vcomxss  268435456(%rbp,%r14,8), %xmm22
-// CHECK: encoding: [0x62,0xa1,0x7f,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa1,0x7e,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vcomxss  268435456(%rbp,%r14,8), %xmm22
 
 // CHECK: vcomxss  291(%r8,%rax,4), %xmm22
-// CHECK: encoding: [0x62,0xc1,0x7f,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc1,0x7e,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00]
           vcomxss  291(%r8,%rax,4), %xmm22
 
 // CHECK: vcomxss  (%rip), %xmm22
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2f,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2f,0x35,0x00,0x00,0x00,0x00]
           vcomxss  (%rip), %xmm22
 
 // CHECK: vcomxss  -128(,%rbp,2), %xmm22
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2f,0x34,0x6d,0x80,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2f,0x34,0x6d,0x80,0xff,0xff,0xff]
           vcomxss  -128(,%rbp,2), %xmm22
 
 // CHECK: vcomxss  508(%rcx), %xmm22
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2f,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2f,0x71,0x7f]
           vcomxss  508(%rcx), %xmm22
 
 // CHECK: vcomxss  -512(%rdx), %xmm22
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2f,0x72,0x80]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2f,0x72,0x80]
           vcomxss  -512(%rdx), %xmm22
 
 // CHECK: vucomxsd %xmm23, %xmm22
-// CHECK: encoding: [0x62,0xa1,0xfe,0x08,0x2e,0xf7]
+// CHECK: encoding: [0x62,0xa1,0xff,0x08,0x2e,0xf7]
           vucomxsd %xmm23, %xmm22
 
 // CHECK: vucomxsd {sae}, %xmm23, %xmm22
-// CHECK: encoding: [0x62,0xa1,0xfe,0x18,0x2e,0xf7]
+// CHECK: encoding: [0x62,0xa1,0xff,0x18,0x2e,0xf7]
           vucomxsd {sae}, %xmm23, %xmm22
 
 // CHECK: vucomxsd  268435456(%rbp,%r14,8), %xmm22
-// CHECK: encoding: [0x62,0xa1,0xfe,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa1,0xff,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vucomxsd  268435456(%rbp,%r14,8), %xmm22
 
 // CHECK: vucomxsd  291(%r8,%rax,4), %xmm22
-// CHECK: encoding: [0x62,0xc1,0xfe,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc1,0xff,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00]
           vucomxsd  291(%r8,%rax,4), %xmm22
 
 // CHECK: vucomxsd  (%rip), %xmm22
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2e,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2e,0x35,0x00,0x00,0x00,0x00]
           vucomxsd  (%rip), %xmm22
 
 // CHECK: vucomxsd  -256(,%rbp,2), %xmm22
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2e,0x34,0x6d,0x00,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2e,0x34,0x6d,0x00,0xff,0xff,0xff]
           vucomxsd  -256(,%rbp,2), %xmm22
 
 // CHECK: vucomxsd  1016(%rcx), %xmm22
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2e,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2e,0x71,0x7f]
           vucomxsd  1016(%rcx), %xmm22
 
 // CHECK: vucomxsd  -1024(%rdx), %xmm22
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2e,0x72,0x80]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2e,0x72,0x80]
           vucomxsd  -1024(%rdx), %xmm22
 
 // CHECK: vucomxsh %xmm23, %xmm22
-// CHECK: encoding: [0x62,0xa5,0x7f,0x08,0x2e,0xf7]
+// CHECK: encoding: [0x62,0xa5,0x7e,0x08,0x2e,0xf7]
           vucomxsh %xmm23, %xmm22
 
 // CHECK: vucomxsh {sae}, %xmm23, %xmm22
-// CHECK: encoding: [0x62,0xa5,0x7f,0x18,0x2e,0xf7]
+// CHECK: encoding: [0x62,0xa5,0x7e,0x18,0x2e,0xf7]
           vucomxsh {sae}, %xmm23, %xmm22
 
 // CHECK: vucomxsh  268435456(%rbp,%r14,8), %xmm22
-// CHECK: encoding: [0x62,0xa5,0x7f,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa5,0x7e,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vucomxsh  268435456(%rbp,%r14,8), %xmm22
 
 // CHECK: vucomxsh  291(%r8,%rax,4), %xmm22
-// CHECK: encoding: [0x62,0xc5,0x7f,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc5,0x7e,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00]
           vucomxsh  291(%r8,%rax,4), %xmm22
 
 // CHECK: vucomxsh  (%rip), %xmm22
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2e,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2e,0x35,0x00,0x00,0x00,0x00]
           vucomxsh  (%rip), %xmm22
 
 // CHECK: vucomxsh  -64(,%rbp,2), %xmm22
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2e,0x34,0x6d,0xc0,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2e,0x34,0x6d,0xc0,0xff,0xff,0xff]
           vucomxsh  -64(,%rbp,2), %xmm22
 
 // CHECK: vucomxsh  254(%rcx), %xmm22
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2e,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2e,0x71,0x7f]
           vucomxsh  254(%rcx), %xmm22
 
 // CHECK: vucomxsh  -256(%rdx), %xmm22
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2e,0x72,0x80]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2e,0x72,0x80]
           vucomxsh  -256(%rdx), %xmm22
 
 // CHECK: vucomxss %xmm23, %xmm22
-// CHECK: encoding: [0x62,0xa1,0x7f,0x08,0x2e,0xf7]
+// CHECK: encoding: [0x62,0xa1,0x7e,0x08,0x2e,0xf7]
           vucomxss %xmm23, %xmm22
 
 // CHECK: vucomxss {sae}, %xmm23, %xmm22
-// CHECK: encoding: [0x62,0xa1,0x7f,0x18,0x2e,0xf7]
+// CHECK: encoding: [0x62,0xa1,0x7e,0x18,0x2e,0xf7]
           vucomxss {sae}, %xmm23, %xmm22
 
 // CHECK: vucomxss  268435456(%rbp,%r14,8), %xmm22
-// CHECK: encoding: [0x62,0xa1,0x7f,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa1,0x7e,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vucomxss  268435456(%rbp,%r14,8), %xmm22
 
 // CHECK: vucomxss  291(%r8,%rax,4), %xmm22
-// CHECK: encoding: [0x62,0xc1,0x7f,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc1,0x7e,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00]
           vucomxss  291(%r8,%rax,4), %xmm22
 
 // CHECK: vucomxss  (%rip), %xmm22
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2e,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2e,0x35,0x00,0x00,0x00,0x00]
           vucomxss  (%rip), %xmm22
 
 // CHECK: vucomxss  -128(,%rbp,2), %xmm22
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2e,0x34,0x6d,0x80,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2e,0x34,0x6d,0x80,0xff,0xff,0xff]
           vucomxss  -128(,%rbp,2), %xmm22
 
 // CHECK: vucomxss  508(%rcx), %xmm22
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2e,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2e,0x71,0x7f]
           vucomxss  508(%rcx), %xmm22
 
 // CHECK: vucomxss  -512(%rdx), %xmm22
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2e,0x72,0x80]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2e,0x72,0x80]
           vucomxss  -512(%rdx), %xmm22
 

diff  --git a/llvm/test/MC/X86/avx10.2-com-ef-64-intel.s b/llvm/test/MC/X86/avx10.2-com-ef-64-intel.s
index 41aaf99270b88..94e3b77984c83 100644
--- a/llvm/test/MC/X86/avx10.2-com-ef-64-intel.s
+++ b/llvm/test/MC/X86/avx10.2-com-ef-64-intel.s
@@ -1,194 +1,194 @@
 // RUN: llvm-mc -triple x86_64 -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s
 
 // CHECK: vcomxsd xmm22, xmm23
-// CHECK: encoding: [0x62,0xa1,0xfe,0x08,0x2f,0xf7]
+// CHECK: encoding: [0x62,0xa1,0xff,0x08,0x2f,0xf7]
           vcomxsd xmm22, xmm23
 
 // CHECK: vcomxsd xmm22, xmm23, {sae}
-// CHECK: encoding: [0x62,0xa1,0xfe,0x18,0x2f,0xf7]
+// CHECK: encoding: [0x62,0xa1,0xff,0x18,0x2f,0xf7]
           vcomxsd xmm22, xmm23, {sae}
 
 // CHECK: vcomxsd xmm22, qword ptr [rbp + 8*r14 + 268435456]
-// CHECK: encoding: [0x62,0xa1,0xfe,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa1,0xff,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vcomxsd xmm22, qword ptr [rbp + 8*r14 + 268435456]
 
 // CHECK: vcomxsd xmm22, qword ptr [r8 + 4*rax + 291]
-// CHECK: encoding: [0x62,0xc1,0xfe,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc1,0xff,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00]
           vcomxsd xmm22, qword ptr [r8 + 4*rax + 291]
 
 // CHECK: vcomxsd xmm22, qword ptr [rip]
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2f,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2f,0x35,0x00,0x00,0x00,0x00]
           vcomxsd xmm22, qword ptr [rip]
 
 // CHECK: vcomxsd xmm22, qword ptr [2*rbp - 256]
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2f,0x34,0x6d,0x00,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2f,0x34,0x6d,0x00,0xff,0xff,0xff]
           vcomxsd xmm22, qword ptr [2*rbp - 256]
 
 // CHECK: vcomxsd xmm22, qword ptr [rcx + 1016]
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2f,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2f,0x71,0x7f]
           vcomxsd xmm22, qword ptr [rcx + 1016]
 
 // CHECK: vcomxsd xmm22, qword ptr [rdx - 1024]
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2f,0x72,0x80]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2f,0x72,0x80]
           vcomxsd xmm22, qword ptr [rdx - 1024]
 
 // CHECK: vcomxsh xmm22, xmm23
-// CHECK: encoding: [0x62,0xa5,0x7f,0x08,0x2f,0xf7]
+// CHECK: encoding: [0x62,0xa5,0x7e,0x08,0x2f,0xf7]
           vcomxsh xmm22, xmm23
 
 // CHECK: vcomxsh xmm22, xmm23, {sae}
-// CHECK: encoding: [0x62,0xa5,0x7f,0x18,0x2f,0xf7]
+// CHECK: encoding: [0x62,0xa5,0x7e,0x18,0x2f,0xf7]
           vcomxsh xmm22, xmm23, {sae}
 
 // CHECK: vcomxsh xmm22, word ptr [rbp + 8*r14 + 268435456]
-// CHECK: encoding: [0x62,0xa5,0x7f,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa5,0x7e,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vcomxsh xmm22, word ptr [rbp + 8*r14 + 268435456]
 
 // CHECK: vcomxsh xmm22, word ptr [r8 + 4*rax + 291]
-// CHECK: encoding: [0x62,0xc5,0x7f,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc5,0x7e,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00]
           vcomxsh xmm22, word ptr [r8 + 4*rax + 291]
 
 // CHECK: vcomxsh xmm22, word ptr [rip]
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2f,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2f,0x35,0x00,0x00,0x00,0x00]
           vcomxsh xmm22, word ptr [rip]
 
 // CHECK: vcomxsh xmm22, word ptr [2*rbp - 64]
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2f,0x34,0x6d,0xc0,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2f,0x34,0x6d,0xc0,0xff,0xff,0xff]
           vcomxsh xmm22, word ptr [2*rbp - 64]
 
 // CHECK: vcomxsh xmm22, word ptr [rcx + 254]
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2f,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2f,0x71,0x7f]
           vcomxsh xmm22, word ptr [rcx + 254]
 
 // CHECK: vcomxsh xmm22, word ptr [rdx - 256]
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2f,0x72,0x80]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2f,0x72,0x80]
           vcomxsh xmm22, word ptr [rdx - 256]
 
 // CHECK: vcomxss xmm22, xmm23
-// CHECK: encoding: [0x62,0xa1,0x7f,0x08,0x2f,0xf7]
+// CHECK: encoding: [0x62,0xa1,0x7e,0x08,0x2f,0xf7]
           vcomxss xmm22, xmm23
 
 // CHECK: vcomxss xmm22, xmm23, {sae}
-// CHECK: encoding: [0x62,0xa1,0x7f,0x18,0x2f,0xf7]
+// CHECK: encoding: [0x62,0xa1,0x7e,0x18,0x2f,0xf7]
           vcomxss xmm22, xmm23, {sae}
 
 // CHECK: vcomxss xmm22, dword ptr [rbp + 8*r14 + 268435456]
-// CHECK: encoding: [0x62,0xa1,0x7f,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa1,0x7e,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vcomxss xmm22, dword ptr [rbp + 8*r14 + 268435456]
 
 // CHECK: vcomxss xmm22, dword ptr [r8 + 4*rax + 291]
-// CHECK: encoding: [0x62,0xc1,0x7f,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc1,0x7e,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00]
           vcomxss xmm22, dword ptr [r8 + 4*rax + 291]
 
 // CHECK: vcomxss xmm22, dword ptr [rip]
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2f,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2f,0x35,0x00,0x00,0x00,0x00]
           vcomxss xmm22, dword ptr [rip]
 
 // CHECK: vcomxss xmm22, dword ptr [2*rbp - 128]
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2f,0x34,0x6d,0x80,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2f,0x34,0x6d,0x80,0xff,0xff,0xff]
           vcomxss xmm22, dword ptr [2*rbp - 128]
 
 // CHECK: vcomxss xmm22, dword ptr [rcx + 508]
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2f,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2f,0x71,0x7f]
           vcomxss xmm22, dword ptr [rcx + 508]
 
 // CHECK: vcomxss xmm22, dword ptr [rdx - 512]
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2f,0x72,0x80]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2f,0x72,0x80]
           vcomxss xmm22, dword ptr [rdx - 512]
 
 // CHECK: vucomxsd xmm22, xmm23
-// CHECK: encoding: [0x62,0xa1,0xfe,0x08,0x2e,0xf7]
+// CHECK: encoding: [0x62,0xa1,0xff,0x08,0x2e,0xf7]
           vucomxsd xmm22, xmm23
 
 // CHECK: vucomxsd xmm22, xmm23, {sae}
-// CHECK: encoding: [0x62,0xa1,0xfe,0x18,0x2e,0xf7]
+// CHECK: encoding: [0x62,0xa1,0xff,0x18,0x2e,0xf7]
           vucomxsd xmm22, xmm23, {sae}
 
 // CHECK: vucomxsd xmm22, qword ptr [rbp + 8*r14 + 268435456]
-// CHECK: encoding: [0x62,0xa1,0xfe,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa1,0xff,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vucomxsd xmm22, qword ptr [rbp + 8*r14 + 268435456]
 
 // CHECK: vucomxsd xmm22, qword ptr [r8 + 4*rax + 291]
-// CHECK: encoding: [0x62,0xc1,0xfe,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc1,0xff,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00]
           vucomxsd xmm22, qword ptr [r8 + 4*rax + 291]
 
 // CHECK: vucomxsd xmm22, qword ptr [rip]
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2e,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2e,0x35,0x00,0x00,0x00,0x00]
           vucomxsd xmm22, qword ptr [rip]
 
 // CHECK: vucomxsd xmm22, qword ptr [2*rbp - 256]
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2e,0x34,0x6d,0x00,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2e,0x34,0x6d,0x00,0xff,0xff,0xff]
           vucomxsd xmm22, qword ptr [2*rbp - 256]
 
 // CHECK: vucomxsd xmm22, qword ptr [rcx + 1016]
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2e,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2e,0x71,0x7f]
           vucomxsd xmm22, qword ptr [rcx + 1016]
 
 // CHECK: vucomxsd xmm22, qword ptr [rdx - 1024]
-// CHECK: encoding: [0x62,0xe1,0xfe,0x08,0x2e,0x72,0x80]
+// CHECK: encoding: [0x62,0xe1,0xff,0x08,0x2e,0x72,0x80]
           vucomxsd xmm22, qword ptr [rdx - 1024]
 
 // CHECK: vucomxsh xmm22, xmm23
-// CHECK: encoding: [0x62,0xa5,0x7f,0x08,0x2e,0xf7]
+// CHECK: encoding: [0x62,0xa5,0x7e,0x08,0x2e,0xf7]
           vucomxsh xmm22, xmm23
 
 // CHECK: vucomxsh xmm22, xmm23, {sae}
-// CHECK: encoding: [0x62,0xa5,0x7f,0x18,0x2e,0xf7]
+// CHECK: encoding: [0x62,0xa5,0x7e,0x18,0x2e,0xf7]
           vucomxsh xmm22, xmm23, {sae}
 
 // CHECK: vucomxsh xmm22, word ptr [rbp + 8*r14 + 268435456]
-// CHECK: encoding: [0x62,0xa5,0x7f,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa5,0x7e,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vucomxsh xmm22, word ptr [rbp + 8*r14 + 268435456]
 
 // CHECK: vucomxsh xmm22, word ptr [r8 + 4*rax + 291]
-// CHECK: encoding: [0x62,0xc5,0x7f,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc5,0x7e,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00]
           vucomxsh xmm22, word ptr [r8 + 4*rax + 291]
 
 // CHECK: vucomxsh xmm22, word ptr [rip]
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2e,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2e,0x35,0x00,0x00,0x00,0x00]
           vucomxsh xmm22, word ptr [rip]
 
 // CHECK: vucomxsh xmm22, word ptr [2*rbp - 64]
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2e,0x34,0x6d,0xc0,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2e,0x34,0x6d,0xc0,0xff,0xff,0xff]
           vucomxsh xmm22, word ptr [2*rbp - 64]
 
 // CHECK: vucomxsh xmm22, word ptr [rcx + 254]
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2e,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2e,0x71,0x7f]
           vucomxsh xmm22, word ptr [rcx + 254]
 
 // CHECK: vucomxsh xmm22, word ptr [rdx - 256]
-// CHECK: encoding: [0x62,0xe5,0x7f,0x08,0x2e,0x72,0x80]
+// CHECK: encoding: [0x62,0xe5,0x7e,0x08,0x2e,0x72,0x80]
           vucomxsh xmm22, word ptr [rdx - 256]
 
 // CHECK: vucomxss xmm22, xmm23
-// CHECK: encoding: [0x62,0xa1,0x7f,0x08,0x2e,0xf7]
+// CHECK: encoding: [0x62,0xa1,0x7e,0x08,0x2e,0xf7]
           vucomxss xmm22, xmm23
 
 // CHECK: vucomxss xmm22, xmm23, {sae}
-// CHECK: encoding: [0x62,0xa1,0x7f,0x18,0x2e,0xf7]
+// CHECK: encoding: [0x62,0xa1,0x7e,0x18,0x2e,0xf7]
           vucomxss xmm22, xmm23, {sae}
 
 // CHECK: vucomxss xmm22, dword ptr [rbp + 8*r14 + 268435456]
-// CHECK: encoding: [0x62,0xa1,0x7f,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10]
+// CHECK: encoding: [0x62,0xa1,0x7e,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10]
           vucomxss xmm22, dword ptr [rbp + 8*r14 + 268435456]
 
 // CHECK: vucomxss xmm22, dword ptr [r8 + 4*rax + 291]
-// CHECK: encoding: [0x62,0xc1,0x7f,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00]
+// CHECK: encoding: [0x62,0xc1,0x7e,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00]
           vucomxss xmm22, dword ptr [r8 + 4*rax + 291]
 
 // CHECK: vucomxss xmm22, dword ptr [rip]
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2e,0x35,0x00,0x00,0x00,0x00]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2e,0x35,0x00,0x00,0x00,0x00]
           vucomxss xmm22, dword ptr [rip]
 
 // CHECK: vucomxss xmm22, dword ptr [2*rbp - 128]
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2e,0x34,0x6d,0x80,0xff,0xff,0xff]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2e,0x34,0x6d,0x80,0xff,0xff,0xff]
           vucomxss xmm22, dword ptr [2*rbp - 128]
 
 // CHECK: vucomxss xmm22, dword ptr [rcx + 508]
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2e,0x71,0x7f]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2e,0x71,0x7f]
           vucomxss xmm22, dword ptr [rcx + 508]
 
 // CHECK: vucomxss xmm22, dword ptr [rdx - 512]
-// CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x2e,0x72,0x80]
+// CHECK: encoding: [0x62,0xe1,0x7e,0x08,0x2e,0x72,0x80]
           vucomxss xmm22, dword ptr [rdx - 512]
 


        


More information about the llvm-commits mailing list