[llvm] r268200 - [AVX512] VPACKUSWB/VPACKSSWB should not be encoded with EVEX.W=1. While there fix the execution domain for VPACKSSDW/VPACKUSDW.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun May 1 10:38:32 PDT 2016


Author: ctopper
Date: Sun May  1 12:38:32 2016
New Revision: 268200

URL: http://llvm.org/viewvc/llvm-project?rev=268200&view=rev
Log:
[AVX512] VPACKUSWB/VPACKSSWB should not be encoded with EVEX.W=1. While there fix the execution domain for VPACKSSDW/VPACKUSDW.

Modified:
    llvm/trunk/lib/Target/X86/X86InstrAVX512.td
    llvm/trunk/test/CodeGen/X86/avx512bwvl-intrinsics.ll
    llvm/trunk/test/MC/X86/x86-64-avx512bw.s
    llvm/trunk/test/MC/X86/x86-64-avx512bw_vl.s

Modified: llvm/trunk/lib/Target/X86/X86InstrAVX512.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrAVX512.td?rev=268200&r1=268199&r2=268200&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrAVX512.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrAVX512.td Sun May  1 12:38:32 2016
@@ -3510,10 +3510,10 @@ multiclass avx512_vpmadd<bits<8> opc, st
   }
 }
 
-defm VPACKSSDW : avx512_packs_all_i32_i16<0x6B, "vpackssdw", X86Packss>, PD;
-defm VPACKUSDW : avx512_packs_all_i32_i16<0x2b, "vpackusdw", X86Packus>, T8PD;
-defm VPACKSSWB : avx512_packs_all_i16_i8 <0x63, "vpacksswb", X86Packss>, AVX512BIBase, VEX_W;
-defm VPACKUSWB : avx512_packs_all_i16_i8 <0x67, "vpackuswb", X86Packus>, AVX512BIBase, VEX_W;
+defm VPACKSSDW : avx512_packs_all_i32_i16<0x6B, "vpackssdw", X86Packss>, AVX512BIBase;
+defm VPACKUSDW : avx512_packs_all_i32_i16<0x2b, "vpackusdw", X86Packus>, AVX5128IBase;
+defm VPACKSSWB : avx512_packs_all_i16_i8 <0x63, "vpacksswb", X86Packss>, AVX512BIBase;
+defm VPACKUSWB : avx512_packs_all_i16_i8 <0x67, "vpackuswb", X86Packus>, AVX512BIBase;
 
 defm VPMADDUBSW : avx512_vpmadd<0x04, "vpmaddubsw", X86vpmaddubsw,
                      avx512vl_i8_info, avx512vl_i16_info>, AVX512BIBase, T8PD;

Modified: llvm/trunk/test/CodeGen/X86/avx512bwvl-intrinsics.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/avx512bwvl-intrinsics.ll?rev=268200&r1=268199&r2=268200&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/avx512bwvl-intrinsics.ll (original)
+++ llvm/trunk/test/CodeGen/X86/avx512bwvl-intrinsics.ll Sun May  1 12:38:32 2016
@@ -2209,28 +2209,28 @@ declare <16 x i16> @llvm.x86.avx512.mask
 
 define <16 x i8> @test_mask_packs_epi16_rr_128(<8 x i16> %a, <8 x i16> %b) {
   ;CHECK-LABEL: test_mask_packs_epi16_rr_128
-  ;CHECK: vpacksswb       %xmm1, %xmm0, %xmm0 ## encoding: [0x62,0xf1,0xfd,0x08,0x63,0xc1]
+  ;CHECK: vpacksswb       %xmm1, %xmm0, %xmm0 ## encoding: [0x62,0xf1,0x7d,0x08,0x63,0xc1]
   %res = call <16 x i8> @llvm.x86.avx512.mask.packsswb.128(<8 x i16> %a, <8 x i16> %b, <16 x i8> zeroinitializer, i16 -1)
   ret <16 x i8> %res
 }
 
 define <16 x i8> @test_mask_packs_epi16_rrk_128(<8 x i16> %a, <8 x i16> %b, <16 x i8> %passThru, i16 %mask) {
   ;CHECK-LABEL: test_mask_packs_epi16_rrk_128
-  ;CHECK: vpacksswb       %xmm1, %xmm0, %xmm2 {%k1} ## encoding: [0x62,0xf1,0xfd,0x09,0x63,0xd1]
+  ;CHECK: vpacksswb       %xmm1, %xmm0, %xmm2 {%k1} ## encoding: [0x62,0xf1,0x7d,0x09,0x63,0xd1]
   %res = call <16 x i8> @llvm.x86.avx512.mask.packsswb.128(<8 x i16> %a, <8 x i16> %b, <16 x i8> %passThru, i16 %mask)
   ret <16 x i8> %res
 }
 
 define <16 x i8> @test_mask_packs_epi16_rrkz_128(<8 x i16> %a, <8 x i16> %b, i16 %mask) {
   ;CHECK-LABEL: test_mask_packs_epi16_rrkz_128
-  ;CHECK: vpacksswb       %xmm1, %xmm0, %xmm0 {%k1} {z} ## encoding: [0x62,0xf1,0xfd,0x89,0x63,0xc1]
+  ;CHECK: vpacksswb       %xmm1, %xmm0, %xmm0 {%k1} {z} ## encoding: [0x62,0xf1,0x7d,0x89,0x63,0xc1]
   %res = call <16 x i8> @llvm.x86.avx512.mask.packsswb.128(<8 x i16> %a, <8 x i16> %b, <16 x i8> zeroinitializer, i16 %mask)
   ret <16 x i8> %res
 }
 
 define <16 x i8> @test_mask_packs_epi16_rm_128(<8 x i16> %a, <8 x i16>* %ptr_b) {
   ;CHECK-LABEL: test_mask_packs_epi16_rm_128
-  ;CHECK: vpacksswb       (%rdi), %xmm0, %xmm0 ## encoding: [0x62,0xf1,0xfd,0x08,0x63,0x07]
+  ;CHECK: vpacksswb       (%rdi), %xmm0, %xmm0 ## encoding: [0x62,0xf1,0x7d,0x08,0x63,0x07]
   %b = load <8 x i16>, <8 x i16>* %ptr_b
   %res = call <16 x i8> @llvm.x86.avx512.mask.packsswb.128(<8 x i16> %a, <8 x i16> %b, <16 x i8> zeroinitializer, i16 -1)
   ret <16 x i8> %res
@@ -2238,7 +2238,7 @@ define <16 x i8> @test_mask_packs_epi16_
 
 define <16 x i8> @test_mask_packs_epi16_rmk_128(<8 x i16> %a, <8 x i16>* %ptr_b, <16 x i8> %passThru, i16 %mask) {
   ;CHECK-LABEL: test_mask_packs_epi16_rmk_128
-  ;CHECK: vpacksswb       (%rdi), %xmm0, %xmm1 {%k1} ## encoding: [0x62,0xf1,0xfd,0x09,0x63,0x0f]
+  ;CHECK: vpacksswb       (%rdi), %xmm0, %xmm1 {%k1} ## encoding: [0x62,0xf1,0x7d,0x09,0x63,0x0f]
   %b = load <8 x i16>, <8 x i16>* %ptr_b
   %res = call <16 x i8> @llvm.x86.avx512.mask.packsswb.128(<8 x i16> %a, <8 x i16> %b, <16 x i8> %passThru, i16 %mask)
   ret <16 x i8> %res
@@ -2246,7 +2246,7 @@ define <16 x i8> @test_mask_packs_epi16_
 
 define <16 x i8> @test_mask_packs_epi16_rmkz_128(<8 x i16> %a, <8 x i16>* %ptr_b, i16 %mask) {
   ;CHECK-LABEL: test_mask_packs_epi16_rmkz_128
-  ;CHECK: vpacksswb       (%rdi), %xmm0, %xmm0 {%k1} {z} ## encoding: [0x62,0xf1,0xfd,0x89,0x63,0x07]
+  ;CHECK: vpacksswb       (%rdi), %xmm0, %xmm0 {%k1} {z} ## encoding: [0x62,0xf1,0x7d,0x89,0x63,0x07]
   %b = load <8 x i16>, <8 x i16>* %ptr_b
   %res = call <16 x i8> @llvm.x86.avx512.mask.packsswb.128(<8 x i16> %a, <8 x i16> %b, <16 x i8> zeroinitializer, i16 %mask)
   ret <16 x i8> %res
@@ -2256,28 +2256,28 @@ declare <16 x i8> @llvm.x86.avx512.mask.
 
 define <32 x i8> @test_mask_packs_epi16_rr_256(<16 x i16> %a, <16 x i16> %b) {
   ;CHECK-LABEL: test_mask_packs_epi16_rr_256
-  ;CHECK: vpacksswb       %ymm1, %ymm0, %ymm0 ## encoding: [0x62,0xf1,0xfd,0x28,0x63,0xc1]
+  ;CHECK: vpacksswb       %ymm1, %ymm0, %ymm0 ## encoding: [0x62,0xf1,0x7d,0x28,0x63,0xc1]
   %res = call <32 x i8> @llvm.x86.avx512.mask.packsswb.256(<16 x i16> %a, <16 x i16> %b, <32 x i8> zeroinitializer, i32 -1)
   ret <32 x i8> %res
 }
 
 define <32 x i8> @test_mask_packs_epi16_rrk_256(<16 x i16> %a, <16 x i16> %b, <32 x i8> %passThru, i32 %mask) {
   ;CHECK-LABEL: test_mask_packs_epi16_rrk_256
-  ;CHECK: vpacksswb       %ymm1, %ymm0, %ymm2 {%k1} ## encoding: [0x62,0xf1,0xfd,0x29,0x63,0xd1]
+  ;CHECK: vpacksswb       %ymm1, %ymm0, %ymm2 {%k1} ## encoding: [0x62,0xf1,0x7d,0x29,0x63,0xd1]
   %res = call <32 x i8> @llvm.x86.avx512.mask.packsswb.256(<16 x i16> %a, <16 x i16> %b, <32 x i8> %passThru, i32 %mask)
   ret <32 x i8> %res
 }
 
 define <32 x i8> @test_mask_packs_epi16_rrkz_256(<16 x i16> %a, <16 x i16> %b, i32 %mask) {
   ;CHECK-LABEL: test_mask_packs_epi16_rrkz_256
-  ;CHECK: vpacksswb       %ymm1, %ymm0, %ymm0 {%k1} {z} ## encoding: [0x62,0xf1,0xfd,0xa9,0x63,0xc1]
+  ;CHECK: vpacksswb       %ymm1, %ymm0, %ymm0 {%k1} {z} ## encoding: [0x62,0xf1,0x7d,0xa9,0x63,0xc1]
   %res = call <32 x i8> @llvm.x86.avx512.mask.packsswb.256(<16 x i16> %a, <16 x i16> %b, <32 x i8> zeroinitializer, i32 %mask)
   ret <32 x i8> %res
 }
 
 define <32 x i8> @test_mask_packs_epi16_rm_256(<16 x i16> %a, <16 x i16>* %ptr_b) {
   ;CHECK-LABEL: test_mask_packs_epi16_rm_256
-  ;CHECK: vpacksswb       (%rdi), %ymm0, %ymm0 ## encoding: [0x62,0xf1,0xfd,0x28,0x63,0x07]
+  ;CHECK: vpacksswb       (%rdi), %ymm0, %ymm0 ## encoding: [0x62,0xf1,0x7d,0x28,0x63,0x07]
   %b = load <16 x i16>, <16 x i16>* %ptr_b
   %res = call <32 x i8> @llvm.x86.avx512.mask.packsswb.256(<16 x i16> %a, <16 x i16> %b, <32 x i8> zeroinitializer, i32 -1)
   ret <32 x i8> %res
@@ -2285,7 +2285,7 @@ define <32 x i8> @test_mask_packs_epi16_
 
 define <32 x i8> @test_mask_packs_epi16_rmk_256(<16 x i16> %a, <16 x i16>* %ptr_b, <32 x i8> %passThru, i32 %mask) {
   ;CHECK-LABEL: test_mask_packs_epi16_rmk_256
-  ;CHECK: vpacksswb       (%rdi), %ymm0, %ymm1 {%k1} ## encoding: [0x62,0xf1,0xfd,0x29,0x63,0x0f]
+  ;CHECK: vpacksswb       (%rdi), %ymm0, %ymm1 {%k1} ## encoding: [0x62,0xf1,0x7d,0x29,0x63,0x0f]
   %b = load <16 x i16>, <16 x i16>* %ptr_b
   %res = call <32 x i8> @llvm.x86.avx512.mask.packsswb.256(<16 x i16> %a, <16 x i16> %b, <32 x i8> %passThru, i32 %mask)
   ret <32 x i8> %res
@@ -2293,7 +2293,7 @@ define <32 x i8> @test_mask_packs_epi16_
 
 define <32 x i8> @test_mask_packs_epi16_rmkz_256(<16 x i16> %a, <16 x i16>* %ptr_b, i32 %mask) {
   ;CHECK-LABEL: test_mask_packs_epi16_rmkz_256
-  ;CHECK: vpacksswb       (%rdi), %ymm0, %ymm0 {%k1} {z} ## encoding: [0x62,0xf1,0xfd,0xa9,0x63,0x07]
+  ;CHECK: vpacksswb       (%rdi), %ymm0, %ymm0 {%k1} {z} ## encoding: [0x62,0xf1,0x7d,0xa9,0x63,0x07]
   %b = load <16 x i16>, <16 x i16>* %ptr_b
   %res = call <32 x i8> @llvm.x86.avx512.mask.packsswb.256(<16 x i16> %a, <16 x i16> %b, <32 x i8> zeroinitializer, i32 %mask)
   ret <32 x i8> %res

Modified: llvm/trunk/test/MC/X86/x86-64-avx512bw.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/x86-64-avx512bw.s?rev=268200&r1=268199&r2=268200&view=diff
==============================================================================
--- llvm/trunk/test/MC/X86/x86-64-avx512bw.s (original)
+++ llvm/trunk/test/MC/X86/x86-64-avx512bw.s Sun May  1 12:38:32 2016
@@ -2081,147 +2081,147 @@
           vpsravw -8256(%rdx), %zmm29, %zmm19
 
 // CHECK: vpacksswb %zmm18, %zmm29, %zmm21
-// CHECK:  encoding: [0x62,0xa1,0x95,0x40,0x63,0xea]
+// CHECK:  encoding: [0x62,0xa1,0x15,0x40,0x63,0xea]
           vpacksswb %zmm18, %zmm29, %zmm21
 
 // CHECK: vpacksswb %zmm18, %zmm29, %zmm21 {%k1}
-// CHECK:  encoding: [0x62,0xa1,0x95,0x41,0x63,0xea]
+// CHECK:  encoding: [0x62,0xa1,0x15,0x41,0x63,0xea]
           vpacksswb %zmm18, %zmm29, %zmm21 {%k1}
 
 // CHECK: vpacksswb %zmm18, %zmm29, %zmm21 {%k1} {z}
-// CHECK:  encoding: [0x62,0xa1,0x95,0xc1,0x63,0xea]
+// CHECK:  encoding: [0x62,0xa1,0x15,0xc1,0x63,0xea]
           vpacksswb %zmm18, %zmm29, %zmm21 {%k1} {z}
 
 // CHECK: vpacksswb (%rcx), %zmm29, %zmm21
-// CHECK:  encoding: [0x62,0xe1,0x95,0x40,0x63,0x29]
+// CHECK:  encoding: [0x62,0xe1,0x15,0x40,0x63,0x29]
           vpacksswb (%rcx), %zmm29, %zmm21
 
 // CHECK: vpacksswb 291(%rax,%r14,8), %zmm29, %zmm21
-// CHECK:  encoding: [0x62,0xa1,0x95,0x40,0x63,0xac,0xf0,0x23,0x01,0x00,0x00]
+// CHECK:  encoding: [0x62,0xa1,0x15,0x40,0x63,0xac,0xf0,0x23,0x01,0x00,0x00]
           vpacksswb 291(%rax,%r14,8), %zmm29, %zmm21
 
 // CHECK: vpacksswb 8128(%rdx), %zmm29, %zmm21
-// CHECK:  encoding: [0x62,0xe1,0x95,0x40,0x63,0x6a,0x7f]
+// CHECK:  encoding: [0x62,0xe1,0x15,0x40,0x63,0x6a,0x7f]
           vpacksswb 8128(%rdx), %zmm29, %zmm21
 
 // CHECK: vpacksswb 8192(%rdx), %zmm29, %zmm21
-// CHECK:  encoding: [0x62,0xe1,0x95,0x40,0x63,0xaa,0x00,0x20,0x00,0x00]
+// CHECK:  encoding: [0x62,0xe1,0x15,0x40,0x63,0xaa,0x00,0x20,0x00,0x00]
           vpacksswb 8192(%rdx), %zmm29, %zmm21
 
 // CHECK: vpacksswb -8192(%rdx), %zmm29, %zmm21
-// CHECK:  encoding: [0x62,0xe1,0x95,0x40,0x63,0x6a,0x80]
+// CHECK:  encoding: [0x62,0xe1,0x15,0x40,0x63,0x6a,0x80]
           vpacksswb -8192(%rdx), %zmm29, %zmm21
 
 // CHECK: vpacksswb -8256(%rdx), %zmm29, %zmm21
-// CHECK:  encoding: [0x62,0xe1,0x95,0x40,0x63,0xaa,0xc0,0xdf,0xff,0xff]
+// CHECK:  encoding: [0x62,0xe1,0x15,0x40,0x63,0xaa,0xc0,0xdf,0xff,0xff]
           vpacksswb -8256(%rdx), %zmm29, %zmm21
 
 // CHECK: vpackuswb %zmm28, %zmm24, %zmm28
-// CHECK:  encoding: [0x62,0x01,0xbd,0x40,0x67,0xe4]
+// CHECK:  encoding: [0x62,0x01,0x3d,0x40,0x67,0xe4]
           vpackuswb %zmm28, %zmm24, %zmm28
 
 // CHECK: vpackuswb %zmm28, %zmm24, %zmm28 {%k6}
-// CHECK:  encoding: [0x62,0x01,0xbd,0x46,0x67,0xe4]
+// CHECK:  encoding: [0x62,0x01,0x3d,0x46,0x67,0xe4]
           vpackuswb %zmm28, %zmm24, %zmm28 {%k6}
 
 // CHECK: vpackuswb %zmm28, %zmm24, %zmm28 {%k6} {z}
-// CHECK:  encoding: [0x62,0x01,0xbd,0xc6,0x67,0xe4]
+// CHECK:  encoding: [0x62,0x01,0x3d,0xc6,0x67,0xe4]
           vpackuswb %zmm28, %zmm24, %zmm28 {%k6} {z}
 
 // CHECK: vpackuswb (%rcx), %zmm24, %zmm28
-// CHECK:  encoding: [0x62,0x61,0xbd,0x40,0x67,0x21]
+// CHECK:  encoding: [0x62,0x61,0x3d,0x40,0x67,0x21]
           vpackuswb (%rcx), %zmm24, %zmm28
 
 // CHECK: vpackuswb 291(%rax,%r14,8), %zmm24, %zmm28
-// CHECK:  encoding: [0x62,0x21,0xbd,0x40,0x67,0xa4,0xf0,0x23,0x01,0x00,0x00]
+// CHECK:  encoding: [0x62,0x21,0x3d,0x40,0x67,0xa4,0xf0,0x23,0x01,0x00,0x00]
           vpackuswb 291(%rax,%r14,8), %zmm24, %zmm28
 
 // CHECK: vpackuswb 8128(%rdx), %zmm24, %zmm28
-// CHECK:  encoding: [0x62,0x61,0xbd,0x40,0x67,0x62,0x7f]
+// CHECK:  encoding: [0x62,0x61,0x3d,0x40,0x67,0x62,0x7f]
           vpackuswb 8128(%rdx), %zmm24, %zmm28
 
 // CHECK: vpackuswb 8192(%rdx), %zmm24, %zmm28
-// CHECK:  encoding: [0x62,0x61,0xbd,0x40,0x67,0xa2,0x00,0x20,0x00,0x00]
+// CHECK:  encoding: [0x62,0x61,0x3d,0x40,0x67,0xa2,0x00,0x20,0x00,0x00]
           vpackuswb 8192(%rdx), %zmm24, %zmm28
 
 // CHECK: vpackuswb -8192(%rdx), %zmm24, %zmm28
-// CHECK:  encoding: [0x62,0x61,0xbd,0x40,0x67,0x62,0x80]
+// CHECK:  encoding: [0x62,0x61,0x3d,0x40,0x67,0x62,0x80]
           vpackuswb -8192(%rdx), %zmm24, %zmm28
 
 // CHECK: vpackuswb -8256(%rdx), %zmm24, %zmm28
-// CHECK:  encoding: [0x62,0x61,0xbd,0x40,0x67,0xa2,0xc0,0xdf,0xff,0xff]
+// CHECK:  encoding: [0x62,0x61,0x3d,0x40,0x67,0xa2,0xc0,0xdf,0xff,0xff]
           vpackuswb -8256(%rdx), %zmm24, %zmm28
 
 // CHECK: vpacksswb %zmm24, %zmm29, %zmm26
-// CHECK:  encoding: [0x62,0x01,0x95,0x40,0x63,0xd0]
+// CHECK:  encoding: [0x62,0x01,0x15,0x40,0x63,0xd0]
           vpacksswb %zmm24, %zmm29, %zmm26
 
 // CHECK: vpacksswb %zmm24, %zmm29, %zmm26 {%k6}
-// CHECK:  encoding: [0x62,0x01,0x95,0x46,0x63,0xd0]
+// CHECK:  encoding: [0x62,0x01,0x15,0x46,0x63,0xd0]
           vpacksswb %zmm24, %zmm29, %zmm26 {%k6}
 
 // CHECK: vpacksswb %zmm24, %zmm29, %zmm26 {%k6} {z}
-// CHECK:  encoding: [0x62,0x01,0x95,0xc6,0x63,0xd0]
+// CHECK:  encoding: [0x62,0x01,0x15,0xc6,0x63,0xd0]
           vpacksswb %zmm24, %zmm29, %zmm26 {%k6} {z}
 
 // CHECK: vpacksswb (%rcx), %zmm29, %zmm26
-// CHECK:  encoding: [0x62,0x61,0x95,0x40,0x63,0x11]
+// CHECK:  encoding: [0x62,0x61,0x15,0x40,0x63,0x11]
           vpacksswb (%rcx), %zmm29, %zmm26
 
 // CHECK: vpacksswb 4660(%rax,%r14,8), %zmm29, %zmm26
-// CHECK:  encoding: [0x62,0x21,0x95,0x40,0x63,0x94,0xf0,0x34,0x12,0x00,0x00]
+// CHECK:  encoding: [0x62,0x21,0x15,0x40,0x63,0x94,0xf0,0x34,0x12,0x00,0x00]
           vpacksswb 4660(%rax,%r14,8), %zmm29, %zmm26
 
 // CHECK: vpacksswb 8128(%rdx), %zmm29, %zmm26
-// CHECK:  encoding: [0x62,0x61,0x95,0x40,0x63,0x52,0x7f]
+// CHECK:  encoding: [0x62,0x61,0x15,0x40,0x63,0x52,0x7f]
           vpacksswb 8128(%rdx), %zmm29, %zmm26
 
 // CHECK: vpacksswb 8192(%rdx), %zmm29, %zmm26
-// CHECK:  encoding: [0x62,0x61,0x95,0x40,0x63,0x92,0x00,0x20,0x00,0x00]
+// CHECK:  encoding: [0x62,0x61,0x15,0x40,0x63,0x92,0x00,0x20,0x00,0x00]
           vpacksswb 8192(%rdx), %zmm29, %zmm26
 
 // CHECK: vpacksswb -8192(%rdx), %zmm29, %zmm26
-// CHECK:  encoding: [0x62,0x61,0x95,0x40,0x63,0x52,0x80]
+// CHECK:  encoding: [0x62,0x61,0x15,0x40,0x63,0x52,0x80]
           vpacksswb -8192(%rdx), %zmm29, %zmm26
 
 // CHECK: vpacksswb -8256(%rdx), %zmm29, %zmm26
-// CHECK:  encoding: [0x62,0x61,0x95,0x40,0x63,0x92,0xc0,0xdf,0xff,0xff]
+// CHECK:  encoding: [0x62,0x61,0x15,0x40,0x63,0x92,0xc0,0xdf,0xff,0xff]
           vpacksswb -8256(%rdx), %zmm29, %zmm26
 
 // CHECK: vpackuswb %zmm23, %zmm28, %zmm18
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x40,0x67,0xd7]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x40,0x67,0xd7]
           vpackuswb %zmm23, %zmm28, %zmm18
 
 // CHECK: vpackuswb %zmm23, %zmm28, %zmm18 {%k4}
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x44,0x67,0xd7]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x44,0x67,0xd7]
           vpackuswb %zmm23, %zmm28, %zmm18 {%k4}
 
 // CHECK: vpackuswb %zmm23, %zmm28, %zmm18 {%k4} {z}
-// CHECK:  encoding: [0x62,0xa1,0x9d,0xc4,0x67,0xd7]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0xc4,0x67,0xd7]
           vpackuswb %zmm23, %zmm28, %zmm18 {%k4} {z}
 
 // CHECK: vpackuswb (%rcx), %zmm28, %zmm18
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x40,0x67,0x11]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x40,0x67,0x11]
           vpackuswb (%rcx), %zmm28, %zmm18
 
 // CHECK: vpackuswb 4660(%rax,%r14,8), %zmm28, %zmm18
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x40,0x67,0x94,0xf0,0x34,0x12,0x00,0x00]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x40,0x67,0x94,0xf0,0x34,0x12,0x00,0x00]
           vpackuswb 4660(%rax,%r14,8), %zmm28, %zmm18
 
 // CHECK: vpackuswb 8128(%rdx), %zmm28, %zmm18
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x40,0x67,0x52,0x7f]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x40,0x67,0x52,0x7f]
           vpackuswb 8128(%rdx), %zmm28, %zmm18
 
 // CHECK: vpackuswb 8192(%rdx), %zmm28, %zmm18
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x40,0x67,0x92,0x00,0x20,0x00,0x00]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x40,0x67,0x92,0x00,0x20,0x00,0x00]
           vpackuswb 8192(%rdx), %zmm28, %zmm18
 
 // CHECK: vpackuswb -8192(%rdx), %zmm28, %zmm18
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x40,0x67,0x52,0x80]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x40,0x67,0x52,0x80]
           vpackuswb -8192(%rdx), %zmm28, %zmm18
 
 // CHECK: vpackuswb -8256(%rdx), %zmm28, %zmm18
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x40,0x67,0x92,0xc0,0xdf,0xff,0xff]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x40,0x67,0x92,0xc0,0xdf,0xff,0xff]
           vpackuswb -8256(%rdx), %zmm28, %zmm18
 
 // CHECK: vpackssdw %zmm22, %zmm27, %zmm24
@@ -2281,39 +2281,39 @@
           vpackssdw -516(%rdx){1to16}, %zmm27, %zmm24
 
 // CHECK: vpacksswb %zmm23, %zmm18, %zmm28
-// CHECK:  encoding: [0x62,0x21,0xed,0x40,0x63,0xe7]
+// CHECK:  encoding: [0x62,0x21,0x6d,0x40,0x63,0xe7]
           vpacksswb %zmm23, %zmm18, %zmm28
 
 // CHECK: vpacksswb %zmm23, %zmm18, %zmm28 {%k3}
-// CHECK:  encoding: [0x62,0x21,0xed,0x43,0x63,0xe7]
+// CHECK:  encoding: [0x62,0x21,0x6d,0x43,0x63,0xe7]
           vpacksswb %zmm23, %zmm18, %zmm28 {%k3}
 
 // CHECK: vpacksswb %zmm23, %zmm18, %zmm28 {%k3} {z}
-// CHECK:  encoding: [0x62,0x21,0xed,0xc3,0x63,0xe7]
+// CHECK:  encoding: [0x62,0x21,0x6d,0xc3,0x63,0xe7]
           vpacksswb %zmm23, %zmm18, %zmm28 {%k3} {z}
 
 // CHECK: vpacksswb (%rcx), %zmm18, %zmm28
-// CHECK:  encoding: [0x62,0x61,0xed,0x40,0x63,0x21]
+// CHECK:  encoding: [0x62,0x61,0x6d,0x40,0x63,0x21]
           vpacksswb (%rcx), %zmm18, %zmm28
 
 // CHECK: vpacksswb 291(%rax,%r14,8), %zmm18, %zmm28
-// CHECK:  encoding: [0x62,0x21,0xed,0x40,0x63,0xa4,0xf0,0x23,0x01,0x00,0x00]
+// CHECK:  encoding: [0x62,0x21,0x6d,0x40,0x63,0xa4,0xf0,0x23,0x01,0x00,0x00]
           vpacksswb 291(%rax,%r14,8), %zmm18, %zmm28
 
 // CHECK: vpacksswb 8128(%rdx), %zmm18, %zmm28
-// CHECK:  encoding: [0x62,0x61,0xed,0x40,0x63,0x62,0x7f]
+// CHECK:  encoding: [0x62,0x61,0x6d,0x40,0x63,0x62,0x7f]
           vpacksswb 8128(%rdx), %zmm18, %zmm28
 
 // CHECK: vpacksswb 8192(%rdx), %zmm18, %zmm28
-// CHECK:  encoding: [0x62,0x61,0xed,0x40,0x63,0xa2,0x00,0x20,0x00,0x00]
+// CHECK:  encoding: [0x62,0x61,0x6d,0x40,0x63,0xa2,0x00,0x20,0x00,0x00]
           vpacksswb 8192(%rdx), %zmm18, %zmm28
 
 // CHECK: vpacksswb -8192(%rdx), %zmm18, %zmm28
-// CHECK:  encoding: [0x62,0x61,0xed,0x40,0x63,0x62,0x80]
+// CHECK:  encoding: [0x62,0x61,0x6d,0x40,0x63,0x62,0x80]
           vpacksswb -8192(%rdx), %zmm18, %zmm28
 
 // CHECK: vpacksswb -8256(%rdx), %zmm18, %zmm28
-// CHECK:  encoding: [0x62,0x61,0xed,0x40,0x63,0xa2,0xc0,0xdf,0xff,0xff]
+// CHECK:  encoding: [0x62,0x61,0x6d,0x40,0x63,0xa2,0xc0,0xdf,0xff,0xff]
           vpacksswb -8256(%rdx), %zmm18, %zmm28
 
 // CHECK: vpackusdw %zmm21, %zmm29, %zmm18
@@ -2373,39 +2373,39 @@
           vpackusdw -516(%rdx){1to16}, %zmm29, %zmm18
 
 // CHECK: vpackuswb %zmm27, %zmm18, %zmm23
-// CHECK:  encoding: [0x62,0x81,0xed,0x40,0x67,0xfb]
+// CHECK:  encoding: [0x62,0x81,0x6d,0x40,0x67,0xfb]
           vpackuswb %zmm27, %zmm18, %zmm23
 
 // CHECK: vpackuswb %zmm27, %zmm18, %zmm23 {%k5}
-// CHECK:  encoding: [0x62,0x81,0xed,0x45,0x67,0xfb]
+// CHECK:  encoding: [0x62,0x81,0x6d,0x45,0x67,0xfb]
           vpackuswb %zmm27, %zmm18, %zmm23 {%k5}
 
 // CHECK: vpackuswb %zmm27, %zmm18, %zmm23 {%k5} {z}
-// CHECK:  encoding: [0x62,0x81,0xed,0xc5,0x67,0xfb]
+// CHECK:  encoding: [0x62,0x81,0x6d,0xc5,0x67,0xfb]
           vpackuswb %zmm27, %zmm18, %zmm23 {%k5} {z}
 
 // CHECK: vpackuswb (%rcx), %zmm18, %zmm23
-// CHECK:  encoding: [0x62,0xe1,0xed,0x40,0x67,0x39]
+// CHECK:  encoding: [0x62,0xe1,0x6d,0x40,0x67,0x39]
           vpackuswb (%rcx), %zmm18, %zmm23
 
 // CHECK: vpackuswb 291(%rax,%r14,8), %zmm18, %zmm23
-// CHECK:  encoding: [0x62,0xa1,0xed,0x40,0x67,0xbc,0xf0,0x23,0x01,0x00,0x00]
+// CHECK:  encoding: [0x62,0xa1,0x6d,0x40,0x67,0xbc,0xf0,0x23,0x01,0x00,0x00]
           vpackuswb 291(%rax,%r14,8), %zmm18, %zmm23
 
 // CHECK: vpackuswb 8128(%rdx), %zmm18, %zmm23
-// CHECK:  encoding: [0x62,0xe1,0xed,0x40,0x67,0x7a,0x7f]
+// CHECK:  encoding: [0x62,0xe1,0x6d,0x40,0x67,0x7a,0x7f]
           vpackuswb 8128(%rdx), %zmm18, %zmm23
 
 // CHECK: vpackuswb 8192(%rdx), %zmm18, %zmm23
-// CHECK:  encoding: [0x62,0xe1,0xed,0x40,0x67,0xba,0x00,0x20,0x00,0x00]
+// CHECK:  encoding: [0x62,0xe1,0x6d,0x40,0x67,0xba,0x00,0x20,0x00,0x00]
           vpackuswb 8192(%rdx), %zmm18, %zmm23
 
 // CHECK: vpackuswb -8192(%rdx), %zmm18, %zmm23
-// CHECK:  encoding: [0x62,0xe1,0xed,0x40,0x67,0x7a,0x80]
+// CHECK:  encoding: [0x62,0xe1,0x6d,0x40,0x67,0x7a,0x80]
           vpackuswb -8192(%rdx), %zmm18, %zmm23
 
 // CHECK: vpackuswb -8256(%rdx), %zmm18, %zmm23
-// CHECK:  encoding: [0x62,0xe1,0xed,0x40,0x67,0xba,0xc0,0xdf,0xff,0xff]
+// CHECK:  encoding: [0x62,0xe1,0x6d,0x40,0x67,0xba,0xc0,0xdf,0xff,0xff]
           vpackuswb -8256(%rdx), %zmm18, %zmm23
 
 // CHECK: vpaddsb %zmm20, %zmm19, %zmm19

Modified: llvm/trunk/test/MC/X86/x86-64-avx512bw_vl.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/x86-64-avx512bw_vl.s?rev=268200&r1=268199&r2=268200&view=diff
==============================================================================
--- llvm/trunk/test/MC/X86/x86-64-avx512bw_vl.s (original)
+++ llvm/trunk/test/MC/X86/x86-64-avx512bw_vl.s Sun May  1 12:38:32 2016
@@ -2449,291 +2449,291 @@
           vpsravw -4128(%rdx), %ymm28, %ymm20
 
 // CHECK: vpacksswb %xmm20, %xmm29, %xmm17
-// CHECK:  encoding: [0x62,0xa1,0x95,0x00,0x63,0xcc]
+// CHECK:  encoding: [0x62,0xa1,0x15,0x00,0x63,0xcc]
           vpacksswb %xmm20, %xmm29, %xmm17
 
 // CHECK: vpacksswb %xmm20, %xmm29, %xmm17 {%k3}
-// CHECK:  encoding: [0x62,0xa1,0x95,0x03,0x63,0xcc]
+// CHECK:  encoding: [0x62,0xa1,0x15,0x03,0x63,0xcc]
           vpacksswb %xmm20, %xmm29, %xmm17 {%k3}
 
 // CHECK: vpacksswb %xmm20, %xmm29, %xmm17 {%k3} {z}
-// CHECK:  encoding: [0x62,0xa1,0x95,0x83,0x63,0xcc]
+// CHECK:  encoding: [0x62,0xa1,0x15,0x83,0x63,0xcc]
           vpacksswb %xmm20, %xmm29, %xmm17 {%k3} {z}
 
 // CHECK: vpacksswb (%rcx), %xmm29, %xmm17
-// CHECK:  encoding: [0x62,0xe1,0x95,0x00,0x63,0x09]
+// CHECK:  encoding: [0x62,0xe1,0x15,0x00,0x63,0x09]
           vpacksswb (%rcx), %xmm29, %xmm17
 
 // CHECK: vpacksswb 291(%rax,%r14,8), %xmm29, %xmm17
-// CHECK:  encoding: [0x62,0xa1,0x95,0x00,0x63,0x8c,0xf0,0x23,0x01,0x00,0x00]
+// CHECK:  encoding: [0x62,0xa1,0x15,0x00,0x63,0x8c,0xf0,0x23,0x01,0x00,0x00]
           vpacksswb 291(%rax,%r14,8), %xmm29, %xmm17
 
 // CHECK: vpacksswb 2032(%rdx), %xmm29, %xmm17
-// CHECK:  encoding: [0x62,0xe1,0x95,0x00,0x63,0x4a,0x7f]
+// CHECK:  encoding: [0x62,0xe1,0x15,0x00,0x63,0x4a,0x7f]
           vpacksswb 2032(%rdx), %xmm29, %xmm17
 
 // CHECK: vpacksswb 2048(%rdx), %xmm29, %xmm17
-// CHECK:  encoding: [0x62,0xe1,0x95,0x00,0x63,0x8a,0x00,0x08,0x00,0x00]
+// CHECK:  encoding: [0x62,0xe1,0x15,0x00,0x63,0x8a,0x00,0x08,0x00,0x00]
           vpacksswb 2048(%rdx), %xmm29, %xmm17
 
 // CHECK: vpacksswb -2048(%rdx), %xmm29, %xmm17
-// CHECK:  encoding: [0x62,0xe1,0x95,0x00,0x63,0x4a,0x80]
+// CHECK:  encoding: [0x62,0xe1,0x15,0x00,0x63,0x4a,0x80]
           vpacksswb -2048(%rdx), %xmm29, %xmm17
 
 // CHECK: vpacksswb -2064(%rdx), %xmm29, %xmm17
-// CHECK:  encoding: [0x62,0xe1,0x95,0x00,0x63,0x8a,0xf0,0xf7,0xff,0xff]
+// CHECK:  encoding: [0x62,0xe1,0x15,0x00,0x63,0x8a,0xf0,0xf7,0xff,0xff]
           vpacksswb -2064(%rdx), %xmm29, %xmm17
 
 // CHECK: vpacksswb %ymm21, %ymm26, %ymm29
-// CHECK:  encoding: [0x62,0x21,0xad,0x20,0x63,0xed]
+// CHECK:  encoding: [0x62,0x21,0x2d,0x20,0x63,0xed]
           vpacksswb %ymm21, %ymm26, %ymm29
 
 // CHECK: vpacksswb %ymm21, %ymm26, %ymm29 {%k2}
-// CHECK:  encoding: [0x62,0x21,0xad,0x22,0x63,0xed]
+// CHECK:  encoding: [0x62,0x21,0x2d,0x22,0x63,0xed]
           vpacksswb %ymm21, %ymm26, %ymm29 {%k2}
 
 // CHECK: vpacksswb %ymm21, %ymm26, %ymm29 {%k2} {z}
-// CHECK:  encoding: [0x62,0x21,0xad,0xa2,0x63,0xed]
+// CHECK:  encoding: [0x62,0x21,0x2d,0xa2,0x63,0xed]
           vpacksswb %ymm21, %ymm26, %ymm29 {%k2} {z}
 
 // CHECK: vpacksswb (%rcx), %ymm26, %ymm29
-// CHECK:  encoding: [0x62,0x61,0xad,0x20,0x63,0x29]
+// CHECK:  encoding: [0x62,0x61,0x2d,0x20,0x63,0x29]
           vpacksswb (%rcx), %ymm26, %ymm29
 
 // CHECK: vpacksswb 291(%rax,%r14,8), %ymm26, %ymm29
-// CHECK:  encoding: [0x62,0x21,0xad,0x20,0x63,0xac,0xf0,0x23,0x01,0x00,0x00]
+// CHECK:  encoding: [0x62,0x21,0x2d,0x20,0x63,0xac,0xf0,0x23,0x01,0x00,0x00]
           vpacksswb 291(%rax,%r14,8), %ymm26, %ymm29
 
 // CHECK: vpacksswb 4064(%rdx), %ymm26, %ymm29
-// CHECK:  encoding: [0x62,0x61,0xad,0x20,0x63,0x6a,0x7f]
+// CHECK:  encoding: [0x62,0x61,0x2d,0x20,0x63,0x6a,0x7f]
           vpacksswb 4064(%rdx), %ymm26, %ymm29
 
 // CHECK: vpacksswb 4096(%rdx), %ymm26, %ymm29
-// CHECK:  encoding: [0x62,0x61,0xad,0x20,0x63,0xaa,0x00,0x10,0x00,0x00]
+// CHECK:  encoding: [0x62,0x61,0x2d,0x20,0x63,0xaa,0x00,0x10,0x00,0x00]
           vpacksswb 4096(%rdx), %ymm26, %ymm29
 
 // CHECK: vpacksswb -4096(%rdx), %ymm26, %ymm29
-// CHECK:  encoding: [0x62,0x61,0xad,0x20,0x63,0x6a,0x80]
+// CHECK:  encoding: [0x62,0x61,0x2d,0x20,0x63,0x6a,0x80]
           vpacksswb -4096(%rdx), %ymm26, %ymm29
 
 // CHECK: vpacksswb -4128(%rdx), %ymm26, %ymm29
-// CHECK:  encoding: [0x62,0x61,0xad,0x20,0x63,0xaa,0xe0,0xef,0xff,0xff]
+// CHECK:  encoding: [0x62,0x61,0x2d,0x20,0x63,0xaa,0xe0,0xef,0xff,0xff]
           vpacksswb -4128(%rdx), %ymm26, %ymm29
 
 // CHECK: vpackuswb %xmm24, %xmm26, %xmm20
-// CHECK:  encoding: [0x62,0x81,0xad,0x00,0x67,0xe0]
+// CHECK:  encoding: [0x62,0x81,0x2d,0x00,0x67,0xe0]
           vpackuswb %xmm24, %xmm26, %xmm20
 
 // CHECK: vpackuswb %xmm24, %xmm26, %xmm20 {%k4}
-// CHECK:  encoding: [0x62,0x81,0xad,0x04,0x67,0xe0]
+// CHECK:  encoding: [0x62,0x81,0x2d,0x04,0x67,0xe0]
           vpackuswb %xmm24, %xmm26, %xmm20 {%k4}
 
 // CHECK: vpackuswb %xmm24, %xmm26, %xmm20 {%k4} {z}
-// CHECK:  encoding: [0x62,0x81,0xad,0x84,0x67,0xe0]
+// CHECK:  encoding: [0x62,0x81,0x2d,0x84,0x67,0xe0]
           vpackuswb %xmm24, %xmm26, %xmm20 {%k4} {z}
 
 // CHECK: vpackuswb (%rcx), %xmm26, %xmm20
-// CHECK:  encoding: [0x62,0xe1,0xad,0x00,0x67,0x21]
+// CHECK:  encoding: [0x62,0xe1,0x2d,0x00,0x67,0x21]
           vpackuswb (%rcx), %xmm26, %xmm20
 
 // CHECK: vpackuswb 291(%rax,%r14,8), %xmm26, %xmm20
-// CHECK:  encoding: [0x62,0xa1,0xad,0x00,0x67,0xa4,0xf0,0x23,0x01,0x00,0x00]
+// CHECK:  encoding: [0x62,0xa1,0x2d,0x00,0x67,0xa4,0xf0,0x23,0x01,0x00,0x00]
           vpackuswb 291(%rax,%r14,8), %xmm26, %xmm20
 
 // CHECK: vpackuswb 2032(%rdx), %xmm26, %xmm20
-// CHECK:  encoding: [0x62,0xe1,0xad,0x00,0x67,0x62,0x7f]
+// CHECK:  encoding: [0x62,0xe1,0x2d,0x00,0x67,0x62,0x7f]
           vpackuswb 2032(%rdx), %xmm26, %xmm20
 
 // CHECK: vpackuswb 2048(%rdx), %xmm26, %xmm20
-// CHECK:  encoding: [0x62,0xe1,0xad,0x00,0x67,0xa2,0x00,0x08,0x00,0x00]
+// CHECK:  encoding: [0x62,0xe1,0x2d,0x00,0x67,0xa2,0x00,0x08,0x00,0x00]
           vpackuswb 2048(%rdx), %xmm26, %xmm20
 
 // CHECK: vpackuswb -2048(%rdx), %xmm26, %xmm20
-// CHECK:  encoding: [0x62,0xe1,0xad,0x00,0x67,0x62,0x80]
+// CHECK:  encoding: [0x62,0xe1,0x2d,0x00,0x67,0x62,0x80]
           vpackuswb -2048(%rdx), %xmm26, %xmm20
 
 // CHECK: vpackuswb -2064(%rdx), %xmm26, %xmm20
-// CHECK:  encoding: [0x62,0xe1,0xad,0x00,0x67,0xa2,0xf0,0xf7,0xff,0xff]
+// CHECK:  encoding: [0x62,0xe1,0x2d,0x00,0x67,0xa2,0xf0,0xf7,0xff,0xff]
           vpackuswb -2064(%rdx), %xmm26, %xmm20
 
 // CHECK: vpackuswb %ymm20, %ymm28, %ymm19
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x20,0x67,0xdc]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x20,0x67,0xdc]
           vpackuswb %ymm20, %ymm28, %ymm19
 
 // CHECK: vpackuswb %ymm20, %ymm28, %ymm19 {%k2}
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x22,0x67,0xdc]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x22,0x67,0xdc]
           vpackuswb %ymm20, %ymm28, %ymm19 {%k2}
 
 // CHECK: vpackuswb %ymm20, %ymm28, %ymm19 {%k2} {z}
-// CHECK:  encoding: [0x62,0xa1,0x9d,0xa2,0x67,0xdc]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0xa2,0x67,0xdc]
           vpackuswb %ymm20, %ymm28, %ymm19 {%k2} {z}
 
 // CHECK: vpackuswb (%rcx), %ymm28, %ymm19
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x20,0x67,0x19]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x20,0x67,0x19]
           vpackuswb (%rcx), %ymm28, %ymm19
 
 // CHECK: vpackuswb 291(%rax,%r14,8), %ymm28, %ymm19
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x20,0x67,0x9c,0xf0,0x23,0x01,0x00,0x00]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x20,0x67,0x9c,0xf0,0x23,0x01,0x00,0x00]
           vpackuswb 291(%rax,%r14,8), %ymm28, %ymm19
 
 // CHECK: vpackuswb 4064(%rdx), %ymm28, %ymm19
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x20,0x67,0x5a,0x7f]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x20,0x67,0x5a,0x7f]
           vpackuswb 4064(%rdx), %ymm28, %ymm19
 
 // CHECK: vpackuswb 4096(%rdx), %ymm28, %ymm19
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x20,0x67,0x9a,0x00,0x10,0x00,0x00]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x20,0x67,0x9a,0x00,0x10,0x00,0x00]
           vpackuswb 4096(%rdx), %ymm28, %ymm19
 
 // CHECK: vpackuswb -4096(%rdx), %ymm28, %ymm19
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x20,0x67,0x5a,0x80]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x20,0x67,0x5a,0x80]
           vpackuswb -4096(%rdx), %ymm28, %ymm19
 
 // CHECK: vpackuswb -4128(%rdx), %ymm28, %ymm19
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x20,0x67,0x9a,0xe0,0xef,0xff,0xff]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x20,0x67,0x9a,0xe0,0xef,0xff,0xff]
           vpackuswb -4128(%rdx), %ymm28, %ymm19
 
 // CHECK: vpacksswb %xmm25, %xmm18, %xmm19
-// CHECK:  encoding: [0x62,0x81,0xed,0x00,0x63,0xd9]
+// CHECK:  encoding: [0x62,0x81,0x6d,0x00,0x63,0xd9]
           vpacksswb %xmm25, %xmm18, %xmm19
 
 // CHECK: vpacksswb %xmm25, %xmm18, %xmm19 {%k4}
-// CHECK:  encoding: [0x62,0x81,0xed,0x04,0x63,0xd9]
+// CHECK:  encoding: [0x62,0x81,0x6d,0x04,0x63,0xd9]
           vpacksswb %xmm25, %xmm18, %xmm19 {%k4}
 
 // CHECK: vpacksswb %xmm25, %xmm18, %xmm19 {%k4} {z}
-// CHECK:  encoding: [0x62,0x81,0xed,0x84,0x63,0xd9]
+// CHECK:  encoding: [0x62,0x81,0x6d,0x84,0x63,0xd9]
           vpacksswb %xmm25, %xmm18, %xmm19 {%k4} {z}
 
 // CHECK: vpacksswb (%rcx), %xmm18, %xmm19
-// CHECK:  encoding: [0x62,0xe1,0xed,0x00,0x63,0x19]
+// CHECK:  encoding: [0x62,0xe1,0x6d,0x00,0x63,0x19]
           vpacksswb (%rcx), %xmm18, %xmm19
 
 // CHECK: vpacksswb 4660(%rax,%r14,8), %xmm18, %xmm19
-// CHECK:  encoding: [0x62,0xa1,0xed,0x00,0x63,0x9c,0xf0,0x34,0x12,0x00,0x00]
+// CHECK:  encoding: [0x62,0xa1,0x6d,0x00,0x63,0x9c,0xf0,0x34,0x12,0x00,0x00]
           vpacksswb 4660(%rax,%r14,8), %xmm18, %xmm19
 
 // CHECK: vpacksswb 2032(%rdx), %xmm18, %xmm19
-// CHECK:  encoding: [0x62,0xe1,0xed,0x00,0x63,0x5a,0x7f]
+// CHECK:  encoding: [0x62,0xe1,0x6d,0x00,0x63,0x5a,0x7f]
           vpacksswb 2032(%rdx), %xmm18, %xmm19
 
 // CHECK: vpacksswb 2048(%rdx), %xmm18, %xmm19
-// CHECK:  encoding: [0x62,0xe1,0xed,0x00,0x63,0x9a,0x00,0x08,0x00,0x00]
+// CHECK:  encoding: [0x62,0xe1,0x6d,0x00,0x63,0x9a,0x00,0x08,0x00,0x00]
           vpacksswb 2048(%rdx), %xmm18, %xmm19
 
 // CHECK: vpacksswb -2048(%rdx), %xmm18, %xmm19
-// CHECK:  encoding: [0x62,0xe1,0xed,0x00,0x63,0x5a,0x80]
+// CHECK:  encoding: [0x62,0xe1,0x6d,0x00,0x63,0x5a,0x80]
           vpacksswb -2048(%rdx), %xmm18, %xmm19
 
 // CHECK: vpacksswb -2064(%rdx), %xmm18, %xmm19
-// CHECK:  encoding: [0x62,0xe1,0xed,0x00,0x63,0x9a,0xf0,0xf7,0xff,0xff]
+// CHECK:  encoding: [0x62,0xe1,0x6d,0x00,0x63,0x9a,0xf0,0xf7,0xff,0xff]
           vpacksswb -2064(%rdx), %xmm18, %xmm19
 
 // CHECK: vpacksswb %ymm19, %ymm22, %ymm22
-// CHECK:  encoding: [0x62,0xa1,0xcd,0x20,0x63,0xf3]
+// CHECK:  encoding: [0x62,0xa1,0x4d,0x20,0x63,0xf3]
           vpacksswb %ymm19, %ymm22, %ymm22
 
 // CHECK: vpacksswb %ymm19, %ymm22, %ymm22 {%k7}
-// CHECK:  encoding: [0x62,0xa1,0xcd,0x27,0x63,0xf3]
+// CHECK:  encoding: [0x62,0xa1,0x4d,0x27,0x63,0xf3]
           vpacksswb %ymm19, %ymm22, %ymm22 {%k7}
 
 // CHECK: vpacksswb %ymm19, %ymm22, %ymm22 {%k7} {z}
-// CHECK:  encoding: [0x62,0xa1,0xcd,0xa7,0x63,0xf3]
+// CHECK:  encoding: [0x62,0xa1,0x4d,0xa7,0x63,0xf3]
           vpacksswb %ymm19, %ymm22, %ymm22 {%k7} {z}
 
 // CHECK: vpacksswb (%rcx), %ymm22, %ymm22
-// CHECK:  encoding: [0x62,0xe1,0xcd,0x20,0x63,0x31]
+// CHECK:  encoding: [0x62,0xe1,0x4d,0x20,0x63,0x31]
           vpacksswb (%rcx), %ymm22, %ymm22
 
 // CHECK: vpacksswb 4660(%rax,%r14,8), %ymm22, %ymm22
-// CHECK:  encoding: [0x62,0xa1,0xcd,0x20,0x63,0xb4,0xf0,0x34,0x12,0x00,0x00]
+// CHECK:  encoding: [0x62,0xa1,0x4d,0x20,0x63,0xb4,0xf0,0x34,0x12,0x00,0x00]
           vpacksswb 4660(%rax,%r14,8), %ymm22, %ymm22
 
 // CHECK: vpacksswb 4064(%rdx), %ymm22, %ymm22
-// CHECK:  encoding: [0x62,0xe1,0xcd,0x20,0x63,0x72,0x7f]
+// CHECK:  encoding: [0x62,0xe1,0x4d,0x20,0x63,0x72,0x7f]
           vpacksswb 4064(%rdx), %ymm22, %ymm22
 
 // CHECK: vpacksswb 4096(%rdx), %ymm22, %ymm22
-// CHECK:  encoding: [0x62,0xe1,0xcd,0x20,0x63,0xb2,0x00,0x10,0x00,0x00]
+// CHECK:  encoding: [0x62,0xe1,0x4d,0x20,0x63,0xb2,0x00,0x10,0x00,0x00]
           vpacksswb 4096(%rdx), %ymm22, %ymm22
 
 // CHECK: vpacksswb -4096(%rdx), %ymm22, %ymm22
-// CHECK:  encoding: [0x62,0xe1,0xcd,0x20,0x63,0x72,0x80]
+// CHECK:  encoding: [0x62,0xe1,0x4d,0x20,0x63,0x72,0x80]
           vpacksswb -4096(%rdx), %ymm22, %ymm22
 
 // CHECK: vpacksswb -4128(%rdx), %ymm22, %ymm22
-// CHECK:  encoding: [0x62,0xe1,0xcd,0x20,0x63,0xb2,0xe0,0xef,0xff,0xff]
+// CHECK:  encoding: [0x62,0xe1,0x4d,0x20,0x63,0xb2,0xe0,0xef,0xff,0xff]
           vpacksswb -4128(%rdx), %ymm22, %ymm22
 
 // CHECK: vpackuswb %xmm23, %xmm28, %xmm23
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x00,0x67,0xff]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x00,0x67,0xff]
           vpackuswb %xmm23, %xmm28, %xmm23
 
 // CHECK: vpackuswb %xmm23, %xmm28, %xmm23 {%k3}
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x03,0x67,0xff]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x03,0x67,0xff]
           vpackuswb %xmm23, %xmm28, %xmm23 {%k3}
 
 // CHECK: vpackuswb %xmm23, %xmm28, %xmm23 {%k3} {z}
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x83,0x67,0xff]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x83,0x67,0xff]
           vpackuswb %xmm23, %xmm28, %xmm23 {%k3} {z}
 
 // CHECK: vpackuswb (%rcx), %xmm28, %xmm23
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x00,0x67,0x39]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x00,0x67,0x39]
           vpackuswb (%rcx), %xmm28, %xmm23
 
 // CHECK: vpackuswb 4660(%rax,%r14,8), %xmm28, %xmm23
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x00,0x67,0xbc,0xf0,0x34,0x12,0x00,0x00]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x00,0x67,0xbc,0xf0,0x34,0x12,0x00,0x00]
           vpackuswb 4660(%rax,%r14,8), %xmm28, %xmm23
 
 // CHECK: vpackuswb 2032(%rdx), %xmm28, %xmm23
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x00,0x67,0x7a,0x7f]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x00,0x67,0x7a,0x7f]
           vpackuswb 2032(%rdx), %xmm28, %xmm23
 
 // CHECK: vpackuswb 2048(%rdx), %xmm28, %xmm23
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x00,0x67,0xba,0x00,0x08,0x00,0x00]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x00,0x67,0xba,0x00,0x08,0x00,0x00]
           vpackuswb 2048(%rdx), %xmm28, %xmm23
 
 // CHECK: vpackuswb -2048(%rdx), %xmm28, %xmm23
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x00,0x67,0x7a,0x80]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x00,0x67,0x7a,0x80]
           vpackuswb -2048(%rdx), %xmm28, %xmm23
 
 // CHECK: vpackuswb -2064(%rdx), %xmm28, %xmm23
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x00,0x67,0xba,0xf0,0xf7,0xff,0xff]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x00,0x67,0xba,0xf0,0xf7,0xff,0xff]
           vpackuswb -2064(%rdx), %xmm28, %xmm23
 
 // CHECK: vpackuswb %ymm27, %ymm26, %ymm20
-// CHECK:  encoding: [0x62,0x81,0xad,0x20,0x67,0xe3]
+// CHECK:  encoding: [0x62,0x81,0x2d,0x20,0x67,0xe3]
           vpackuswb %ymm27, %ymm26, %ymm20
 
 // CHECK: vpackuswb %ymm27, %ymm26, %ymm20 {%k6}
-// CHECK:  encoding: [0x62,0x81,0xad,0x26,0x67,0xe3]
+// CHECK:  encoding: [0x62,0x81,0x2d,0x26,0x67,0xe3]
           vpackuswb %ymm27, %ymm26, %ymm20 {%k6}
 
 // CHECK: vpackuswb %ymm27, %ymm26, %ymm20 {%k6} {z}
-// CHECK:  encoding: [0x62,0x81,0xad,0xa6,0x67,0xe3]
+// CHECK:  encoding: [0x62,0x81,0x2d,0xa6,0x67,0xe3]
           vpackuswb %ymm27, %ymm26, %ymm20 {%k6} {z}
 
 // CHECK: vpackuswb (%rcx), %ymm26, %ymm20
-// CHECK:  encoding: [0x62,0xe1,0xad,0x20,0x67,0x21]
+// CHECK:  encoding: [0x62,0xe1,0x2d,0x20,0x67,0x21]
           vpackuswb (%rcx), %ymm26, %ymm20
 
 // CHECK: vpackuswb 4660(%rax,%r14,8), %ymm26, %ymm20
-// CHECK:  encoding: [0x62,0xa1,0xad,0x20,0x67,0xa4,0xf0,0x34,0x12,0x00,0x00]
+// CHECK:  encoding: [0x62,0xa1,0x2d,0x20,0x67,0xa4,0xf0,0x34,0x12,0x00,0x00]
           vpackuswb 4660(%rax,%r14,8), %ymm26, %ymm20
 
 // CHECK: vpackuswb 4064(%rdx), %ymm26, %ymm20
-// CHECK:  encoding: [0x62,0xe1,0xad,0x20,0x67,0x62,0x7f]
+// CHECK:  encoding: [0x62,0xe1,0x2d,0x20,0x67,0x62,0x7f]
           vpackuswb 4064(%rdx), %ymm26, %ymm20
 
 // CHECK: vpackuswb 4096(%rdx), %ymm26, %ymm20
-// CHECK:  encoding: [0x62,0xe1,0xad,0x20,0x67,0xa2,0x00,0x10,0x00,0x00]
+// CHECK:  encoding: [0x62,0xe1,0x2d,0x20,0x67,0xa2,0x00,0x10,0x00,0x00]
           vpackuswb 4096(%rdx), %ymm26, %ymm20
 
 // CHECK: vpackuswb -4096(%rdx), %ymm26, %ymm20
-// CHECK:  encoding: [0x62,0xe1,0xad,0x20,0x67,0x62,0x80]
+// CHECK:  encoding: [0x62,0xe1,0x2d,0x20,0x67,0x62,0x80]
           vpackuswb -4096(%rdx), %ymm26, %ymm20
 
 // CHECK: vpackuswb -4128(%rdx), %ymm26, %ymm20
-// CHECK:  encoding: [0x62,0xe1,0xad,0x20,0x67,0xa2,0xe0,0xef,0xff,0xff]
+// CHECK:  encoding: [0x62,0xe1,0x2d,0x20,0x67,0xa2,0xe0,0xef,0xff,0xff]
           vpackuswb -4128(%rdx), %ymm26, %ymm20
 
 // CHECK: vpackssdw %xmm26, %xmm26, %xmm30
@@ -2849,75 +2849,75 @@
           vpackssdw -516(%rdx){1to8}, %ymm22, %ymm28
 
 // CHECK: vpacksswb %xmm21, %xmm28, %xmm25
-// CHECK:  encoding: [0x62,0x21,0x9d,0x00,0x63,0xcd]
+// CHECK:  encoding: [0x62,0x21,0x1d,0x00,0x63,0xcd]
           vpacksswb %xmm21, %xmm28, %xmm25
 
 // CHECK: vpacksswb %xmm21, %xmm28, %xmm25 {%k5}
-// CHECK:  encoding: [0x62,0x21,0x9d,0x05,0x63,0xcd]
+// CHECK:  encoding: [0x62,0x21,0x1d,0x05,0x63,0xcd]
           vpacksswb %xmm21, %xmm28, %xmm25 {%k5}
 
 // CHECK: vpacksswb %xmm21, %xmm28, %xmm25 {%k5} {z}
-// CHECK:  encoding: [0x62,0x21,0x9d,0x85,0x63,0xcd]
+// CHECK:  encoding: [0x62,0x21,0x1d,0x85,0x63,0xcd]
           vpacksswb %xmm21, %xmm28, %xmm25 {%k5} {z}
 
 // CHECK: vpacksswb (%rcx), %xmm28, %xmm25
-// CHECK:  encoding: [0x62,0x61,0x9d,0x00,0x63,0x09]
+// CHECK:  encoding: [0x62,0x61,0x1d,0x00,0x63,0x09]
           vpacksswb (%rcx), %xmm28, %xmm25
 
 // CHECK: vpacksswb 291(%rax,%r14,8), %xmm28, %xmm25
-// CHECK:  encoding: [0x62,0x21,0x9d,0x00,0x63,0x8c,0xf0,0x23,0x01,0x00,0x00]
+// CHECK:  encoding: [0x62,0x21,0x1d,0x00,0x63,0x8c,0xf0,0x23,0x01,0x00,0x00]
           vpacksswb 291(%rax,%r14,8), %xmm28, %xmm25
 
 // CHECK: vpacksswb 2032(%rdx), %xmm28, %xmm25
-// CHECK:  encoding: [0x62,0x61,0x9d,0x00,0x63,0x4a,0x7f]
+// CHECK:  encoding: [0x62,0x61,0x1d,0x00,0x63,0x4a,0x7f]
           vpacksswb 2032(%rdx), %xmm28, %xmm25
 
 // CHECK: vpacksswb 2048(%rdx), %xmm28, %xmm25
-// CHECK:  encoding: [0x62,0x61,0x9d,0x00,0x63,0x8a,0x00,0x08,0x00,0x00]
+// CHECK:  encoding: [0x62,0x61,0x1d,0x00,0x63,0x8a,0x00,0x08,0x00,0x00]
           vpacksswb 2048(%rdx), %xmm28, %xmm25
 
 // CHECK: vpacksswb -2048(%rdx), %xmm28, %xmm25
-// CHECK:  encoding: [0x62,0x61,0x9d,0x00,0x63,0x4a,0x80]
+// CHECK:  encoding: [0x62,0x61,0x1d,0x00,0x63,0x4a,0x80]
           vpacksswb -2048(%rdx), %xmm28, %xmm25
 
 // CHECK: vpacksswb -2064(%rdx), %xmm28, %xmm25
-// CHECK:  encoding: [0x62,0x61,0x9d,0x00,0x63,0x8a,0xf0,0xf7,0xff,0xff]
+// CHECK:  encoding: [0x62,0x61,0x1d,0x00,0x63,0x8a,0xf0,0xf7,0xff,0xff]
           vpacksswb -2064(%rdx), %xmm28, %xmm25
 
 // CHECK: vpacksswb %ymm22, %ymm28, %ymm21
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x20,0x63,0xee]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x20,0x63,0xee]
           vpacksswb %ymm22, %ymm28, %ymm21
 
 // CHECK: vpacksswb %ymm22, %ymm28, %ymm21 {%k5}
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x25,0x63,0xee]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x25,0x63,0xee]
           vpacksswb %ymm22, %ymm28, %ymm21 {%k5}
 
 // CHECK: vpacksswb %ymm22, %ymm28, %ymm21 {%k5} {z}
-// CHECK:  encoding: [0x62,0xa1,0x9d,0xa5,0x63,0xee]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0xa5,0x63,0xee]
           vpacksswb %ymm22, %ymm28, %ymm21 {%k5} {z}
 
 // CHECK: vpacksswb (%rcx), %ymm28, %ymm21
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x20,0x63,0x29]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x20,0x63,0x29]
           vpacksswb (%rcx), %ymm28, %ymm21
 
 // CHECK: vpacksswb 291(%rax,%r14,8), %ymm28, %ymm21
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x20,0x63,0xac,0xf0,0x23,0x01,0x00,0x00]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x20,0x63,0xac,0xf0,0x23,0x01,0x00,0x00]
           vpacksswb 291(%rax,%r14,8), %ymm28, %ymm21
 
 // CHECK: vpacksswb 4064(%rdx), %ymm28, %ymm21
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x20,0x63,0x6a,0x7f]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x20,0x63,0x6a,0x7f]
           vpacksswb 4064(%rdx), %ymm28, %ymm21
 
 // CHECK: vpacksswb 4096(%rdx), %ymm28, %ymm21
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x20,0x63,0xaa,0x00,0x10,0x00,0x00]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x20,0x63,0xaa,0x00,0x10,0x00,0x00]
           vpacksswb 4096(%rdx), %ymm28, %ymm21
 
 // CHECK: vpacksswb -4096(%rdx), %ymm28, %ymm21
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x20,0x63,0x6a,0x80]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x20,0x63,0x6a,0x80]
           vpacksswb -4096(%rdx), %ymm28, %ymm21
 
 // CHECK: vpacksswb -4128(%rdx), %ymm28, %ymm21
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x20,0x63,0xaa,0xe0,0xef,0xff,0xff]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x20,0x63,0xaa,0xe0,0xef,0xff,0xff]
           vpacksswb -4128(%rdx), %ymm28, %ymm21
 
 // CHECK: vpackusdw %xmm20, %xmm24, %xmm24
@@ -3033,75 +3033,75 @@
           vpackusdw -516(%rdx){1to8}, %ymm26, %ymm19
 
 // CHECK: vpackuswb %xmm17, %xmm27, %xmm21
-// CHECK:  encoding: [0x62,0xa1,0xa5,0x00,0x67,0xe9]
+// CHECK:  encoding: [0x62,0xa1,0x25,0x00,0x67,0xe9]
           vpackuswb %xmm17, %xmm27, %xmm21
 
 // CHECK: vpackuswb %xmm17, %xmm27, %xmm21 {%k4}
-// CHECK:  encoding: [0x62,0xa1,0xa5,0x04,0x67,0xe9]
+// CHECK:  encoding: [0x62,0xa1,0x25,0x04,0x67,0xe9]
           vpackuswb %xmm17, %xmm27, %xmm21 {%k4}
 
 // CHECK: vpackuswb %xmm17, %xmm27, %xmm21 {%k4} {z}
-// CHECK:  encoding: [0x62,0xa1,0xa5,0x84,0x67,0xe9]
+// CHECK:  encoding: [0x62,0xa1,0x25,0x84,0x67,0xe9]
           vpackuswb %xmm17, %xmm27, %xmm21 {%k4} {z}
 
 // CHECK: vpackuswb (%rcx), %xmm27, %xmm21
-// CHECK:  encoding: [0x62,0xe1,0xa5,0x00,0x67,0x29]
+// CHECK:  encoding: [0x62,0xe1,0x25,0x00,0x67,0x29]
           vpackuswb (%rcx), %xmm27, %xmm21
 
 // CHECK: vpackuswb 291(%rax,%r14,8), %xmm27, %xmm21
-// CHECK:  encoding: [0x62,0xa1,0xa5,0x00,0x67,0xac,0xf0,0x23,0x01,0x00,0x00]
+// CHECK:  encoding: [0x62,0xa1,0x25,0x00,0x67,0xac,0xf0,0x23,0x01,0x00,0x00]
           vpackuswb 291(%rax,%r14,8), %xmm27, %xmm21
 
 // CHECK: vpackuswb 2032(%rdx), %xmm27, %xmm21
-// CHECK:  encoding: [0x62,0xe1,0xa5,0x00,0x67,0x6a,0x7f]
+// CHECK:  encoding: [0x62,0xe1,0x25,0x00,0x67,0x6a,0x7f]
           vpackuswb 2032(%rdx), %xmm27, %xmm21
 
 // CHECK: vpackuswb 2048(%rdx), %xmm27, %xmm21
-// CHECK:  encoding: [0x62,0xe1,0xa5,0x00,0x67,0xaa,0x00,0x08,0x00,0x00]
+// CHECK:  encoding: [0x62,0xe1,0x25,0x00,0x67,0xaa,0x00,0x08,0x00,0x00]
           vpackuswb 2048(%rdx), %xmm27, %xmm21
 
 // CHECK: vpackuswb -2048(%rdx), %xmm27, %xmm21
-// CHECK:  encoding: [0x62,0xe1,0xa5,0x00,0x67,0x6a,0x80]
+// CHECK:  encoding: [0x62,0xe1,0x25,0x00,0x67,0x6a,0x80]
           vpackuswb -2048(%rdx), %xmm27, %xmm21
 
 // CHECK: vpackuswb -2064(%rdx), %xmm27, %xmm21
-// CHECK:  encoding: [0x62,0xe1,0xa5,0x00,0x67,0xaa,0xf0,0xf7,0xff,0xff]
+// CHECK:  encoding: [0x62,0xe1,0x25,0x00,0x67,0xaa,0xf0,0xf7,0xff,0xff]
           vpackuswb -2064(%rdx), %xmm27, %xmm21
 
 // CHECK: vpackuswb %ymm20, %ymm28, %ymm19
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x20,0x67,0xdc]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x20,0x67,0xdc]
           vpackuswb %ymm20, %ymm28, %ymm19
 
 // CHECK: vpackuswb %ymm20, %ymm28, %ymm19 {%k1}
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x21,0x67,0xdc]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x21,0x67,0xdc]
           vpackuswb %ymm20, %ymm28, %ymm19 {%k1}
 
 // CHECK: vpackuswb %ymm20, %ymm28, %ymm19 {%k1} {z}
-// CHECK:  encoding: [0x62,0xa1,0x9d,0xa1,0x67,0xdc]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0xa1,0x67,0xdc]
           vpackuswb %ymm20, %ymm28, %ymm19 {%k1} {z}
 
 // CHECK: vpackuswb (%rcx), %ymm28, %ymm19
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x20,0x67,0x19]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x20,0x67,0x19]
           vpackuswb (%rcx), %ymm28, %ymm19
 
 // CHECK: vpackuswb 291(%rax,%r14,8), %ymm28, %ymm19
-// CHECK:  encoding: [0x62,0xa1,0x9d,0x20,0x67,0x9c,0xf0,0x23,0x01,0x00,0x00]
+// CHECK:  encoding: [0x62,0xa1,0x1d,0x20,0x67,0x9c,0xf0,0x23,0x01,0x00,0x00]
           vpackuswb 291(%rax,%r14,8), %ymm28, %ymm19
 
 // CHECK: vpackuswb 4064(%rdx), %ymm28, %ymm19
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x20,0x67,0x5a,0x7f]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x20,0x67,0x5a,0x7f]
           vpackuswb 4064(%rdx), %ymm28, %ymm19
 
 // CHECK: vpackuswb 4096(%rdx), %ymm28, %ymm19
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x20,0x67,0x9a,0x00,0x10,0x00,0x00]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x20,0x67,0x9a,0x00,0x10,0x00,0x00]
           vpackuswb 4096(%rdx), %ymm28, %ymm19
 
 // CHECK: vpackuswb -4096(%rdx), %ymm28, %ymm19
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x20,0x67,0x5a,0x80]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x20,0x67,0x5a,0x80]
           vpackuswb -4096(%rdx), %ymm28, %ymm19
 
 // CHECK: vpackuswb -4128(%rdx), %ymm28, %ymm19
-// CHECK:  encoding: [0x62,0xe1,0x9d,0x20,0x67,0x9a,0xe0,0xef,0xff,0xff]
+// CHECK:  encoding: [0x62,0xe1,0x1d,0x20,0x67,0x9a,0xe0,0xef,0xff,0xff]
           vpackuswb -4128(%rdx), %ymm28, %ymm19
 
 // CHECK: vpackssdw %xmm19, %xmm17, %xmm24
@@ -3217,75 +3217,75 @@
           vpackssdw -516(%rdx){1to8}, %ymm19, %ymm25
 
 // CHECK: vpacksswb %xmm22, %xmm25, %xmm29
-// CHECK:  encoding: [0x62,0x21,0xb5,0x00,0x63,0xee]
+// CHECK:  encoding: [0x62,0x21,0x35,0x00,0x63,0xee]
           vpacksswb %xmm22, %xmm25, %xmm29
 
 // CHECK: vpacksswb %xmm22, %xmm25, %xmm29 {%k5}
-// CHECK:  encoding: [0x62,0x21,0xb5,0x05,0x63,0xee]
+// CHECK:  encoding: [0x62,0x21,0x35,0x05,0x63,0xee]
           vpacksswb %xmm22, %xmm25, %xmm29 {%k5}
 
 // CHECK: vpacksswb %xmm22, %xmm25, %xmm29 {%k5} {z}
-// CHECK:  encoding: [0x62,0x21,0xb5,0x85,0x63,0xee]
+// CHECK:  encoding: [0x62,0x21,0x35,0x85,0x63,0xee]
           vpacksswb %xmm22, %xmm25, %xmm29 {%k5} {z}
 
 // CHECK: vpacksswb (%rcx), %xmm25, %xmm29
-// CHECK:  encoding: [0x62,0x61,0xb5,0x00,0x63,0x29]
+// CHECK:  encoding: [0x62,0x61,0x35,0x00,0x63,0x29]
           vpacksswb (%rcx), %xmm25, %xmm29
 
 // CHECK: vpacksswb 4660(%rax,%r14,8), %xmm25, %xmm29
-// CHECK:  encoding: [0x62,0x21,0xb5,0x00,0x63,0xac,0xf0,0x34,0x12,0x00,0x00]
+// CHECK:  encoding: [0x62,0x21,0x35,0x00,0x63,0xac,0xf0,0x34,0x12,0x00,0x00]
           vpacksswb 4660(%rax,%r14,8), %xmm25, %xmm29
 
 // CHECK: vpacksswb 2032(%rdx), %xmm25, %xmm29
-// CHECK:  encoding: [0x62,0x61,0xb5,0x00,0x63,0x6a,0x7f]
+// CHECK:  encoding: [0x62,0x61,0x35,0x00,0x63,0x6a,0x7f]
           vpacksswb 2032(%rdx), %xmm25, %xmm29
 
 // CHECK: vpacksswb 2048(%rdx), %xmm25, %xmm29
-// CHECK:  encoding: [0x62,0x61,0xb5,0x00,0x63,0xaa,0x00,0x08,0x00,0x00]
+// CHECK:  encoding: [0x62,0x61,0x35,0x00,0x63,0xaa,0x00,0x08,0x00,0x00]
           vpacksswb 2048(%rdx), %xmm25, %xmm29
 
 // CHECK: vpacksswb -2048(%rdx), %xmm25, %xmm29
-// CHECK:  encoding: [0x62,0x61,0xb5,0x00,0x63,0x6a,0x80]
+// CHECK:  encoding: [0x62,0x61,0x35,0x00,0x63,0x6a,0x80]
           vpacksswb -2048(%rdx), %xmm25, %xmm29
 
 // CHECK: vpacksswb -2064(%rdx), %xmm25, %xmm29
-// CHECK:  encoding: [0x62,0x61,0xb5,0x00,0x63,0xaa,0xf0,0xf7,0xff,0xff]
+// CHECK:  encoding: [0x62,0x61,0x35,0x00,0x63,0xaa,0xf0,0xf7,0xff,0xff]
           vpacksswb -2064(%rdx), %xmm25, %xmm29
 
 // CHECK: vpacksswb %ymm27, %ymm20, %ymm26
-// CHECK:  encoding: [0x62,0x01,0xdd,0x20,0x63,0xd3]
+// CHECK:  encoding: [0x62,0x01,0x5d,0x20,0x63,0xd3]
           vpacksswb %ymm27, %ymm20, %ymm26
 
 // CHECK: vpacksswb %ymm27, %ymm20, %ymm26 {%k6}
-// CHECK:  encoding: [0x62,0x01,0xdd,0x26,0x63,0xd3]
+// CHECK:  encoding: [0x62,0x01,0x5d,0x26,0x63,0xd3]
           vpacksswb %ymm27, %ymm20, %ymm26 {%k6}
 
 // CHECK: vpacksswb %ymm27, %ymm20, %ymm26 {%k6} {z}
-// CHECK:  encoding: [0x62,0x01,0xdd,0xa6,0x63,0xd3]
+// CHECK:  encoding: [0x62,0x01,0x5d,0xa6,0x63,0xd3]
           vpacksswb %ymm27, %ymm20, %ymm26 {%k6} {z}
 
 // CHECK: vpacksswb (%rcx), %ymm20, %ymm26
-// CHECK:  encoding: [0x62,0x61,0xdd,0x20,0x63,0x11]
+// CHECK:  encoding: [0x62,0x61,0x5d,0x20,0x63,0x11]
           vpacksswb (%rcx), %ymm20, %ymm26
 
 // CHECK: vpacksswb 4660(%rax,%r14,8), %ymm20, %ymm26
-// CHECK:  encoding: [0x62,0x21,0xdd,0x20,0x63,0x94,0xf0,0x34,0x12,0x00,0x00]
+// CHECK:  encoding: [0x62,0x21,0x5d,0x20,0x63,0x94,0xf0,0x34,0x12,0x00,0x00]
           vpacksswb 4660(%rax,%r14,8), %ymm20, %ymm26
 
 // CHECK: vpacksswb 4064(%rdx), %ymm20, %ymm26
-// CHECK:  encoding: [0x62,0x61,0xdd,0x20,0x63,0x52,0x7f]
+// CHECK:  encoding: [0x62,0x61,0x5d,0x20,0x63,0x52,0x7f]
           vpacksswb 4064(%rdx), %ymm20, %ymm26
 
 // CHECK: vpacksswb 4096(%rdx), %ymm20, %ymm26
-// CHECK:  encoding: [0x62,0x61,0xdd,0x20,0x63,0x92,0x00,0x10,0x00,0x00]
+// CHECK:  encoding: [0x62,0x61,0x5d,0x20,0x63,0x92,0x00,0x10,0x00,0x00]
           vpacksswb 4096(%rdx), %ymm20, %ymm26
 
 // CHECK: vpacksswb -4096(%rdx), %ymm20, %ymm26
-// CHECK:  encoding: [0x62,0x61,0xdd,0x20,0x63,0x52,0x80]
+// CHECK:  encoding: [0x62,0x61,0x5d,0x20,0x63,0x52,0x80]
           vpacksswb -4096(%rdx), %ymm20, %ymm26
 
 // CHECK: vpacksswb -4128(%rdx), %ymm20, %ymm26
-// CHECK:  encoding: [0x62,0x61,0xdd,0x20,0x63,0x92,0xe0,0xef,0xff,0xff]
+// CHECK:  encoding: [0x62,0x61,0x5d,0x20,0x63,0x92,0xe0,0xef,0xff,0xff]
           vpacksswb -4128(%rdx), %ymm20, %ymm26
 
 // CHECK: vpackusdw %xmm18, %xmm27, %xmm28
@@ -3401,75 +3401,75 @@
           vpackusdw -516(%rdx){1to8}, %ymm26, %ymm23
 
 // CHECK: vpackuswb %xmm23, %xmm20, %xmm20
-// CHECK:  encoding: [0x62,0xa1,0xdd,0x00,0x67,0xe7]
+// CHECK:  encoding: [0x62,0xa1,0x5d,0x00,0x67,0xe7]
           vpackuswb %xmm23, %xmm20, %xmm20
 
 // CHECK: vpackuswb %xmm23, %xmm20, %xmm20 {%k2}
-// CHECK:  encoding: [0x62,0xa1,0xdd,0x02,0x67,0xe7]
+// CHECK:  encoding: [0x62,0xa1,0x5d,0x02,0x67,0xe7]
           vpackuswb %xmm23, %xmm20, %xmm20 {%k2}
 
 // CHECK: vpackuswb %xmm23, %xmm20, %xmm20 {%k2} {z}
-// CHECK:  encoding: [0x62,0xa1,0xdd,0x82,0x67,0xe7]
+// CHECK:  encoding: [0x62,0xa1,0x5d,0x82,0x67,0xe7]
           vpackuswb %xmm23, %xmm20, %xmm20 {%k2} {z}
 
 // CHECK: vpackuswb (%rcx), %xmm20, %xmm20
-// CHECK:  encoding: [0x62,0xe1,0xdd,0x00,0x67,0x21]
+// CHECK:  encoding: [0x62,0xe1,0x5d,0x00,0x67,0x21]
           vpackuswb (%rcx), %xmm20, %xmm20
 
 // CHECK: vpackuswb 4660(%rax,%r14,8), %xmm20, %xmm20
-// CHECK:  encoding: [0x62,0xa1,0xdd,0x00,0x67,0xa4,0xf0,0x34,0x12,0x00,0x00]
+// CHECK:  encoding: [0x62,0xa1,0x5d,0x00,0x67,0xa4,0xf0,0x34,0x12,0x00,0x00]
           vpackuswb 4660(%rax,%r14,8), %xmm20, %xmm20
 
 // CHECK: vpackuswb 2032(%rdx), %xmm20, %xmm20
-// CHECK:  encoding: [0x62,0xe1,0xdd,0x00,0x67,0x62,0x7f]
+// CHECK:  encoding: [0x62,0xe1,0x5d,0x00,0x67,0x62,0x7f]
           vpackuswb 2032(%rdx), %xmm20, %xmm20
 
 // CHECK: vpackuswb 2048(%rdx), %xmm20, %xmm20
-// CHECK:  encoding: [0x62,0xe1,0xdd,0x00,0x67,0xa2,0x00,0x08,0x00,0x00]
+// CHECK:  encoding: [0x62,0xe1,0x5d,0x00,0x67,0xa2,0x00,0x08,0x00,0x00]
           vpackuswb 2048(%rdx), %xmm20, %xmm20
 
 // CHECK: vpackuswb -2048(%rdx), %xmm20, %xmm20
-// CHECK:  encoding: [0x62,0xe1,0xdd,0x00,0x67,0x62,0x80]
+// CHECK:  encoding: [0x62,0xe1,0x5d,0x00,0x67,0x62,0x80]
           vpackuswb -2048(%rdx), %xmm20, %xmm20
 
 // CHECK: vpackuswb -2064(%rdx), %xmm20, %xmm20
-// CHECK:  encoding: [0x62,0xe1,0xdd,0x00,0x67,0xa2,0xf0,0xf7,0xff,0xff]
+// CHECK:  encoding: [0x62,0xe1,0x5d,0x00,0x67,0xa2,0xf0,0xf7,0xff,0xff]
           vpackuswb -2064(%rdx), %xmm20, %xmm20
 
 // CHECK: vpackuswb %ymm27, %ymm19, %ymm20
-// CHECK:  encoding: [0x62,0x81,0xe5,0x20,0x67,0xe3]
+// CHECK:  encoding: [0x62,0x81,0x65,0x20,0x67,0xe3]
           vpackuswb %ymm27, %ymm19, %ymm20
 
 // CHECK: vpackuswb %ymm27, %ymm19, %ymm20 {%k5}
-// CHECK:  encoding: [0x62,0x81,0xe5,0x25,0x67,0xe3]
+// CHECK:  encoding: [0x62,0x81,0x65,0x25,0x67,0xe3]
           vpackuswb %ymm27, %ymm19, %ymm20 {%k5}
 
 // CHECK: vpackuswb %ymm27, %ymm19, %ymm20 {%k5} {z}
-// CHECK:  encoding: [0x62,0x81,0xe5,0xa5,0x67,0xe3]
+// CHECK:  encoding: [0x62,0x81,0x65,0xa5,0x67,0xe3]
           vpackuswb %ymm27, %ymm19, %ymm20 {%k5} {z}
 
 // CHECK: vpackuswb (%rcx), %ymm19, %ymm20
-// CHECK:  encoding: [0x62,0xe1,0xe5,0x20,0x67,0x21]
+// CHECK:  encoding: [0x62,0xe1,0x65,0x20,0x67,0x21]
           vpackuswb (%rcx), %ymm19, %ymm20
 
 // CHECK: vpackuswb 4660(%rax,%r14,8), %ymm19, %ymm20
-// CHECK:  encoding: [0x62,0xa1,0xe5,0x20,0x67,0xa4,0xf0,0x34,0x12,0x00,0x00]
+// CHECK:  encoding: [0x62,0xa1,0x65,0x20,0x67,0xa4,0xf0,0x34,0x12,0x00,0x00]
           vpackuswb 4660(%rax,%r14,8), %ymm19, %ymm20
 
 // CHECK: vpackuswb 4064(%rdx), %ymm19, %ymm20
-// CHECK:  encoding: [0x62,0xe1,0xe5,0x20,0x67,0x62,0x7f]
+// CHECK:  encoding: [0x62,0xe1,0x65,0x20,0x67,0x62,0x7f]
           vpackuswb 4064(%rdx), %ymm19, %ymm20
 
 // CHECK: vpackuswb 4096(%rdx), %ymm19, %ymm20
-// CHECK:  encoding: [0x62,0xe1,0xe5,0x20,0x67,0xa2,0x00,0x10,0x00,0x00]
+// CHECK:  encoding: [0x62,0xe1,0x65,0x20,0x67,0xa2,0x00,0x10,0x00,0x00]
           vpackuswb 4096(%rdx), %ymm19, %ymm20
 
 // CHECK: vpackuswb -4096(%rdx), %ymm19, %ymm20
-// CHECK:  encoding: [0x62,0xe1,0xe5,0x20,0x67,0x62,0x80]
+// CHECK:  encoding: [0x62,0xe1,0x65,0x20,0x67,0x62,0x80]
           vpackuswb -4096(%rdx), %ymm19, %ymm20
 
 // CHECK: vpackuswb -4128(%rdx), %ymm19, %ymm20
-// CHECK:  encoding: [0x62,0xe1,0xe5,0x20,0x67,0xa2,0xe0,0xef,0xff,0xff]
+// CHECK:  encoding: [0x62,0xe1,0x65,0x20,0x67,0xa2,0xe0,0xef,0xff,0xff]
           vpackuswb -4128(%rdx), %ymm19, %ymm20
 
 // CHECK: vpaddsb %xmm27, %xmm19, %xmm19




More information about the llvm-commits mailing list