aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-06-10 21:27:40 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-06-10 21:27:40 +0000
commit6c30d220f19d7f4fe197fa5f62a472b2e5e84d7c (patch)
tree491d816922bc3b94580310b1a0881fa5fc6de7cd /gas
parentd0e53741e00a0b5a4555217337f0faeaa77dd71a (diff)
downloadgdb-6c30d220f19d7f4fe197fa5f62a472b2e5e84d7c.zip
gdb-6c30d220f19d7f4fe197fa5f62a472b2e5e84d7c.tar.gz
gdb-6c30d220f19d7f4fe197fa5f62a472b2e5e84d7c.tar.bz2
Support AVX Programming Reference (June, 2011).
gas/ 2011-06-10 H.J. Lu <hongjiu.lu@intel.com> AVX Programming Reference (June, 2011) * config/tc-i386.c (i386_error): Add invalid_vsib_address and unsupported_vector_index_register. (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid. (check_VecOperands): New. (match_template): Call check_VecOperands. Handle invalid_vsib_address and unsupported_vector_index_register. (build_modrm_byte): Support VecSIB. Check register-only source operand when two source operands are swapped. (i386_index_check): Allow Xmm/Ymm index registers. * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt and invpcid./invpcid. gas/testsuite/ 2011-06-10 H.J. Lu <hongjiu.lu@intel.com> AVX Programming Reference (June, 2011) * gas/i386/arch-10-1.l: Updated. * gas/i386/arch-10-2.l: Likewise. * gas/i386/arch-10-3.l: Likewise. * gas/i386/arch-10-4.l: Likewise. * gas/i386/arch-10.s: Add LZCNT to comments. * gas/i386/x86-64-arch-2.s: Likewise. * gas/i386/arch-10-lzcnt.d: New. * gas/i386/avx-gather-intel.d: Likewise. * gas/i386/avx-gather.d: Likewise. * gas/i386/avx-gather.s: Likewise. * gas/i386/avx2-intel.d: Likewise. * gas/i386/avx2.d: Likewise. * gas/i386/avx2.s: Likewise * gas/i386/avx256int-intel.d: Likewise. * gas/i386/avx256int.d: Likewise. * gas/i386/avx256int.s: Likewise. * gas/i386/bmi2-intel.d: Likewise. * gas/i386/bmi2.d: Likewise. * gas/i386/bmi2.s: Likewise. * gas/i386/inval-invpcid.l:Likewise. * gas/i386/inval-invpcid.s: Likewise. * gas/i386/invpcid-intel.d: Likewise. * gas/i386/invpcid.d: Likewise. * gas/i386/invpcid.s: Likewise. * gas/i386/x86-64-arch-2-lzcnt.d: Likewise. * gas/i386/x86-64-avx-gather-intel.d: Likewise. * gas/i386/x86-64-avx-gather.d: Likewise. * gas/i386/x86-64-avx-gather.s: Likewise. * gas/i386/x86-64-avx2-intel.d: Likewise. * gas/i386/x86-64-avx2.d: Likewise. * gas/i386/x86-64-avx2.s: Likewise. * gas/i386/x86-64-avx256int-intel.d: Likewise. * gas/i386/x86-64-avx256int.d: Likewise. * gas/i386/x86-64-avx256int.s: Likewise. * gas/i386/x86-64-bmi2-intel.d: Likewise. * gas/i386/x86-64-bmi2.d: Likewise. * gas/i386/x86-64-bmi2.s: Likewise. * gas/i386/x86-64-inval-invpcid.l: Likewise. * gas/i386/x86-64-inval-invpcid.s: Likewise. * gas/i386/x86-64-invpcid-intel.d: Likewise. * gas/i386/x86-64-invpcid.d: Likewise. * gas/i386/x86-64-invpcid.s: Likewise. opcodes/ 2011-06-10 H.J. Lu <hongjiu.lu@intel.com> AVX Programming Reference (June, 2011) * i386-dis.c (XMGatherQ): New. * i386-dis.c (EXxmm_mb): New. (EXxmm_mb): Likewise. (EXxmm_mw): Likewise. (EXxmm_md): Likewise. (EXxmm_mq): Likewise. (EXxmmdw): Likewise. (EXxmmqd): Likewise. (VexGatherQ): Likewise. (MVexVSIBDWpX): Likewise. (MVexVSIBQWpX): Likewise. (xmm_mb_mode): Likewise. (xmm_mw_mode): Likewise. (xmm_md_mode): Likewise. (xmm_mq_mode): Likewise. (xmmdw_mode): Likewise. (xmmqd_mode): Likewise. (ymmxmm_mode): Likewise. (vex_vsib_d_w_dq_mode): Likewise. (vex_vsib_q_w_dq_mode): Likewise. (MOD_VEX_0F385A_PREFIX_2): Likewise. (MOD_VEX_0F388C_PREFIX_2): Likewise. (MOD_VEX_0F388E_PREFIX_2): Likewise. (PREFIX_0F3882): Likewise. (PREFIX_VEX_0F3816): Likewise. (PREFIX_VEX_0F3836): Likewise. (PREFIX_VEX_0F3845): Likewise. (PREFIX_VEX_0F3846): Likewise. (PREFIX_VEX_0F3847): Likewise. (PREFIX_VEX_0F3858): Likewise. (PREFIX_VEX_0F3859): Likewise. (PREFIX_VEX_0F385A): Likewise. (PREFIX_VEX_0F3878): Likewise. (PREFIX_VEX_0F3879): Likewise. (PREFIX_VEX_0F388C): Likewise. (PREFIX_VEX_0F388E): Likewise. (PREFIX_VEX_0F3890..PREFIX_VEX_0F3893): Likewise. (PREFIX_VEX_0F38F5): Likewise. (PREFIX_VEX_0F38F6): Likewise. (PREFIX_VEX_0F3A00): Likewise. (PREFIX_VEX_0F3A01): Likewise. (PREFIX_VEX_0F3A02): Likewise. (PREFIX_VEX_0F3A38): Likewise. (PREFIX_VEX_0F3A39): Likewise. (PREFIX_VEX_0F3A46): Likewise. (PREFIX_VEX_0F3AF0): Likewise. (VEX_LEN_0F3816_P_2): Likewise. (VEX_LEN_0F3819_P_2): Likewise. (VEX_LEN_0F3836_P_2): Likewise. (VEX_LEN_0F385A_P_2_M_0): Likewise. (VEX_LEN_0F38F5_P_0): Likewise. (VEX_LEN_0F38F5_P_1): Likewise. (VEX_LEN_0F38F5_P_3): Likewise. (VEX_LEN_0F38F6_P_3): Likewise. (VEX_LEN_0F38F7_P_1): Likewise. (VEX_LEN_0F38F7_P_2): Likewise. (VEX_LEN_0F38F7_P_3): Likewise. (VEX_LEN_0F3A00_P_2): Likewise. (VEX_LEN_0F3A01_P_2): Likewise. (VEX_LEN_0F3A38_P_2): Likewise. (VEX_LEN_0F3A39_P_2): Likewise. (VEX_LEN_0F3A46_P_2): Likewise. (VEX_LEN_0F3AF0_P_3): Likewise. (VEX_W_0F3816_P_2): Likewise. (VEX_W_0F3818_P_2): Likewise. (VEX_W_0F3819_P_2): Likewise. (VEX_W_0F3836_P_2): Likewise. (VEX_W_0F3846_P_2): Likewise. (VEX_W_0F3858_P_2): Likewise. (VEX_W_0F3859_P_2): Likewise. (VEX_W_0F385A_P_2_M_0): Likewise. (VEX_W_0F3878_P_2): Likewise. (VEX_W_0F3879_P_2): Likewise. (VEX_W_0F3A00_P_2): Likewise. (VEX_W_0F3A01_P_2): Likewise. (VEX_W_0F3A02_P_2): Likewise. (VEX_W_0F3A38_P_2): Likewise. (VEX_W_0F3A39_P_2): Likewise. (VEX_W_0F3A46_P_2): Likewise. (MOD_VEX_0F3818_PREFIX_2): Removed. (MOD_VEX_0F3819_PREFIX_2): Likewise. (VEX_LEN_0F60_P_2..VEX_LEN_0F6D_P_2): Likewise. (VEX_LEN_0F70_P_1..VEX_LEN_0F76_P_2): Likewise. (VEX_LEN_0FD1_P_2..VEX_LEN_0FD5_P_2): Likewise. (VEX_LEN_0FD7_P_2_M_1..VEX_LEN_0F3819_P_2_M_0): Likewise. (VEX_LEN_0F381C_P_2..VEX_LEN_0F3840_P_2): Likewise. (VEX_LEN_0F3A0E_P_2): Likewise. (VEX_LEN_0F3A0F_P_2): Likewise. (VEX_LEN_0F3A42_P_2): Likewise. (VEX_LEN_0F3A4C_P_2): Likewise. (VEX_W_0F3818_P_2_M_0): Likewise. (VEX_W_0F3819_P_2_M_0): Likewise. (prefix_table): Updated. (three_byte_table): Likewise. (vex_table): Likewise. (vex_len_table): Likewise. (vex_w_table): Likewise. (mod_table): Likewise. (putop): Handle "LW". (intel_operand_size): Handle xmm_mb_mode, xmm_mw_mode, xmm_md_mode, xmm_mq_mode, xmmdw_mode, xmmqd_mode, ymmxmm_mode, vex_vsib_d_w_dq_mode, vex_vsib_q_w_dq_mode. (OP_EX): Likewise. (OP_E_memory): Handle vex_vsib_d_w_dq_mode and vex_vsib_q_w_dq_mode. (OP_XMM): Handle vex_vsib_q_w_dq_mode. (OP_VEX): Likewise. * i386-gen.c (cpu_flag_init): Add CpuAVX2 to CPU_ANY_SSE_FLAGS and CPU_ANY_AVX_FLAGS. Add CPU_BMI2_FLAGS, CPU_LZCNT_FLAGS, CPU_INVPCID_FLAGS and CPU_AVX2_FLAGS. (cpu_flags): Add CpuAVX2, CpuBMI2, CpuLZCNT and CpuINVPCID. (opcode_modifiers): Add VecSIB. * i386-opc.h (CpuAVX2): New. (CpuBMI2): Likewise. (CpuLZCNT): Likewise. (CpuINVPCID): Likewise. (VecSIB128): Likewise. (VecSIB256): Likewise. (VecSIB): Likewise. (i386_cpu_flags): Add cpuavx2, cpubmi2, cpulzcnt and cpuinvpcid. (i386_opcode_modifier): Add vecsib. * i386-opc.tbl: Add invpcid, AVX2 and BMI2 instructions. * i386-init.h: Regenerated. * i386-tbl.h: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog16
-rw-r--r--gas/config/tc-i386.c109
-rw-r--r--gas/doc/c-i386.texi7
-rw-r--r--gas/testsuite/ChangeLog48
-rw-r--r--gas/testsuite/gas/i386/arch-10-1.l2
-rw-r--r--gas/testsuite/gas/i386/arch-10-2.l2
-rw-r--r--gas/testsuite/gas/i386/arch-10-3.l2
-rw-r--r--gas/testsuite/gas/i386/arch-10-4.l2
-rw-r--r--gas/testsuite/gas/i386/arch-10-lzcnt.d40
-rw-r--r--gas/testsuite/gas/i386/arch-10.s2
-rw-r--r--gas/testsuite/gas/i386/avx-gather-intel.d60
-rw-r--r--gas/testsuite/gas/i386/avx-gather.d59
-rw-r--r--gas/testsuite/gas/i386/avx-gather.s109
-rw-r--r--gas/testsuite/gas/i386/avx2-intel.d182
-rw-r--r--gas/testsuite/gas/i386/avx2.d181
-rw-r--r--gas/testsuite/gas/i386/avx2.s268
-rw-r--r--gas/testsuite/gas/i386/avx256int-intel.d553
-rw-r--r--gas/testsuite/gas/i386/avx256int.d552
-rw-r--r--gas/testsuite/gas/i386/avx256int.s593
-rw-r--r--gas/testsuite/gas/i386/bmi2-intel.d52
-rw-r--r--gas/testsuite/gas/i386/bmi2.d51
-rw-r--r--gas/testsuite/gas/i386/bmi2.s59
-rw-r--r--gas/testsuite/gas/i386/i386.exp24
-rw-r--r--gas/testsuite/gas/i386/inval-invpcid.l21
-rw-r--r--gas/testsuite/gas/i386/inval-invpcid.s11
-rw-r--r--gas/testsuite/gas/i386/invpcid-intel.d14
-rw-r--r--gas/testsuite/gas/i386/invpcid.d13
-rw-r--r--gas/testsuite/gas/i386/invpcid.s8
-rw-r--r--gas/testsuite/gas/i386/x86-64-arch-2-lzcnt.d40
-rw-r--r--gas/testsuite/gas/i386/x86-64-arch-2.s2
-rw-r--r--gas/testsuite/gas/i386/x86-64-avx-gather-intel.d108
-rw-r--r--gas/testsuite/gas/i386/x86-64-avx-gather.d107
-rw-r--r--gas/testsuite/gas/i386/x86-64-avx-gather.s213
-rw-r--r--gas/testsuite/gas/i386/x86-64-avx2-intel.d182
-rw-r--r--gas/testsuite/gas/i386/x86-64-avx2.d181
-rw-r--r--gas/testsuite/gas/i386/x86-64-avx2.s268
-rw-r--r--gas/testsuite/gas/i386/x86-64-avx256int-intel.d555
-rw-r--r--gas/testsuite/gas/i386/x86-64-avx256int.d554
-rw-r--r--gas/testsuite/gas/i386/x86-64-avx256int.s599
-rw-r--r--gas/testsuite/gas/i386/x86-64-bmi2-intel.d156
-rw-r--r--gas/testsuite/gas/i386/x86-64-bmi2.d155
-rw-r--r--gas/testsuite/gas/i386/x86-64-bmi2.s175
-rw-r--r--gas/testsuite/gas/i386/x86-64-inval-invpcid.l25
-rw-r--r--gas/testsuite/gas/i386/x86-64-inval-invpcid.s13
-rw-r--r--gas/testsuite/gas/i386/x86-64-invpcid-intel.d14
-rw-r--r--gas/testsuite/gas/i386/x86-64-invpcid.d13
-rw-r--r--gas/testsuite/gas/i386/x86-64-invpcid.s8
47 files changed, 6396 insertions, 12 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 69f045a..c8902a0 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,19 @@
+2011-06-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ AVX Programming Reference (June, 2011)
+ * config/tc-i386.c (i386_error): Add invalid_vsib_address and
+ unsupported_vector_index_register.
+ (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
+ (check_VecOperands): New.
+ (match_template): Call check_VecOperands. Handle
+ invalid_vsib_address and unsupported_vector_index_register.
+ (build_modrm_byte): Support VecSIB. Check register-only source
+ operand when two source operands are swapped.
+ (i386_index_check): Allow Xmm/Ymm index registers.
+
+ * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
+ and invpcid./invpcid.
+
2011-06-09 Nick Clifton <nickc@redhat.com>
PR gas/12861
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 8bbf9db..7d40bbc 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -218,7 +218,9 @@ enum i386_error
old_gcc_only,
unsupported_with_intel_mnemonic,
unsupported_syntax,
- unsupported
+ unsupported,
+ invalid_vsib_address,
+ unsupported_vector_index_register
};
struct _i386_insn
@@ -679,6 +681,8 @@ static const arch_entry cpu_arch[] =
CPU_ANY_SSE_FLAGS, 0, 1 },
{ STRING_COMMA_LEN (".avx"), PROCESSOR_UNKNOWN,
CPU_AVX_FLAGS, 0, 0 },
+ { STRING_COMMA_LEN (".avx2"), PROCESSOR_UNKNOWN,
+ CPU_AVX2_FLAGS, 0, 0 },
{ STRING_COMMA_LEN (".noavx"), PROCESSOR_UNKNOWN,
CPU_ANY_AVX_FLAGS, 0, 1 },
{ STRING_COMMA_LEN (".vmx"), PROCESSOR_UNKNOWN,
@@ -701,6 +705,8 @@ static const arch_entry cpu_arch[] =
CPU_RDRND_FLAGS, 0, 0 },
{ STRING_COMMA_LEN (".f16c"), PROCESSOR_UNKNOWN,
CPU_F16C_FLAGS, 0, 0 },
+ { STRING_COMMA_LEN (".bmi2"), PROCESSOR_UNKNOWN,
+ CPU_BMI2_FLAGS, 0, 0 },
{ STRING_COMMA_LEN (".fma"), PROCESSOR_UNKNOWN,
CPU_FMA_FLAGS, 0, 0 },
{ STRING_COMMA_LEN (".fma4"), PROCESSOR_UNKNOWN,
@@ -713,6 +719,10 @@ static const arch_entry cpu_arch[] =
CPU_MOVBE_FLAGS, 0, 0 },
{ STRING_COMMA_LEN (".ept"), PROCESSOR_UNKNOWN,
CPU_EPT_FLAGS, 0, 0 },
+ { STRING_COMMA_LEN (".lzcnt"), PROCESSOR_UNKNOWN,
+ CPU_LZCNT_FLAGS, 0, 0 },
+ { STRING_COMMA_LEN (".invpcid"), PROCESSOR_UNKNOWN,
+ CPU_INVPCID_FLAGS, 0, 0 },
{ STRING_COMMA_LEN (".clflush"), PROCESSOR_UNKNOWN,
CPU_CLFLUSH_FLAGS, 0, 0 },
{ STRING_COMMA_LEN (".nop"), PROCESSOR_UNKNOWN,
@@ -3834,6 +3844,38 @@ optimize_disp (void)
}
}
+/* Check if operands are valid for the instruction. */
+
+static int
+check_VecOperands (const insn_template *t)
+{
+ /* Without VSIB byte, we can't have a vector register for index. */
+ if (!t->opcode_modifier.vecsib
+ && i.index_reg
+ && (i.index_reg->reg_type.bitfield.regxmm
+ || i.index_reg->reg_type.bitfield.regymm))
+ {
+ i.error = unsupported_vector_index_register;
+ return 1;
+ }
+
+ /* For VSIB byte, we need a vector register for index and no PC
+ relative addressing is allowed. */
+ if (t->opcode_modifier.vecsib
+ && (!i.index_reg
+ || !((t->opcode_modifier.vecsib == VecSIB128
+ && i.index_reg->reg_type.bitfield.regxmm)
+ || (t->opcode_modifier.vecsib == VecSIB256
+ && i.index_reg->reg_type.bitfield.regymm))
+ || (i.base_reg && i.base_reg->reg_num == RegRip)))
+ {
+ i.error = invalid_vsib_address;
+ return 1;
+ }
+
+ return 0;
+}
+
/* Check if operands are valid for the instruction. Update VEX
operand types. */
@@ -4170,6 +4212,10 @@ check_reverse:
continue;
}
+ /* Check if vector operands are valid. */
+ if (check_VecOperands (t))
+ continue;
+
/* Check if VEX operands are valid. */
if (VEX_check_operands (t))
continue;
@@ -4216,6 +4262,12 @@ check_reverse:
case unsupported:
err_msg = _("unsupported");
break;
+ case invalid_vsib_address:
+ err_msg = _("invalid VSIB address");
+ break;
+ case unsupported_vector_index_register:
+ err_msg = _("unsupported vector index register");
+ break;
}
as_bad (_("%s for `%s'"), err_msg,
current_templates->start->name);
@@ -5412,15 +5464,53 @@ build_modrm_byte (void)
break;
gas_assert (op < i.operands);
+ if (i.tm.opcode_modifier.vecsib)
+ {
+ if (i.index_reg->reg_num == RegEiz
+ || i.index_reg->reg_num == RegRiz)
+ abort ();
+
+ i.rm.regmem = ESCAPE_TO_TWO_BYTE_ADDRESSING;
+ if (!i.base_reg)
+ {
+ i.sib.base = NO_BASE_REGISTER;
+ i.sib.scale = i.log2_scale_factor;
+ i.types[op].bitfield.disp8 = 0;
+ i.types[op].bitfield.disp16 = 0;
+ i.types[op].bitfield.disp64 = 0;
+ if (flag_code != CODE_64BIT)
+ {
+ /* Must be 32 bit */
+ i.types[op].bitfield.disp32 = 1;
+ i.types[op].bitfield.disp32s = 0;
+ }
+ else
+ {
+ i.types[op].bitfield.disp32 = 0;
+ i.types[op].bitfield.disp32s = 1;
+ }
+ }
+ i.sib.index = i.index_reg->reg_num;
+ if ((i.index_reg->reg_flags & RegRex) != 0)
+ i.rex |= REX_X;
+ }
+
default_seg = &ds;
if (i.base_reg == 0)
{
i.rm.mode = 0;
if (!i.disp_operands)
- fake_zero_displacement = 1;
+ {
+ fake_zero_displacement = 1;
+ /* Instructions with VSIB byte need 32bit displacement
+ if there is no base register. */
+ if (i.tm.opcode_modifier.vecsib)
+ i.types[op].bitfield.disp32 = 1;
+ }
if (i.index_reg == 0)
{
+ gas_assert (!i.tm.opcode_modifier.vecsib);
/* Operand is just <disp> */
if (flag_code == CODE_64BIT)
{
@@ -5446,8 +5536,9 @@ build_modrm_byte (void)
i.types[op] = disp32;
}
}
- else /* !i.base_reg && i.index_reg */
+ else if (!i.tm.opcode_modifier.vecsib)
{
+ /* !i.base_reg && i.index_reg */
if (i.index_reg->reg_num == RegEiz
|| i.index_reg->reg_num == RegRiz)
i.sib.index = NO_INDEX_REGISTER;
@@ -5478,6 +5569,7 @@ build_modrm_byte (void)
else if (i.base_reg->reg_num == RegRip ||
i.base_reg->reg_num == RegEip)
{
+ gas_assert (!i.tm.opcode_modifier.vecsib);
i.rm.regmem = NO_BASE_REGISTER;
i.types[op].bitfield.disp8 = 0;
i.types[op].bitfield.disp16 = 0;
@@ -5490,6 +5582,7 @@ build_modrm_byte (void)
}
else if (i.base_reg->reg_type.bitfield.reg16)
{
+ gas_assert (!i.tm.opcode_modifier.vecsib);
switch (i.base_reg->reg_num)
{
case 3: /* (%bx) */
@@ -5533,7 +5626,8 @@ build_modrm_byte (void)
i.types[op].bitfield.disp32 = 1;
}
- i.rm.regmem = i.base_reg->reg_num;
+ if (!i.tm.opcode_modifier.vecsib)
+ i.rm.regmem = i.base_reg->reg_num;
if ((i.base_reg->reg_flags & RegRex) != 0)
i.rex |= REX_B;
i.sib.base = i.base_reg->reg_num;
@@ -5555,6 +5649,7 @@ build_modrm_byte (void)
i.sib.scale = i.log2_scale_factor;
if (i.index_reg == 0)
{
+ gas_assert (!i.tm.opcode_modifier.vecsib);
/* <disp>(%esp) becomes two byte modrm with no index
register. We've already stored the code for esp
in i.rm.regmem ie. ESCAPE_TO_TWO_BYTE_ADDRESSING.
@@ -5562,7 +5657,7 @@ build_modrm_byte (void)
extra modrm byte. */
i.sib.index = NO_INDEX_REGISTER;
}
- else
+ else if (!i.tm.opcode_modifier.vecsib)
{
if (i.index_reg->reg_num == RegEiz
|| i.index_reg->reg_num == RegRiz)
@@ -7124,6 +7219,8 @@ i386_index_check (const char *operand_string)
|| i.base_reg->reg_num !=
(i.prefix[ADDR_PREFIX] == 0 ? RegRip : RegEip)))
|| (i.index_reg
+ && !(i.index_reg->reg_type.bitfield.regxmm
+ || i.index_reg->reg_type.bitfield.regymm)
&& (!i.index_reg->reg_type.bitfield.baseindex
|| (i.prefix[ADDR_PREFIX] == 0
&& i.index_reg->reg_num != RegRiz
@@ -7157,6 +7254,8 @@ i386_index_check (const char *operand_string)
if ((i.base_reg
&& !i.base_reg->reg_type.bitfield.reg32)
|| (i.index_reg
+ && !i.index_reg->reg_type.bitfield.regxmm
+ && !i.index_reg->reg_type.bitfield.regymm
&& ((!i.index_reg->reg_type.bitfield.reg32
&& i.index_reg->reg_num != RegEiz)
|| !i.index_reg->reg_type.bitfield.baseindex)))
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index bedff79..1bdb1fa 100644
--- a/gas/doc/c-i386.texi
+++ b/gas/doc/c-i386.texi
@@ -141,6 +141,7 @@ accept various extension mnemonics. For example,
@code{sse4},
@code{nosse},
@code{avx},
+@code{avx2},
@code{noavx},
@code{vmx},
@code{smx},
@@ -151,9 +152,12 @@ accept various extension mnemonics. For example,
@code{fsgsbase},
@code{rdrnd},
@code{f16c},
+@code{bmi2},
@code{fma},
@code{movbe},
@code{ept},
+@code{lzcnt},
+@code{invpcid},
@code{clflush},
@code{lwp},
@code{fma4},
@@ -1008,7 +1012,8 @@ supported on the CPU specified. The choices for @var{cpu_type} are:
@item @samp{.avx} @tab @samp{.vmx} @tab @samp{.smx} @tab @samp{.ept}
@item @samp{.clflush} @tab @samp{.movbe} @tab @samp{.xsave} @tab @samp{.xsaveopt}
@item @samp{.aes} @tab @samp{.pclmul} @tab @samp{.fma} @tab @samp{.fsgsbase}
-@item @samp{.rdrnd} @tab @samp{.f16c}
+@item @samp{.rdrnd} @tab @samp{.f16c} @tab @samp{.avx2} @tab @samp{.bmi2}
+@item @samp{.lzcnt} @tab @samp{.invpcid}
@item @samp{.3dnow} @tab @samp{.3dnowa} @tab @samp{.sse4a} @tab @samp{.sse5}
@item @samp{.syscall} @tab @samp{.rdtscp} @tab @samp{.svme} @tab @samp{.abm}
@item @samp{.lwp} @tab @samp{.fma4} @tab @samp{.xop}
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 44b8b9e..61af88c 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,51 @@
+2011-06-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ AVX Programming Reference (June, 2011)
+ * gas/i386/arch-10-1.l: Updated.
+ * gas/i386/arch-10-2.l: Likewise.
+ * gas/i386/arch-10-3.l: Likewise.
+ * gas/i386/arch-10-4.l: Likewise.
+
+ * gas/i386/arch-10.s: Add LZCNT to comments.
+ * gas/i386/x86-64-arch-2.s: Likewise.
+
+ * gas/i386/arch-10-lzcnt.d: New.
+ * gas/i386/avx-gather-intel.d: Likewise.
+ * gas/i386/avx-gather.d: Likewise.
+ * gas/i386/avx-gather.s: Likewise.
+ * gas/i386/avx2-intel.d: Likewise.
+ * gas/i386/avx2.d: Likewise.
+ * gas/i386/avx2.s: Likewise
+ * gas/i386/avx256int-intel.d: Likewise.
+ * gas/i386/avx256int.d: Likewise.
+ * gas/i386/avx256int.s: Likewise.
+ * gas/i386/bmi2-intel.d: Likewise.
+ * gas/i386/bmi2.d: Likewise.
+ * gas/i386/bmi2.s: Likewise.
+ * gas/i386/inval-invpcid.l:Likewise.
+ * gas/i386/inval-invpcid.s: Likewise.
+ * gas/i386/invpcid-intel.d: Likewise.
+ * gas/i386/invpcid.d: Likewise.
+ * gas/i386/invpcid.s: Likewise.
+ * gas/i386/x86-64-arch-2-lzcnt.d: Likewise.
+ * gas/i386/x86-64-avx-gather-intel.d: Likewise.
+ * gas/i386/x86-64-avx-gather.d: Likewise.
+ * gas/i386/x86-64-avx-gather.s: Likewise.
+ * gas/i386/x86-64-avx2-intel.d: Likewise.
+ * gas/i386/x86-64-avx2.d: Likewise.
+ * gas/i386/x86-64-avx2.s: Likewise.
+ * gas/i386/x86-64-avx256int-intel.d: Likewise.
+ * gas/i386/x86-64-avx256int.d: Likewise.
+ * gas/i386/x86-64-avx256int.s: Likewise.
+ * gas/i386/x86-64-bmi2-intel.d: Likewise.
+ * gas/i386/x86-64-bmi2.d: Likewise.
+ * gas/i386/x86-64-bmi2.s: Likewise.
+ * gas/i386/x86-64-inval-invpcid.l: Likewise.
+ * gas/i386/x86-64-inval-invpcid.s: Likewise.
+ * gas/i386/x86-64-invpcid-intel.d: Likewise.
+ * gas/i386/x86-64-invpcid.d: Likewise.
+ * gas/i386/x86-64-invpcid.s: Likewise.
+
2011-06-09 James Greenhalgh <james.greenhalgh@arm.com>
* gas/arm/ldrd-unpredicatble.d: New testcase.
diff --git a/gas/testsuite/gas/i386/arch-10-1.l b/gas/testsuite/gas/i386/arch-10-1.l
index 578252d..bc66b92 100644
--- a/gas/testsuite/gas/i386/arch-10-1.l
+++ b/gas/testsuite/gas/i386/arch-10-1.l
@@ -94,7 +94,7 @@ GAS LISTING .*
GAS LISTING .*
-[ ]*57[ ]+\# ABM
+[ ]*57[ ]+\# ABM/LZCNT
[ ]*58[ ]+lzcnt %ecx,%ebx
[ ]*59[ ]+\# PadLock
[ ]*60[ ]+xstorerng
diff --git a/gas/testsuite/gas/i386/arch-10-2.l b/gas/testsuite/gas/i386/arch-10-2.l
index ae91ef1..a4a51cc 100644
--- a/gas/testsuite/gas/i386/arch-10-2.l
+++ b/gas/testsuite/gas/i386/arch-10-2.l
@@ -93,7 +93,7 @@ GAS LISTING .*
GAS LISTING .*
-[ ]*57[ ]+\# ABM
+[ ]*57[ ]+\# ABM/LZCNT
[ ]*58[ ]+lzcnt %ecx,%ebx
[ ]*59[ ]+\# PadLock
[ ]*60[ ]+xstorerng
diff --git a/gas/testsuite/gas/i386/arch-10-3.l b/gas/testsuite/gas/i386/arch-10-3.l
index b15788e..82b2c26 100644
--- a/gas/testsuite/gas/i386/arch-10-3.l
+++ b/gas/testsuite/gas/i386/arch-10-3.l
@@ -89,7 +89,7 @@ GAS LISTING .*
[ ]*54[ ]+insertq %xmm2,%xmm1
[ ]*55[ ]+\# SVME
[ ]*56[ ]+vmload
-[ ]*57[ ]+\# ABM
+[ ]*57[ ]+\# ABM/LZCNT
[ ]*58[ ]+lzcnt %ecx,%ebx
[ ]*59[ ]+\# PadLock
[ ]*60[ ]+xstorerng
diff --git a/gas/testsuite/gas/i386/arch-10-4.l b/gas/testsuite/gas/i386/arch-10-4.l
index f59185d..af527de 100644
--- a/gas/testsuite/gas/i386/arch-10-4.l
+++ b/gas/testsuite/gas/i386/arch-10-4.l
@@ -87,7 +87,7 @@ GAS LISTING .*
[ ]*54[ ]+insertq %xmm2,%xmm1
[ ]*55[ ]+\# SVME
[ ]*56[ ]+vmload
-[ ]*57[ ]+\# ABM
+[ ]*57[ ]+\# ABM/LZCNT
[ ]*58[ ]+lzcnt %ecx,%ebx
[ ]*59[ ]+\# PadLock
[ ]*60[ ]+xstorerng
diff --git a/gas/testsuite/gas/i386/arch-10-lzcnt.d b/gas/testsuite/gas/i386/arch-10-lzcnt.d
new file mode 100644
index 0000000..e8a4f88
--- /dev/null
+++ b/gas/testsuite/gas/i386/arch-10-lzcnt.d
@@ -0,0 +1,40 @@
+#source: arch-10.s
+#as: -march=i686+nop+avx+vmx+smx+xsave+xsaveopt+aes+pclmul+fma+movbe+ept+clflush+syscall+rdtscp+3dnowa+sse4a+svme+lzcnt+padlock+bmi+tbm
+#objdump: -dw
+#name: i386 arch 10 (lzcnt)
+
+.*: file format .*
+
+Disassembly of section .text:
+
+0+ <.text>:
+[ ]*[a-f0-9]+: 0f 44 d8 cmove %eax,%ebx
+[ ]*[a-f0-9]+: 0f ae 38 clflush \(%eax\)
+[ ]*[a-f0-9]+: 0f 05 syscall
+[ ]*[a-f0-9]+: 0f fc dc paddb %mm4,%mm3
+[ ]*[a-f0-9]+: f3 0f 58 dc addss %xmm4,%xmm3
+[ ]*[a-f0-9]+: f2 0f 58 dc addsd %xmm4,%xmm3
+[ ]*[a-f0-9]+: 66 0f d0 dc addsubpd %xmm4,%xmm3
+[ ]*[a-f0-9]+: 66 0f 38 01 dc phaddw %xmm4,%xmm3
+[ ]*[a-f0-9]+: 66 0f 38 41 d9 phminposuw %xmm1,%xmm3
+[ ]*[a-f0-9]+: f2 0f 38 f1 d9 crc32l %ecx,%ebx
+[ ]*[a-f0-9]+: c5 fc 77 vzeroall
+[ ]*[a-f0-9]+: 0f 01 c4 vmxoff
+[ ]*[a-f0-9]+: 0f 37 getsec
+[ ]*[a-f0-9]+: 0f 01 d0 xgetbv
+[ ]*[a-f0-9]+: 0f ae 31 xsaveopt \(%ecx\)
+[ ]*[a-f0-9]+: 66 0f 38 dc 01 aesenc \(%ecx\),%xmm0
+[ ]*[a-f0-9]+: 66 0f 3a 44 c1 08 pclmulqdq \$0x8,%xmm1,%xmm0
+[ ]*[a-f0-9]+: c4 e2 79 dc 11 vaesenc \(%ecx\),%xmm0,%xmm2
+[ ]*[a-f0-9]+: c4 e3 49 44 d4 08 vpclmulqdq \$0x8,%xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 c9 98 d4 vfmadd132pd %xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: 0f 38 f0 19 movbe \(%ecx\),%ebx
+[ ]*[a-f0-9]+: 66 0f 38 80 19 invept \(%ecx\),%ebx
+[ ]*[a-f0-9]+: 0f 01 f9 rdtscp
+[ ]*[a-f0-9]+: 0f 0f dc b7 pmulhrw %mm4,%mm3
+[ ]*[a-f0-9]+: 0f 0f dc bb pswapd %mm4,%mm3
+[ ]*[a-f0-9]+: f2 0f 79 ca insertq %xmm2,%xmm1
+[ ]*[a-f0-9]+: 0f 01 da vmload
+[ ]*[a-f0-9]+: f3 0f bd d9 lzcnt %ecx,%ebx
+[ ]*[a-f0-9]+: 0f a7 c0 xstore-rng
+#pass
diff --git a/gas/testsuite/gas/i386/arch-10.s b/gas/testsuite/gas/i386/arch-10.s
index 0e72a76..76da840 100644
--- a/gas/testsuite/gas/i386/arch-10.s
+++ b/gas/testsuite/gas/i386/arch-10.s
@@ -54,7 +54,7 @@ pswapd %mm4,%mm3
insertq %xmm2,%xmm1
# SVME
vmload
-# ABM
+# ABM/LZCNT
lzcnt %ecx,%ebx
# PadLock
xstorerng
diff --git a/gas/testsuite/gas/i386/avx-gather-intel.d b/gas/testsuite/gas/i386/avx-gather-intel.d
new file mode 100644
index 0000000..ef61730
--- /dev/null
+++ b/gas/testsuite/gas/i386/avx-gather-intel.d
@@ -0,0 +1,60 @@
+#as:
+#objdump: -dwMintel
+#name: i386 AVX GATHER insns (Intel disassembly)
+#source: avx-gather.s
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c4 e2 e9 92 4c 7d 00 vgatherdpd xmm1,QWORD PTR \[ebp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 e9 93 4c 7d 00 vgatherqpd xmm1,QWORD PTR \[ebp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 ed 92 4c 7d 00 vgatherdpd ymm1,QWORD PTR \[ebp\+xmm7\*2\+0x0\],ymm2
+[ ]*[a-f0-9]+: c4 e2 ed 93 4c 7d 00 vgatherqpd ymm1,QWORD PTR \[ebp\+ymm7\*2\+0x0\],ymm2
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 08 00 00 00 vgatherdpd ymm6,QWORD PTR \[xmm4\*1\+0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 f8 ff ff ff vgatherdpd ymm6,QWORD PTR \[xmm4\*1-0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 00 00 00 00 vgatherdpd ymm6,QWORD PTR \[xmm4\*1\+0x0\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 98 02 00 00 vgatherdpd ymm6,QWORD PTR \[xmm4\*1\+0x298\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 08 00 00 00 vgatherdpd ymm6,QWORD PTR \[xmm4\*8\+0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 f8 ff ff ff vgatherdpd ymm6,QWORD PTR \[xmm4\*8-0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 00 00 00 00 vgatherdpd ymm6,QWORD PTR \[xmm4\*8\+0x0\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 98 02 00 00 vgatherdpd ymm6,QWORD PTR \[xmm4\*8\+0x298\],ymm5
+[ ]*[a-f0-9]+: c4 e2 69 92 4c 7d 00 vgatherdps xmm1,DWORD PTR \[ebp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 69 93 4c 7d 00 vgatherqps xmm1,DWORD PTR \[ebp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 6d 92 4c 7d 00 vgatherdps ymm1,DWORD PTR \[ebp\+ymm7\*2\+0x0\],ymm2
+[ ]*[a-f0-9]+: c4 e2 6d 93 4c 7d 00 vgatherqps xmm1,DWORD PTR \[ebp\+ymm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 08 00 00 00 vgatherdps xmm6,DWORD PTR \[xmm4\*1\+0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 f8 ff ff ff vgatherdps xmm6,DWORD PTR \[xmm4\*1-0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 00 00 00 00 vgatherdps xmm6,DWORD PTR \[xmm4\*1\+0x0\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 98 02 00 00 vgatherdps xmm6,DWORD PTR \[xmm4\*1\+0x298\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 08 00 00 00 vgatherdps xmm6,DWORD PTR \[xmm4\*8\+0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 f8 ff ff ff vgatherdps xmm6,DWORD PTR \[xmm4\*8-0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 00 00 00 00 vgatherdps xmm6,DWORD PTR \[xmm4\*8\+0x0\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 98 02 00 00 vgatherdps xmm6,DWORD PTR \[xmm4\*8\+0x298\],xmm5
+[ ]*[a-f0-9]+: c4 e2 69 90 4c 7d 00 vpgatherdd xmm1,DWORD PTR \[ebp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 69 91 4c 7d 00 vpgatherqd xmm1,DWORD PTR \[ebp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 6d 90 4c 7d 00 vpgatherdd ymm1,DWORD PTR \[ebp\+ymm7\*2\+0x0\],ymm2
+[ ]*[a-f0-9]+: c4 e2 6d 91 4c 7d 00 vpgatherqd xmm1,DWORD PTR \[ebp\+ymm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 08 00 00 00 vpgatherdd xmm6,DWORD PTR \[xmm4\*1\+0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 f8 ff ff ff vpgatherdd xmm6,DWORD PTR \[xmm4\*1-0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 00 00 00 00 vpgatherdd xmm6,DWORD PTR \[xmm4\*1\+0x0\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 98 02 00 00 vpgatherdd xmm6,DWORD PTR \[xmm4\*1\+0x298\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 08 00 00 00 vpgatherdd xmm6,DWORD PTR \[xmm4\*8\+0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 f8 ff ff ff vpgatherdd xmm6,DWORD PTR \[xmm4\*8-0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 00 00 00 00 vpgatherdd xmm6,DWORD PTR \[xmm4\*8\+0x0\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 98 02 00 00 vpgatherdd xmm6,DWORD PTR \[xmm4\*8\+0x298\],xmm5
+[ ]*[a-f0-9]+: c4 e2 e9 90 4c 7d 00 vpgatherdq xmm1,QWORD PTR \[ebp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 e9 91 4c 7d 00 vpgatherqq xmm1,QWORD PTR \[ebp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 ed 90 4c 7d 00 vpgatherdq ymm1,QWORD PTR \[ebp\+xmm7\*2\+0x0\],ymm2
+[ ]*[a-f0-9]+: c4 e2 ed 91 4c 7d 00 vpgatherqq ymm1,QWORD PTR \[ebp\+ymm7\*2\+0x0\],ymm2
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 08 00 00 00 vpgatherdq ymm6,QWORD PTR \[xmm4\*1\+0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 f8 ff ff ff vpgatherdq ymm6,QWORD PTR \[xmm4\*1-0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 00 00 00 00 vpgatherdq ymm6,QWORD PTR \[xmm4\*1\+0x0\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 98 02 00 00 vpgatherdq ymm6,QWORD PTR \[xmm4\*1\+0x298\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 08 00 00 00 vpgatherdq ymm6,QWORD PTR \[xmm4\*8\+0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 f8 ff ff ff vpgatherdq ymm6,QWORD PTR \[xmm4\*8-0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 00 00 00 00 vpgatherdq ymm6,QWORD PTR \[xmm4\*8\+0x0\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 98 02 00 00 vpgatherdq ymm6,QWORD PTR \[xmm4\*8\+0x298\],ymm5
+#pass
diff --git a/gas/testsuite/gas/i386/avx-gather.d b/gas/testsuite/gas/i386/avx-gather.d
new file mode 100644
index 0000000..6bddec7
--- /dev/null
+++ b/gas/testsuite/gas/i386/avx-gather.d
@@ -0,0 +1,59 @@
+#as:
+#objdump: -dw
+#name: i386 AVX GATHER insns
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c4 e2 e9 92 4c 7d 00 vgatherdpd %xmm2,0x0\(%ebp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 e9 93 4c 7d 00 vgatherqpd %xmm2,0x0\(%ebp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 ed 92 4c 7d 00 vgatherdpd %ymm2,0x0\(%ebp,%xmm7,2\),%ymm1
+[ ]*[a-f0-9]+: c4 e2 ed 93 4c 7d 00 vgatherqpd %ymm2,0x0\(%ebp,%ymm7,2\),%ymm1
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 08 00 00 00 vgatherdpd %ymm5,0x8\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 f8 ff ff ff vgatherdpd %ymm5,-0x8\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 00 00 00 00 vgatherdpd %ymm5,0x0\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 98 02 00 00 vgatherdpd %ymm5,0x298\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 08 00 00 00 vgatherdpd %ymm5,0x8\(,%xmm4,8\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 f8 ff ff ff vgatherdpd %ymm5,-0x8\(,%xmm4,8\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 00 00 00 00 vgatherdpd %ymm5,0x0\(,%xmm4,8\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 98 02 00 00 vgatherdpd %ymm5,0x298\(,%xmm4,8\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 69 92 4c 7d 00 vgatherdps %xmm2,0x0\(%ebp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 69 93 4c 7d 00 vgatherqps %xmm2,0x0\(%ebp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 6d 92 4c 7d 00 vgatherdps %ymm2,0x0\(%ebp,%ymm7,2\),%ymm1
+[ ]*[a-f0-9]+: c4 e2 6d 93 4c 7d 00 vgatherqps %xmm2,0x0\(%ebp,%ymm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 08 00 00 00 vgatherdps %xmm5,0x8\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 f8 ff ff ff vgatherdps %xmm5,-0x8\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 00 00 00 00 vgatherdps %xmm5,0x0\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 98 02 00 00 vgatherdps %xmm5,0x298\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 08 00 00 00 vgatherdps %xmm5,0x8\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 f8 ff ff ff vgatherdps %xmm5,-0x8\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 00 00 00 00 vgatherdps %xmm5,0x0\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 98 02 00 00 vgatherdps %xmm5,0x298\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 69 90 4c 7d 00 vpgatherdd %xmm2,0x0\(%ebp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 69 91 4c 7d 00 vpgatherqd %xmm2,0x0\(%ebp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 6d 90 4c 7d 00 vpgatherdd %ymm2,0x0\(%ebp,%ymm7,2\),%ymm1
+[ ]*[a-f0-9]+: c4 e2 6d 91 4c 7d 00 vpgatherqd %xmm2,0x0\(%ebp,%ymm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 08 00 00 00 vpgatherdd %xmm5,0x8\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 f8 ff ff ff vpgatherdd %xmm5,-0x8\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 00 00 00 00 vpgatherdd %xmm5,0x0\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 98 02 00 00 vpgatherdd %xmm5,0x298\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 08 00 00 00 vpgatherdd %xmm5,0x8\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 f8 ff ff ff vpgatherdd %xmm5,-0x8\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 00 00 00 00 vpgatherdd %xmm5,0x0\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 98 02 00 00 vpgatherdd %xmm5,0x298\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 e9 90 4c 7d 00 vpgatherdq %xmm2,0x0\(%ebp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 e9 91 4c 7d 00 vpgatherqq %xmm2,0x0\(%ebp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 ed 90 4c 7d 00 vpgatherdq %ymm2,0x0\(%ebp,%xmm7,2\),%ymm1
+[ ]*[a-f0-9]+: c4 e2 ed 91 4c 7d 00 vpgatherqq %ymm2,0x0\(%ebp,%ymm7,2\),%ymm1
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 08 00 00 00 vpgatherdq %ymm5,0x8\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 f8 ff ff ff vpgatherdq %ymm5,-0x8\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 00 00 00 00 vpgatherdq %ymm5,0x0\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 98 02 00 00 vpgatherdq %ymm5,0x298\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 08 00 00 00 vpgatherdq %ymm5,0x8\(,%xmm4,8\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 f8 ff ff ff vpgatherdq %ymm5,-0x8\(,%xmm4,8\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 00 00 00 00 vpgatherdq %ymm5,0x0\(,%xmm4,8\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 98 02 00 00 vpgatherdq %ymm5,0x298\(,%xmm4,8\),%ymm6
+#pass
diff --git a/gas/testsuite/gas/i386/avx-gather.s b/gas/testsuite/gas/i386/avx-gather.s
new file mode 100644
index 0000000..932a7d1
--- /dev/null
+++ b/gas/testsuite/gas/i386/avx-gather.s
@@ -0,0 +1,109 @@
+# Check 32bit AVX gather instructions
+
+ .text
+_start:
+ vgatherdpd %xmm2, (%ebp, %xmm7, 2),%xmm1
+ vgatherqpd %xmm2, (%ebp, %xmm7, 2),%xmm1
+ vgatherdpd %ymm2, (%ebp, %xmm7, 2),%ymm1
+ vgatherqpd %ymm2, (%ebp, %ymm7, 2),%ymm1
+
+ vgatherdpd %ymm5,0x8(,%xmm4,1),%ymm6
+ vgatherdpd %ymm5,-0x8(,%xmm4,1),%ymm6
+ vgatherdpd %ymm5,(,%xmm4,1),%ymm6
+ vgatherdpd %ymm5,0x298(,%xmm4,1),%ymm6
+ vgatherdpd %ymm5,0x8(,%xmm4,8),%ymm6
+ vgatherdpd %ymm5,-0x8(,%xmm4,8),%ymm6
+ vgatherdpd %ymm5,(,%xmm4,8),%ymm6
+ vgatherdpd %ymm5,0x298(,%xmm4,8),%ymm6
+
+ vgatherdps %xmm2, (%ebp, %xmm7, 2),%xmm1
+ vgatherqps %xmm2, (%ebp, %xmm7, 2),%xmm1
+ vgatherdps %ymm2, (%ebp, %ymm7, 2),%ymm1
+ vgatherqps %xmm2, (%ebp, %ymm7, 2),%xmm1
+
+ vgatherdps %xmm5,0x8(,%xmm4,1),%xmm6
+ vgatherdps %xmm5,-0x8(,%xmm4,1),%xmm6
+ vgatherdps %xmm5,(,%xmm4,1),%xmm6
+ vgatherdps %xmm5,0x298(,%xmm4,1),%xmm6
+ vgatherdps %xmm5,0x8(,%xmm4,8),%xmm6
+ vgatherdps %xmm5,-0x8(,%xmm4,8),%xmm6
+ vgatherdps %xmm5,(,%xmm4,8),%xmm6
+ vgatherdps %xmm5,0x298(,%xmm4,8),%xmm6
+
+ vpgatherdd %xmm2, (%ebp, %xmm7, 2),%xmm1
+ vpgatherqd %xmm2, (%ebp, %xmm7, 2),%xmm1
+ vpgatherdd %ymm2, (%ebp, %ymm7, 2),%ymm1
+ vpgatherqd %xmm2, (%ebp, %ymm7, 2),%xmm1
+
+ vpgatherdd %xmm5,0x8(,%xmm4,1),%xmm6
+ vpgatherdd %xmm5,-0x8(,%xmm4,1),%xmm6
+ vpgatherdd %xmm5,(,%xmm4,1),%xmm6
+ vpgatherdd %xmm5,0x298(,%xmm4,1),%xmm6
+ vpgatherdd %xmm5,0x8(,%xmm4,8),%xmm6
+ vpgatherdd %xmm5,-0x8(,%xmm4,8),%xmm6
+ vpgatherdd %xmm5,(,%xmm4,8),%xmm6
+ vpgatherdd %xmm5,0x298(,%xmm4,8),%xmm6
+
+ vpgatherdq %xmm2, (%ebp, %xmm7, 2),%xmm1
+ vpgatherqq %xmm2, (%ebp, %xmm7, 2),%xmm1
+ vpgatherdq %ymm2, (%ebp, %xmm7, 2),%ymm1
+ vpgatherqq %ymm2, (%ebp, %ymm7, 2),%ymm1
+
+ vpgatherdq %ymm5,0x8(,%xmm4,1),%ymm6
+ vpgatherdq %ymm5,-0x8(,%xmm4,1),%ymm6
+ vpgatherdq %ymm5,(,%xmm4,1),%ymm6
+ vpgatherdq %ymm5,0x298(,%xmm4,1),%ymm6
+ vpgatherdq %ymm5,0x8(,%xmm4,8),%ymm6
+ vpgatherdq %ymm5,-0x8(,%xmm4,8),%ymm6
+ vpgatherdq %ymm5,(,%xmm4,8),%ymm6
+ vpgatherdq %ymm5,0x298(,%xmm4,8),%ymm6
+
+ .intel_syntax noprefix
+vgatherdpd xmm1,QWORD PTR [ebp+xmm7*2+0x0],xmm2
+vgatherqpd xmm1,QWORD PTR [ebp+xmm7*2+0x0],xmm2
+vgatherdpd ymm1,QWORD PTR [ebp+xmm7*2+0x0],ymm2
+vgatherqpd ymm1,QWORD PTR [ebp+ymm7*2+0x0],ymm2
+vgatherdpd ymm6,QWORD PTR [xmm4*1+0x8],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm4*1-0x8],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm4*1+0x0],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm4*1+0x298],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm4*8+0x8],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm4*8-0x8],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm4*8+0x0],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm4*8+0x298],ymm5
+vgatherdps xmm1,DWORD PTR [ebp+xmm7*2+0x0],xmm2
+vgatherqps xmm1,DWORD PTR [ebp+xmm7*2+0x0],xmm2
+vgatherdps ymm1,DWORD PTR [ebp+ymm7*2+0x0],ymm2
+vgatherqps xmm1,DWORD PTR [ebp+ymm7*2+0x0],xmm2
+vgatherdps xmm6,DWORD PTR [xmm4*1+0x8],xmm5
+vgatherdps xmm6,DWORD PTR [xmm4*1-0x8],xmm5
+vgatherdps xmm6,DWORD PTR [xmm4*1+0x0],xmm5
+vgatherdps xmm6,DWORD PTR [xmm4*1+0x298],xmm5
+vgatherdps xmm6,DWORD PTR [xmm4*8+0x8],xmm5
+vgatherdps xmm6,DWORD PTR [xmm4*8-0x8],xmm5
+vgatherdps xmm6,DWORD PTR [xmm4*8+0x0],xmm5
+vgatherdps xmm6,DWORD PTR [xmm4*8+0x298],xmm5
+vpgatherdd xmm1,DWORD PTR [ebp+xmm7*2+0x0],xmm2
+vpgatherqd xmm1,DWORD PTR [ebp+xmm7*2+0x0],xmm2
+vpgatherdd ymm1,DWORD PTR [ebp+ymm7*2+0x0],ymm2
+vpgatherqd xmm1,DWORD PTR [ebp+ymm7*2+0x0],xmm2
+vpgatherdd xmm6,DWORD PTR [xmm4*1+0x8],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm4*1-0x8],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm4*1+0x0],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm4*1+0x298],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm4*8+0x8],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm4*8-0x8],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm4*8+0x0],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm4*8+0x298],xmm5
+vpgatherdq xmm1,QWORD PTR [ebp+xmm7*2+0x0],xmm2
+vpgatherqq xmm1,QWORD PTR [ebp+xmm7*2+0x0],xmm2
+vpgatherdq ymm1,QWORD PTR [ebp+xmm7*2+0x0],ymm2
+vpgatherqq ymm1,QWORD PTR [ebp+ymm7*2+0x0],ymm2
+vpgatherdq ymm6,QWORD PTR [xmm4*1+0x8],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm4*1-0x8],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm4*1+0x0],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm4*1+0x298],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm4*8+0x8],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm4*8-0x8],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm4*8+0x0],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm4*8+0x298],ymm5
diff --git a/gas/testsuite/gas/i386/avx2-intel.d b/gas/testsuite/gas/i386/avx2-intel.d
new file mode 100644
index 0000000..6f1df73
--- /dev/null
+++ b/gas/testsuite/gas/i386/avx2-intel.d
@@ -0,0 +1,182 @@
+#objdump: -dwMintel
+#name: i386 AVX2 insns (Intel disassembly)
+#source: avx2.s
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c4 e2 5d 8c 31 vpmaskmovd ymm6,ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 8e 21 vpmaskmovd YMMWORD PTR \[ecx\],ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 dd 8c 31 vpmaskmovq ymm6,ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 cd 8e 21 vpmaskmovq YMMWORD PTR \[ecx\],ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e3 fd 01 d6 07 vpermpd ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c4 e3 fd 01 31 07 vpermpd ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 fd 00 d6 07 vpermq ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c4 e3 fd 00 31 07 vpermq ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e2 4d 36 d4 vpermd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 36 11 vpermd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 16 d4 vpermps ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 16 11 vpermps ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 47 d4 vpsllvd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 47 11 vpsllvd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 cd 47 d4 vpsllvq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 cd 47 11 vpsllvq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 46 d4 vpsravd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 46 11 vpsravd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 45 d4 vpsrlvd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 45 11 vpsrlvd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 cd 45 d4 vpsrlvq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 cd 45 11 vpsrlvq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 2a 21 vmovntdqa ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 19 f4 vbroadcastsd ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 18 f4 vbroadcastss ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e3 4d 02 d4 07 vpblendd ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 02 11 07 vpblendd ymm2,ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 46 d4 07 vperm2i128 ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 46 11 07 vperm2i128 ymm2,ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 5d 38 f4 07 vinserti128 ymm6,ymm4,xmm4,0x7
+[ ]*[a-f0-9]+: c4 e3 5d 38 31 07 vinserti128 ymm6,ymm4,XMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e2 7d 5a 21 vbroadcasti128 ymm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 49 47 d4 vpsllvd xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 49 47 39 vpsllvd xmm7,xmm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 c9 47 d4 vpsllvq xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 c9 47 39 vpsllvq xmm7,xmm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 49 46 d4 vpsravd xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 49 46 39 vpsravd xmm7,xmm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 49 45 d4 vpsrlvd xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 49 45 39 vpsrlvd xmm7,xmm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 c9 45 d4 vpsrlvq xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 c9 45 39 vpsrlvq xmm7,xmm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 59 8c 31 vpmaskmovd xmm6,xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 d9 8c 31 vpmaskmovq xmm6,xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e3 7d 39 e6 07 vextracti128 xmm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 7d 39 21 07 vextracti128 XMMWORD PTR \[ecx\],ymm4,0x7
+[ ]*[a-f0-9]+: c4 e2 49 8e 21 vpmaskmovd XMMWORD PTR \[ecx\],xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 c9 8e 21 vpmaskmovq XMMWORD PTR \[ecx\],xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e3 49 02 d4 07 vpblendd xmm2,xmm6,xmm4,0x7
+[ ]*[a-f0-9]+: c4 e3 49 02 11 07 vpblendd xmm2,xmm6,XMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e2 79 59 f4 vpbroadcastq xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 59 21 vpbroadcastq xmm4,QWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 59 f4 vpbroadcastq ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 59 21 vpbroadcastq ymm4,QWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 58 e4 vpbroadcastd ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 58 21 vpbroadcastd ymm4,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 79 58 f4 vpbroadcastd xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 58 21 vpbroadcastd xmm4,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 79 79 f4 vpbroadcastw xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 79 21 vpbroadcastw xmm4,WORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 79 f4 vpbroadcastw ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 79 21 vpbroadcastw ymm4,WORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 79 78 f4 vpbroadcastb xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 78 21 vpbroadcastb xmm4,BYTE PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 78 f4 vpbroadcastb ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 78 21 vpbroadcastb ymm4,BYTE PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 79 18 f4 vbroadcastss xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 5d 8c 31 vpmaskmovd ymm6,ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 8e 21 vpmaskmovd YMMWORD PTR \[ecx\],ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 5d 8c 31 vpmaskmovd ymm6,ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 8e 21 vpmaskmovd YMMWORD PTR \[ecx\],ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 dd 8c 31 vpmaskmovq ymm6,ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 cd 8e 21 vpmaskmovq YMMWORD PTR \[ecx\],ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 dd 8c 31 vpmaskmovq ymm6,ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 cd 8e 21 vpmaskmovq YMMWORD PTR \[ecx\],ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e3 fd 01 d6 07 vpermpd ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c4 e3 fd 01 31 07 vpermpd ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 fd 01 31 07 vpermpd ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 fd 00 d6 07 vpermq ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c4 e3 fd 00 31 07 vpermq ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 fd 00 31 07 vpermq ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e2 4d 36 d4 vpermd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 36 11 vpermd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 36 11 vpermd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 16 d4 vpermps ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 16 11 vpermps ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 16 11 vpermps ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 47 d4 vpsllvd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 47 11 vpsllvd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 47 11 vpsllvd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 cd 47 d4 vpsllvq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 cd 47 11 vpsllvq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 cd 47 11 vpsllvq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 46 d4 vpsravd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 46 11 vpsravd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 46 11 vpsravd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 45 d4 vpsrlvd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 45 11 vpsrlvd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 45 11 vpsrlvd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 cd 45 d4 vpsrlvq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 cd 45 11 vpsrlvq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 cd 45 11 vpsrlvq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 2a 21 vmovntdqa ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 2a 21 vmovntdqa ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 19 f4 vbroadcastsd ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 18 f4 vbroadcastss ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e3 4d 02 d4 07 vpblendd ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 02 11 07 vpblendd ymm2,ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 02 11 07 vpblendd ymm2,ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 46 d4 07 vperm2i128 ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 46 11 07 vperm2i128 ymm2,ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 46 11 07 vperm2i128 ymm2,ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 5d 38 f4 07 vinserti128 ymm6,ymm4,xmm4,0x7
+[ ]*[a-f0-9]+: c4 e3 5d 38 31 07 vinserti128 ymm6,ymm4,XMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 5d 38 31 07 vinserti128 ymm6,ymm4,XMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e2 7d 5a 21 vbroadcasti128 ymm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 5a 21 vbroadcasti128 ymm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 49 47 d4 vpsllvd xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 49 47 39 vpsllvd xmm7,xmm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 49 47 39 vpsllvd xmm7,xmm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 c9 47 d4 vpsllvq xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 c9 47 39 vpsllvq xmm7,xmm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 c9 47 39 vpsllvq xmm7,xmm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 49 46 d4 vpsravd xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 49 46 39 vpsravd xmm7,xmm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 49 46 39 vpsravd xmm7,xmm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 49 45 d4 vpsrlvd xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 49 45 39 vpsrlvd xmm7,xmm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 49 45 39 vpsrlvd xmm7,xmm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 c9 45 d4 vpsrlvq xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 c9 45 39 vpsrlvq xmm7,xmm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 c9 45 39 vpsrlvq xmm7,xmm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 59 8c 31 vpmaskmovd xmm6,xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 59 8c 31 vpmaskmovd xmm6,xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 d9 8c 31 vpmaskmovq xmm6,xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 d9 8c 31 vpmaskmovq xmm6,xmm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e3 7d 39 e6 07 vextracti128 xmm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 7d 39 21 07 vextracti128 XMMWORD PTR \[ecx\],ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 7d 39 21 07 vextracti128 XMMWORD PTR \[ecx\],ymm4,0x7
+[ ]*[a-f0-9]+: c4 e2 49 8e 21 vpmaskmovd XMMWORD PTR \[ecx\],xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 49 8e 21 vpmaskmovd XMMWORD PTR \[ecx\],xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 c9 8e 21 vpmaskmovq XMMWORD PTR \[ecx\],xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 c9 8e 21 vpmaskmovq XMMWORD PTR \[ecx\],xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e3 49 02 d4 07 vpblendd xmm2,xmm6,xmm4,0x7
+[ ]*[a-f0-9]+: c4 e3 49 02 11 07 vpblendd xmm2,xmm6,XMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 49 02 11 07 vpblendd xmm2,xmm6,XMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e2 79 59 f4 vpbroadcastq xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 59 21 vpbroadcastq xmm4,QWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 79 59 21 vpbroadcastq xmm4,QWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 59 f4 vpbroadcastq ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 59 21 vpbroadcastq ymm4,QWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 59 21 vpbroadcastq ymm4,QWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 58 e4 vpbroadcastd ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 58 21 vpbroadcastd ymm4,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 58 21 vpbroadcastd ymm4,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 79 58 f4 vpbroadcastd xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 58 21 vpbroadcastd xmm4,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 79 58 21 vpbroadcastd xmm4,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 79 79 f4 vpbroadcastw xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 79 21 vpbroadcastw xmm4,WORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 79 79 21 vpbroadcastw xmm4,WORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 79 f4 vpbroadcastw ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 79 21 vpbroadcastw ymm4,WORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 79 21 vpbroadcastw ymm4,WORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 79 78 f4 vpbroadcastb xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 78 21 vpbroadcastb xmm4,BYTE PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 79 78 21 vpbroadcastb xmm4,BYTE PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 78 f4 vpbroadcastb ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 78 21 vpbroadcastb ymm4,BYTE PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 78 21 vpbroadcastb ymm4,BYTE PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 79 18 f4 vbroadcastss xmm6,xmm4
+#pass
diff --git a/gas/testsuite/gas/i386/avx2.d b/gas/testsuite/gas/i386/avx2.d
new file mode 100644
index 0000000..fc6517e
--- /dev/null
+++ b/gas/testsuite/gas/i386/avx2.d
@@ -0,0 +1,181 @@
+#objdump: -dw
+#name: i386 AVX2 insns
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c4 e2 5d 8c 31 vpmaskmovd \(%ecx\),%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 4d 8e 21 vpmaskmovd %ymm4,%ymm6,\(%ecx\)
+[ ]*[a-f0-9]+: c4 e2 dd 8c 31 vpmaskmovq \(%ecx\),%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 cd 8e 21 vpmaskmovq %ymm4,%ymm6,\(%ecx\)
+[ ]*[a-f0-9]+: c4 e3 fd 01 d6 07 vpermpd \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 fd 01 31 07 vpermpd \$0x7,\(%ecx\),%ymm6
+[ ]*[a-f0-9]+: c4 e3 fd 00 d6 07 vpermq \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 fd 00 31 07 vpermq \$0x7,\(%ecx\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 4d 36 d4 vpermd %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 36 11 vpermd \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 16 d4 vpermps %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 16 11 vpermps \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 47 d4 vpsllvd %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 47 11 vpsllvd \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 cd 47 d4 vpsllvq %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 cd 47 11 vpsllvq \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 46 d4 vpsravd %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 46 11 vpsravd \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 45 d4 vpsrlvd %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 45 11 vpsrlvd \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 cd 45 d4 vpsrlvq %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 cd 45 11 vpsrlvq \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 7d 2a 21 vmovntdqa \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 19 f4 vbroadcastsd %xmm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 18 f4 vbroadcastss %xmm4,%ymm6
+[ ]*[a-f0-9]+: c4 e3 4d 02 d4 07 vpblendd \$0x7,%ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 4d 02 11 07 vpblendd \$0x7,\(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 4d 46 d4 07 vperm2i128 \$0x7,%ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 4d 46 11 07 vperm2i128 \$0x7,\(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 5d 38 f4 07 vinserti128 \$0x7,%xmm4,%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e3 5d 38 31 07 vinserti128 \$0x7,\(%ecx\),%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 5a 21 vbroadcasti128 \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 49 47 d4 vpsllvd %xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 49 47 39 vpsllvd \(%ecx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 c9 47 d4 vpsllvq %xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 c9 47 39 vpsllvq \(%ecx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 49 46 d4 vpsravd %xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 49 46 39 vpsravd \(%ecx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 49 45 d4 vpsrlvd %xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 49 45 39 vpsrlvd \(%ecx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 c9 45 d4 vpsrlvq %xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 c9 45 39 vpsrlvq \(%ecx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 59 8c 31 vpmaskmovd \(%ecx\),%xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 d9 8c 31 vpmaskmovq \(%ecx\),%xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e3 7d 39 e6 07 vextracti128 \$0x7,%ymm4,%xmm6
+[ ]*[a-f0-9]+: c4 e3 7d 39 21 07 vextracti128 \$0x7,%ymm4,\(%ecx\)
+[ ]*[a-f0-9]+: c4 e2 49 8e 21 vpmaskmovd %xmm4,%xmm6,\(%ecx\)
+[ ]*[a-f0-9]+: c4 e2 c9 8e 21 vpmaskmovq %xmm4,%xmm6,\(%ecx\)
+[ ]*[a-f0-9]+: c4 e3 49 02 d4 07 vpblendd \$0x7,%xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e3 49 02 11 07 vpblendd \$0x7,\(%ecx\),%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 79 59 f4 vpbroadcastq %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 59 21 vpbroadcastq \(%ecx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 59 f4 vpbroadcastq %xmm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 59 21 vpbroadcastq \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 58 e4 vpbroadcastd %xmm4,%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 58 21 vpbroadcastd \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 79 58 f4 vpbroadcastd %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 58 21 vpbroadcastd \(%ecx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 79 79 f4 vpbroadcastw %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 79 21 vpbroadcastw \(%ecx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 79 f4 vpbroadcastw %xmm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 79 21 vpbroadcastw \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 79 78 f4 vpbroadcastb %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 78 21 vpbroadcastb \(%ecx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 78 f4 vpbroadcastb %xmm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 78 21 vpbroadcastb \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 79 18 f4 vbroadcastss %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 5d 8c 31 vpmaskmovd \(%ecx\),%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 4d 8e 21 vpmaskmovd %ymm4,%ymm6,\(%ecx\)
+[ ]*[a-f0-9]+: c4 e2 5d 8c 31 vpmaskmovd \(%ecx\),%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 4d 8e 21 vpmaskmovd %ymm4,%ymm6,\(%ecx\)
+[ ]*[a-f0-9]+: c4 e2 dd 8c 31 vpmaskmovq \(%ecx\),%ymm4,%ymm6
+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4 e3 4d 46 d4 07 vperm2i128 \$0x7,%ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 4d 46 11 07 vperm2i128 \$0x7,\(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 4d 46 11 07 vperm2i128 \$0x7,\(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 5d 38 f4 07 vinserti128 \$0x7,%xmm4,%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e3 5d 38 31 07 vinserti128 \$0x7,\(%ecx\),%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e3 5d 38 31 07 vinserti128 \$0x7,\(%ecx\),%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 5a 21 vbroadcasti128 \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 5a 21 vbroadcasti128 \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 49 47 d4 vpsllvd %xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 49 47 39 vpsllvd \(%ecx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 49 47 39 vpsllvd \(%ecx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 c9 47 d4 vpsllvq %xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 c9 47 39 vpsllvq \(%ecx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 c9 47 39 vpsllvq \(%ecx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 49 46 d4 vpsravd %xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 49 46 39 vpsravd \(%ecx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 49 46 39 vpsravd \(%ecx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 49 45 d4 vpsrlvd %xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 49 45 39 vpsrlvd \(%ecx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 49 45 39 vpsrlvd \(%ecx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 c9 45 d4 vpsrlvq %xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 c9 45 39 vpsrlvq \(%ecx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 c9 45 39 vpsrlvq \(%ecx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 59 8c 31 vpmaskmovd \(%ecx\),%xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 59 8c 31 vpmaskmovd \(%ecx\),%xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 d9 8c 31 vpmaskmovq \(%ecx\),%xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 d9 8c 31 vpmaskmovq \(%ecx\),%xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e3 7d 39 e6 07 vextracti128 \$0x7,%ymm4,%xmm6
+[ ]*[a-f0-9]+: c4 e3 7d 39 21 07 vextracti128 \$0x7,%ymm4,\(%ecx\)
+[ ]*[a-f0-9]+: c4 e3 7d 39 21 07 vextracti128 \$0x7,%ymm4,\(%ecx\)
+[ ]*[a-f0-9]+: c4 e2 49 8e 21 vpmaskmovd %xmm4,%xmm6,\(%ecx\)
+[ ]*[a-f0-9]+: c4 e2 49 8e 21 vpmaskmovd %xmm4,%xmm6,\(%ecx\)
+[ ]*[a-f0-9]+: c4 e2 c9 8e 21 vpmaskmovq %xmm4,%xmm6,\(%ecx\)
+[ ]*[a-f0-9]+: c4 e2 c9 8e 21 vpmaskmovq %xmm4,%xmm6,\(%ecx\)
+[ ]*[a-f0-9]+: c4 e3 49 02 d4 07 vpblendd \$0x7,%xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e3 49 02 11 07 vpblendd \$0x7,\(%ecx\),%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e3 49 02 11 07 vpblendd \$0x7,\(%ecx\),%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 79 59 f4 vpbroadcastq %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 59 21 vpbroadcastq \(%ecx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 79 59 21 vpbroadcastq \(%ecx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 59 f4 vpbroadcastq %xmm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 59 21 vpbroadcastq \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 59 21 vpbroadcastq \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 58 e4 vpbroadcastd %xmm4,%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 58 21 vpbroadcastd \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 58 21 vpbroadcastd \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 79 58 f4 vpbroadcastd %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 58 21 vpbroadcastd \(%ecx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 79 58 21 vpbroadcastd \(%ecx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 79 79 f4 vpbroadcastw %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 79 21 vpbroadcastw \(%ecx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 79 79 21 vpbroadcastw \(%ecx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 79 f4 vpbroadcastw %xmm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 79 21 vpbroadcastw \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 79 21 vpbroadcastw \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 79 78 f4 vpbroadcastb %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 78 21 vpbroadcastb \(%ecx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 79 78 21 vpbroadcastb \(%ecx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 78 f4 vpbroadcastb %xmm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 78 21 vpbroadcastb \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 78 21 vpbroadcastb \(%ecx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 79 18 f4 vbroadcastss %xmm4,%xmm6
+#pass
diff --git a/gas/testsuite/gas/i386/avx2.s b/gas/testsuite/gas/i386/avx2.s
new file mode 100644
index 0000000..9c883a8
--- /dev/null
+++ b/gas/testsuite/gas/i386/avx2.s
@@ -0,0 +1,268 @@
+# Check i386 AVX2 instructions
+
+ .allow_index_reg
+ .text
+_start:
+
+# Tests for op mem256, mask, ymm
+# Tests for op ymm, mask, mem256
+ vpmaskmovd (%ecx),%ymm4,%ymm6
+ vpmaskmovd %ymm4,%ymm6,(%ecx)
+ vpmaskmovq (%ecx),%ymm4,%ymm6
+ vpmaskmovq %ymm4,%ymm6,(%ecx)
+
+# Tests for op imm8, ymm/mem256, ymm
+ vpermpd $7,%ymm6,%ymm2
+ vpermpd $7,(%ecx),%ymm6
+ vpermq $7,%ymm6,%ymm2
+ vpermq $7,(%ecx),%ymm6
+
+# Tests for op ymm/mem256, ymm, ymm
+ vpermd %ymm4,%ymm6,%ymm2
+ vpermd (%ecx),%ymm6,%ymm2
+ vpermps %ymm4,%ymm6,%ymm2
+ vpermps (%ecx),%ymm6,%ymm2
+ vpsllvd %ymm4,%ymm6,%ymm2
+ vpsllvd (%ecx),%ymm6,%ymm2
+ vpsllvq %ymm4,%ymm6,%ymm2
+ vpsllvq (%ecx),%ymm6,%ymm2
+ vpsravd %ymm4,%ymm6,%ymm2
+ vpsravd (%ecx),%ymm6,%ymm2
+ vpsrlvd %ymm4,%ymm6,%ymm2
+ vpsrlvd (%ecx),%ymm6,%ymm2
+ vpsrlvq %ymm4,%ymm6,%ymm2
+ vpsrlvq (%ecx),%ymm6,%ymm2
+
+# Tests for op mem256, ymm
+ vmovntdqa (%ecx),%ymm4
+
+# Tests for op ymm, xmm
+ vbroadcastsd %xmm4,%ymm6
+ vbroadcastss %xmm4,%ymm6
+
+# Tests for op imm8, ymm/mem256, ymm, ymm
+ vpblendd $7,%ymm4,%ymm6,%ymm2
+ vpblendd $7,(%ecx),%ymm6,%ymm2
+ vperm2i128 $7,%ymm4,%ymm6,%ymm2
+ vperm2i128 $7,(%ecx),%ymm6,%ymm2
+
+# Tests for op imm8, xmm/mem128, ymm, ymm
+ vinserti128 $7,%xmm4,%ymm4,%ymm6
+ vinserti128 $7,(%ecx),%ymm4,%ymm6
+
+# Tests for op mem128, ymm
+ vbroadcasti128 (%ecx),%ymm4
+
+# Tests for op xmm/mem128, xmm, xmm
+ vpsllvd %xmm4,%xmm6,%xmm2
+ vpsllvd (%ecx),%xmm6,%xmm7
+ vpsllvq %xmm4,%xmm6,%xmm2
+ vpsllvq (%ecx),%xmm6,%xmm7
+ vpsravd %xmm4,%xmm6,%xmm2
+ vpsravd (%ecx),%xmm6,%xmm7
+ vpsrlvd %xmm4,%xmm6,%xmm2
+ vpsrlvd (%ecx),%xmm6,%xmm7
+ vpsrlvq %xmm4,%xmm6,%xmm2
+ vpsrlvq (%ecx),%xmm6,%xmm7
+
+# Tests for op mem128, xmm, xmm
+ vpmaskmovd (%ecx),%xmm4,%xmm6
+ vpmaskmovq (%ecx),%xmm4,%xmm6
+
+# Tests for op imm8, ymm, xmm128/mem
+ vextracti128 $7,%ymm4,%xmm6
+ vextracti128 $7,%ymm4,(%ecx)
+
+# Tests for op xmm, xmm, mem128
+ vpmaskmovd %xmm4,%xmm6,(%ecx)
+ vpmaskmovq %xmm4,%xmm6,(%ecx)
+
+# Tests for op imm8, xmm/mem128, xmm, xmm
+ vpblendd $7,%xmm4,%xmm6,%xmm2
+ vpblendd $7,(%ecx),%xmm6,%xmm2
+
+# Tests for op xmm/mem64, xmm
+ vpbroadcastq %xmm4,%xmm6
+ vpbroadcastq (%ecx),%xmm4
+
+# Tests for op xmm/mem64, ymm
+ vpbroadcastq %xmm4,%ymm6
+ vpbroadcastq (%ecx),%ymm4
+
+# Tests for op xmm/mem32, ymm
+ vpbroadcastd %xmm4,%ymm4
+ vpbroadcastd (%ecx),%ymm4
+
+# Tests for op xmm/mem32, xmm
+ vpbroadcastd %xmm4,%xmm6
+ vpbroadcastd (%ecx),%xmm4
+
+# Tests for op xmm/m16, xmm
+ vpbroadcastw %xmm4,%xmm6
+ vpbroadcastw (%ecx),%xmm4
+
+# Tests for op xmm/m16, ymm
+ vpbroadcastw %xmm4,%ymm6
+ vpbroadcastw (%ecx),%ymm4
+
+# Tests for op xmm/m8, xmm
+ vpbroadcastb %xmm4,%xmm6
+ vpbroadcastb (%ecx),%xmm4
+
+# Tests for op xmm/m8, ymm
+ vpbroadcastb %xmm4,%ymm6
+ vpbroadcastb (%ecx),%ymm4
+
+# Tests for op xmm, xmm
+ vbroadcastss %xmm4,%xmm6
+
+ .intel_syntax noprefix
+
+# Tests for op mem256, mask, ymm
+# Tests for op ymm, mask, mem256
+ vpmaskmovd ymm6,ymm4,YMMWORD PTR [ecx]
+ vpmaskmovd YMMWORD PTR [ecx],ymm6,ymm4
+ vpmaskmovd ymm6,ymm4,[ecx]
+ vpmaskmovd [ecx],ymm6,ymm4
+ vpmaskmovq ymm6,ymm4,YMMWORD PTR [ecx]
+ vpmaskmovq YMMWORD PTR [ecx],ymm6,ymm4
+ vpmaskmovq ymm6,ymm4,[ecx]
+ vpmaskmovq [ecx],ymm6,ymm4
+
+# Tests for op imm8, ymm/mem256, ymm
+ vpermpd ymm2,ymm6,7
+ vpermpd ymm6,YMMWORD PTR [ecx],7
+ vpermpd ymm6,[ecx],7
+ vpermq ymm2,ymm6,7
+ vpermq ymm6,YMMWORD PTR [ecx],7
+ vpermq ymm6,[ecx],7
+
+# Tests for op ymm/mem256, ymm, ymm
+ vpermd ymm2,ymm6,ymm4
+ vpermd ymm2,ymm6,YMMWORD PTR [ecx]
+ vpermd ymm2,ymm6,[ecx]
+ vpermps ymm2,ymm6,ymm4
+ vpermps ymm2,ymm6,YMMWORD PTR [ecx]
+ vpermps ymm2,ymm6,[ecx]
+ vpsllvd ymm2,ymm6,ymm4
+ vpsllvd ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsllvd ymm2,ymm6,[ecx]
+ vpsllvq ymm2,ymm6,ymm4
+ vpsllvq ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsllvq ymm2,ymm6,[ecx]
+ vpsravd ymm2,ymm6,ymm4
+ vpsravd ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsravd ymm2,ymm6,[ecx]
+ vpsrlvd ymm2,ymm6,ymm4
+ vpsrlvd ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsrlvd ymm2,ymm6,[ecx]
+ vpsrlvq ymm2,ymm6,ymm4
+ vpsrlvq ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsrlvq ymm2,ymm6,[ecx]
+
+# Tests for op mem256, ymm
+ vmovntdqa ymm4,YMMWORD PTR [ecx]
+ vmovntdqa ymm4,[ecx]
+
+# Tests for op ymm, xmm
+ vbroadcastsd ymm6,xmm4
+ vbroadcastss ymm6,xmm4
+
+# Tests for op imm8, ymm/mem256, ymm, ymm
+ vpblendd ymm2,ymm6,ymm4,7
+ vpblendd ymm2,ymm6,YMMWORD PTR [ecx],7
+ vpblendd ymm2,ymm6,[ecx],7
+ vperm2i128 ymm2,ymm6,ymm4,7
+ vperm2i128 ymm2,ymm6,YMMWORD PTR [ecx],7
+ vperm2i128 ymm2,ymm6,[ecx],7
+
+# Tests for op imm8, xmm/mem128, ymm, ymm
+ vinserti128 ymm6,ymm4,xmm4,7
+ vinserti128 ymm6,ymm4,XMMWORD PTR [ecx],7
+ vinserti128 ymm6,ymm4,[ecx],7
+
+# Tests for op mem128, ymm
+ vbroadcasti128 ymm4,XMMWORD PTR [ecx]
+ vbroadcasti128 ymm4,[ecx]
+
+# Tests for op xmm/mem128, xmm, xmm
+ vpsllvd xmm2,xmm6,xmm4
+ vpsllvd xmm7,xmm6,XMMWORD PTR [ecx]
+ vpsllvd xmm7,xmm6,[ecx]
+ vpsllvq xmm2,xmm6,xmm4
+ vpsllvq xmm7,xmm6,XMMWORD PTR [ecx]
+ vpsllvq xmm7,xmm6,[ecx]
+ vpsravd xmm2,xmm6,xmm4
+ vpsravd xmm7,xmm6,XMMWORD PTR [ecx]
+ vpsravd xmm7,xmm6,[ecx]
+ vpsrlvd xmm2,xmm6,xmm4
+ vpsrlvd xmm7,xmm6,XMMWORD PTR [ecx]
+ vpsrlvd xmm7,xmm6,[ecx]
+ vpsrlvq xmm2,xmm6,xmm4
+ vpsrlvq xmm7,xmm6,XMMWORD PTR [ecx]
+ vpsrlvq xmm7,xmm6,[ecx]
+
+# Tests for op mem128, xmm, xmm
+ vpmaskmovd xmm6,xmm4,XMMWORD PTR [ecx]
+ vpmaskmovd xmm6,xmm4,[ecx]
+ vpmaskmovq xmm6,xmm4,XMMWORD PTR [ecx]
+ vpmaskmovq xmm6,xmm4,[ecx]
+
+# Tests for op imm8, ymm, xmm128/mem
+ vextracti128 xmm6,ymm4,7
+ vextracti128 XMMWORD PTR [ecx],ymm4,7
+ vextracti128 [ecx],ymm4,7
+
+# Tests for op xmm, xmm, mem128
+ vpmaskmovd XMMWORD PTR [ecx],xmm6,xmm4
+ vpmaskmovd [ecx],xmm6,xmm4
+ vpmaskmovq XMMWORD PTR [ecx],xmm6,xmm4
+ vpmaskmovq [ecx],xmm6,xmm4
+
+# Tests for op imm8, xmm/mem128, xmm, xmm
+ vpblendd xmm2,xmm6,xmm4,7
+ vpblendd xmm2,xmm6,XMMWORD PTR [ecx],7
+ vpblendd xmm2,xmm6,[ecx],7
+
+# Tests for op xmm/mem64, xmm
+ vpbroadcastq xmm6,xmm4
+ vpbroadcastq xmm4,QWORD PTR [ecx]
+ vpbroadcastq xmm4,[ecx]
+
+# Tests for op xmm/mem64, ymm
+ vpbroadcastq ymm6,xmm4
+ vpbroadcastq ymm4,QWORD PTR [ecx]
+ vpbroadcastq ymm4,[ecx]
+
+# Tests for op xmm/mem32, ymm
+ vpbroadcastd ymm4,xmm4
+ vpbroadcastd ymm4,DWORD PTR [ecx]
+ vpbroadcastd ymm4,[ecx]
+
+# Tests for op xmm/mem32, xmm
+ vpbroadcastd xmm6,xmm4
+ vpbroadcastd xmm4,DWORD PTR [ecx]
+ vpbroadcastd xmm4,[ecx]
+
+# Tests for op xmm/m16, xmm
+ vpbroadcastw xmm6,xmm4
+ vpbroadcastw xmm4,WORD PTR [ecx]
+ vpbroadcastw xmm4,[ecx]
+
+# Tests for op xmm/m16, ymm
+ vpbroadcastw ymm6,xmm4
+ vpbroadcastw ymm4,WORD PTR [ecx]
+ vpbroadcastw ymm4,[ecx]
+
+# Tests for op xmm/m8, xmm
+ vpbroadcastb xmm6,xmm4
+ vpbroadcastb xmm4,BYTE PTR [ecx]
+ vpbroadcastb xmm4,[ecx]
+
+# Tests for op xmm/m8, ymm
+ vpbroadcastb ymm6,xmm4
+ vpbroadcastb ymm4,BYTE PTR [ecx]
+ vpbroadcastb ymm4,[ecx]
+
+# Tests for op xmm, xmm
+ vbroadcastss xmm6,xmm4
diff --git a/gas/testsuite/gas/i386/avx256int-intel.d b/gas/testsuite/gas/i386/avx256int-intel.d
new file mode 100644
index 0000000..bcc93c4
--- /dev/null
+++ b/gas/testsuite/gas/i386/avx256int-intel.d
@@ -0,0 +1,553 @@
+#objdump: -dwMintel
+#name: i386 256bit integer AVX insns (Intel disassembly)
+#source: avx256int.s
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c5 fd d7 cc vpmovmskb ecx,ymm4
+[ ]*[a-f0-9]+: c5 ed 72 f6 07 vpslld ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 73 fe 07 vpslldq ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 73 f6 07 vpsllq ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 71 f6 07 vpsllw ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 72 e6 07 vpsrad ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 71 e6 07 vpsraw ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 72 d6 07 vpsrld ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 73 de 07 vpsrldq ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 73 d6 07 vpsrlq ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 71 d6 07 vpsrlw ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 fd 70 d6 07 vpshufd ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 fd 70 31 07 vpshufd ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c5 fe 70 d6 07 vpshufhw ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 fe 70 31 07 vpshufhw ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c5 ff 70 d6 07 vpshuflw ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ff 70 31 07 vpshuflw ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c5 cd 6b d4 vpackssdw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6b 11 vpackssdw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 63 d4 vpacksswb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 63 11 vpacksswb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 2b d4 vpackusdw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 2b 11 vpackusdw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 67 d4 vpackuswb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 67 11 vpackuswb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd fc d4 vpaddb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fc 11 vpaddb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd fd d4 vpaddw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fd 11 vpaddw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd fe d4 vpaddd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fe 11 vpaddd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d4 d4 vpaddq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d4 11 vpaddq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd ec d4 vpaddsb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd ec 11 vpaddsb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd ed d4 vpaddsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd ed 11 vpaddsw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd dc d4 vpaddusb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd dc 11 vpaddusb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd dd d4 vpaddusw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd dd 11 vpaddusw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd db d4 vpand ymm2,ymm6,ymm4
+[ ]*[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 vpminsd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 39 11 vpminsd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd da d4 vpminub ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd da 11 vpminub ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 3a d4 vpminuw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 3a 11 vpminuw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 3b d4 vpminud ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 3b 11 vpminud ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e4 d4 vpmulhuw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e4 11 vpmulhuw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 0b d4 vpmulhrsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 0b 11 vpmulhrsw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e5 d4 vpmulhw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e5 11 vpmulhw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d5 d4 vpmullw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d5 11 vpmullw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 40 d4 vpmulld ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 40 11 vpmulld ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f4 d4 vpmuludq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f4 11 vpmuludq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 28 d4 vpmuldq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 28 11 vpmuldq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd eb d4 vpor ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd eb 11 vpor ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f6 d4 vpsadbw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f6 11 vpsadbw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 00 d4 vpshufb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 00 11 vpshufb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 08 d4 vpsignb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 08 11 vpsignb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 09 d4 vpsignw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 09 11 vpsignw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 0a d4 vpsignd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 0a 11 vpsignd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f8 d4 vpsubb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f8 11 vpsubb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f9 d4 vpsubw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f9 11 vpsubw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd fa d4 vpsubd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fa 11 vpsubd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd fb d4 vpsubq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fb 11 vpsubq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e8 d4 vpsubsb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e8 11 vpsubsb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e9 d4 vpsubsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e9 11 vpsubsw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d8 d4 vpsubusb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d8 11 vpsubusb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d9 d4 vpsubusw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d9 11 vpsubusw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 68 d4 vpunpckhbw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 68 11 vpunpckhbw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 69 d4 vpunpckhwd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 69 11 vpunpckhwd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 6a d4 vpunpckhdq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6a 11 vpunpckhdq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 6d d4 vpunpckhqdq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6d 11 vpunpckhqdq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 60 d4 vpunpcklbw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 60 11 vpunpcklbw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 61 d4 vpunpcklwd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 61 11 vpunpcklwd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 62 d4 vpunpckldq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 62 11 vpunpckldq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 6c d4 vpunpcklqdq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6c 11 vpunpcklqdq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd ef d4 vpxor ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd ef 11 vpxor ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1c f4 vpabsb ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 1c 21 vpabsb ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1d f4 vpabsw ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 1d 21 vpabsw ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1e f4 vpabsd ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 1e 21 vpabsd ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e3 4d 42 d4 07 vmpsadbw ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 42 11 07 vmpsadbw ymm2,ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0f d4 07 vpalignr ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0f 11 07 vpalignr ymm2,ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0e d4 07 vpblendw ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0e 11 07 vpblendw ymm2,ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 6d 4c fe 40 vpblendvb ymm7,ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e3 6d 4c 39 40 vpblendvb ymm7,ymm2,YMMWORD PTR \[ecx\],ymm4
+[ ]*[a-f0-9]+: c5 cd f1 d4 vpsllw ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd f1 11 vpsllw ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f2 d4 vpslld ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd f2 11 vpslld ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f3 d4 vpsllq ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd f3 11 vpsllq ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e1 d4 vpsraw ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd e1 11 vpsraw ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e2 d4 vpsrad ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd e2 11 vpsrad ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d1 d4 vpsrlw ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd d1 11 vpsrlw ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5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-9]+: c5 fd 70 31 07 vpshufd ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c5 fd 70 31 07 vpshufd ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c5 fe 70 d6 07 vpshufhw ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 fe 70 31 07 vpshufhw ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c5 fe 70 31 07 vpshufhw ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c5 ff 70 d6 07 vpshuflw ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ff 70 31 07 vpshuflw ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c5 ff 70 31 07 vpshuflw ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c5 cd 6b d4 vpackssdw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6b 11 vpackssdw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 6b 11 vpackssdw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 63 d4 vpacksswb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 63 11 vpacksswb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 63 11 vpacksswb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 2b d4 vpackusdw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 2b 11 vpackusdw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 2b 11 vpackusdw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 67 d4 vpackuswb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 67 11 vpackuswb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 67 11 vpackuswb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd fc d4 vpaddb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fc 11 vpaddb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd fc 11 vpaddb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd fd d4 vpaddw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fd 11 vpaddw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd fd 11 vpaddw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd fe d4 vpaddd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fe 11 vpaddd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd fe 11 vpaddd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d4 d4 vpaddq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d4 11 vpaddq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d4 11 vpaddq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd ec d4 vpaddsb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd ec 11 vpaddsb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd ec 11 vpaddsb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd ed d4 vpaddsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd ed 11 vpaddsw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd ed 11 vpaddsw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd dc d4 vpaddusb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd dc 11 vpaddusb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd dc 11 vpaddusb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd dd d4 vpaddusw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd dd 11 vpaddusw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd dd 11 vpaddusw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd db d4 vpand ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd db 11 vpand ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd db 11 vpand ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd df d4 vpandn ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd df 11 vpandn ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd df 11 vpandn ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e0 d4 vpavgb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e0 11 vpavgb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e0 11 vpavgb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e3 d4 vpavgw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e3 11 vpavgw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e3 11 vpavgw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-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ecx\]
+[ ]*[a-f0-9]+: c5 cd 66 d4 vpcmpgtd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 66 11 vpcmpgtd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 66 11 vpcmpgtd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 37 d4 vpcmpgtq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 37 11 vpcmpgtq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 37 11 vpcmpgtq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 01 d4 vphaddw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 01 11 vphaddw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 01 11 vphaddw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 02 d4 vphaddd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 02 11 vphaddd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 02 11 vphaddd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 03 d4 vphaddsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 03 11 vphaddsw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 03 11 vphaddsw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 05 d4 vphsubw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 05 11 vphsubw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 05 11 vphsubw ym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]*[a-f0-9]+: c5 cd ea 11 vpminsw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 39 d4 vpminsd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 39 11 vpminsd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 39 11 vpminsd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd da d4 vpminub ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd da 11 vpminub ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd da 11 vpminub ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 3a d4 vpminuw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 3a 11 vpminuw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 3a 11 vpminuw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 3b d4 vpminud ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 3b 11 vpminud ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 3b 11 vpminud ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e4 d4 vpmulhuw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e4 11 vpmulhuw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e4 11 vpmulhuw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 0b d4 vpmulhrsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 0b 11 vpmulhrsw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 0b 11 vpmulhrsw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e5 d4 vpmulhw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e5 11 vpmulhw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e5 11 vpmulhw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d5 d4 vpmullw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d5 11 vpmullw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d5 11 vpmullw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 40 d4 vpmulld ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 40 11 vpmulld ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 40 11 vpmulld ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f4 d4 vpmuludq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f4 11 vpmuludq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f4 11 vpmuludq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 28 d4 vpmuldq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 28 11 vpmuldq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 28 11 vpmuldq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd eb d4 vpor ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd eb 11 vpor ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd eb 11 vpor ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f6 d4 vpsadbw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f6 11 vpsadbw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f6 11 vpsadbw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 00 d4 vpshufb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 00 11 vpshufb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 00 11 vpshufb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 08 d4 vpsignb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 08 11 vpsignb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 08 11 vpsignb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 09 d4 vpsignw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 09 11 vpsignw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 09 11 vpsignw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 0a d4 vpsignd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 0a 11 vpsignd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 4d 0a 11 vpsignd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f8 d4 vpsubb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f8 11 vpsubb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f8 11 vpsubb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f9 d4 vpsubw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f9 11 vpsubw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f9 11 vpsubw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd fa d4 vpsubd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fa 11 vpsubd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd fa 11 vpsubd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd fb d4 vpsubq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fb 11 vpsubq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd fb 11 vpsubq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e8 d4 vpsubsb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e8 11 vpsubsb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e8 11 vpsubsb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e9 d4 vpsubsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e9 11 vpsubsw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e9 11 vpsubsw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d8 d4 vpsubusb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d8 11 vpsubusb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d8 11 vpsubusb ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d9 d4 vpsubusw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d9 11 vpsubusw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d9 11 vpsubusw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 68 d4 vpunpckhbw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 68 11 vpunpckhbw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 68 11 vpunpckhbw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 69 d4 vpunpckhwd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 69 11 vpunpckhwd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 69 11 vpunpckhwd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 6a d4 vpunpckhdq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6a 11 vpunpckhdq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 6a 11 vpunpckhdq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 6d d4 vpunpckhqdq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6d 11 vpunpckhqdq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 6d 11 vpunpckhqdq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 60 d4 vpunpcklbw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 60 11 vpunpcklbw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 60 11 vpunpcklbw ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 61 d4 vpunpcklwd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 61 11 vpunpcklwd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 61 11 vpunpcklwd ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 62 d4 vpunpckldq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 62 11 vpunpckldq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 62 11 vpunpckldq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 6c d4 vpunpcklqdq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6c 11 vpunpcklqdq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd 6c 11 vpunpcklqdq ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd ef d4 vpxor ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd ef 11 vpxor ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd ef 11 vpxor ymm2,ymm6,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1c f4 vpabsb ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 1c 21 vpabsb ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1c 21 vpabsb ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1d f4 vpabsw ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 1d 21 vpabsw ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1d 21 vpabsw ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1e f4 vpabsd ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 1e 21 vpabsd ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1e 21 vpabsd ymm4,YMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e3 4d 42 d4 07 vmpsadbw ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 42 11 07 vmpsadbw ymm2,ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 42 11 07 vmpsadbw ymm2,ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0f d4 07 vpalignr ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0f 11 07 vpalignr ymm2,ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0f 11 07 vpalignr ymm2,ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0e d4 07 vpblendw ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0e 11 07 vpblendw ymm2,ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0e 11 07 vpblendw ymm2,ymm6,YMMWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 6d 4c fe 40 vpblendvb ymm7,ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e3 6d 4c 39 40 vpblendvb ymm7,ymm2,YMMWORD PTR \[ecx\],ymm4
+[ ]*[a-f0-9]+: c4 e3 6d 4c 39 40 vpblendvb ymm7,ymm2,YMMWORD PTR \[ecx\],ymm4
+[ ]*[a-f0-9]+: c5 cd f1 d4 vpsllw ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd f1 11 vpsllw ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f1 11 vpsllw ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f2 d4 vpslld ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd f2 11 vpslld ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f2 11 vpslld ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f3 d4 vpsllq ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd f3 11 vpsllq ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd f3 11 vpsllq ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e1 d4 vpsraw ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd e1 11 vpsraw ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e1 11 vpsraw ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e2 d4 vpsrad ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd e2 11 vpsrad ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd e2 11 vpsrad ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d1 d4 vpsrlw ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd d1 11 vpsrlw ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d1 11 vpsrlw ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d2 d4 vpsrld ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd d2 11 vpsrld ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d2 11 vpsrld ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d3 d4 vpsrlq ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd d3 11 vpsrlq ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c5 cd d3 11 vpsrlq ymm2,ymm6,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 20 e4 vpmovsxbw ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 20 21 vpmovsxbw ymm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 20 21 vpmovsxbw ymm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 23 e4 vpmovsxwd ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 23 21 vpmovsxwd ymm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 23 21 vpmovsxwd ymm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 25 e4 vpmovsxdq ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 25 21 vpmovsxdq ymm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 25 21 vpmovsxdq ymm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 30 e4 vpmovzxbw ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 30 21 vpmovzxbw ymm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 30 21 vpmovzxbw ymm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 33 e4 vpmovzxwd ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 33 21 vpmovzxwd ymm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 33 21 vpmovzxwd ymm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 35 e4 vpmovzxdq ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 35 21 vpmovzxdq ymm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 35 21 vpmovzxdq ymm4,XMMWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 21 f4 vpmovsxbd ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 21 21 vpmovsxbd ymm4,QWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 21 21 vpmovsxbd ymm4,QWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 24 f4 vpmovsxwq ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 24 21 vpmovsxwq ymm4,QWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 24 21 vpmovsxwq ymm4,QWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 31 f4 vpmovzxbd ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 31 21 vpmovzxbd ymm4,QWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 31 21 vpmovzxbd ymm4,QWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 34 f4 vpmovzxwq ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 34 21 vpmovzxwq ymm4,QWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 34 21 vpmovzxwq ymm4,QWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 22 e4 vpmovsxbq ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 22 21 vpmovsxbq ymm4,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 22 21 vpmovsxbq ymm4,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 32 e4 vpmovzxbq ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 32 21 vpmovzxbq ymm4,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 7d 32 21 vpmovzxbq ymm4,DWORD PTR \[ecx\]
+#pass
diff --git a/gas/testsuite/gas/i386/avx256int.d b/gas/testsuite/gas/i386/avx256int.d
new file mode 100644
index 0000000..dcb34bb
--- /dev/null
+++ b/gas/testsuite/gas/i386/avx256int.d
@@ -0,0 +1,552 @@
+#objdump: -dw
+#name: i386 256bit integer AVX insns
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c5 fd d7 cc vpmovmskb %ymm4,%ecx
+[ ]*[a-f0-9]+: c5 ed 72 f6 07 vpslld \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 73 fe 07 vpslldq \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 73 f6 07 vpsllq \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 71 f6 07 vpsllw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 72 e6 07 vpsrad \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 71 e6 07 vpsraw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 72 d6 07 vpsrld \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 73 de 07 vpsrldq \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 73 d6 07 vpsrlq \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 71 d6 07 vpsrlw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 fd 70 d6 07 vpshufd \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 fd 70 31 07 vpshufd \$0x7,\(%ecx\),%ymm6
+[ ]*[a-f0-9]+: c5 fe 70 d6 07 vpshufhw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 fe 70 31 07 vpshufhw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m6,%ymm2
+[ ]*[a-f0-9]+: c5 fd 70 d6 07 vpshufd \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 fd 70 31 07 vpshufd \$0x7,\(%ecx\),%ymm6
+[ ]*[a-f0-9]+: c5 fd 70 31 07 vpshufd \$0x7,\(%ecx\),%ymm6
+[ ]*[a-f0-9]+: c5 fe 70 d6 07 vpshufhw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 fe 70 31 07 vpshufhw \$0x7,\(%ecx\),%ymm6
+[ ]*[a-f0-9]+: c5 fe 70 31 07 vpshufhw \$0x7,\(%ecx\),%ymm6
+[ ]*[a-f0-9]+: c5 ff 70 d6 07 vpshuflw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ff 70 31 07 vpshuflw \$0x7,\(%ecx\),%ymm6
+[ ]*[a-f0-9]+: c5 ff 70 31 07 vpshuflw \$0x7,\(%ecx\),%ymm6
+[ ]*[a-f0-9]+: c5 cd 6b d4 vpackssdw %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 6b 11 vpackssdw \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 6b 11 vpackssdw \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 63 d4 vpacksswb %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 63 11 vpacksswb \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 63 11 vpacksswb \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 2b d4 vpackusdw %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 2b 11 vpackusdw \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 2b 11 vpackusdw \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 67 d4 vpackuswb %ymm4,%ymm6,%ymm2
+[ ]*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]+: c5 cd dc d4 vpaddusb %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd dc 11 vpaddusb \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd dc 11 vpaddusb \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd dd d4 vpaddusw %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd dd 11 vpaddusw \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd dd 11 vpaddusw \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd db d4 vpand %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd db 11 vpand \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd db 11 vpand \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd df d4 vpandn %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd df 11 vpandn \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd df 11 vpandn \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd e0 d4 vpavgb %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd e0 11 vpavgb \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd e0 11 vpavgb \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd e3 d4 vpavgw %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd e3 11 vpavgw \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd e3 11 vpavgw \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 74 d4 vpcmpeqb %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 74 11 vpcmpeqb \(%ecx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 74 11 vpcmp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[a-f0-9]+: c4 e2 7d 32 21 vpmovzxbq \(%ecx\),%ymm4
+#pass
diff --git a/gas/testsuite/gas/i386/avx256int.s b/gas/testsuite/gas/i386/avx256int.s
new file mode 100644
index 0000000..4d3d13b
--- /dev/null
+++ b/gas/testsuite/gas/i386/avx256int.s
@@ -0,0 +1,593 @@
+# Check i386 256bit integer AVX instructions
+
+ .allow_index_reg
+ .text
+_start:
+
+# Tests for op ymm, regl
+ vpmovmskb %ymm4,%ecx
+
+# Tests for op imm8, ymm, ymm
+ vpslld $7,%ymm6,%ymm2
+ vpslldq $7,%ymm6,%ymm2
+ vpsllq $7,%ymm6,%ymm2
+ vpsllw $7,%ymm6,%ymm2
+ vpsrad $7,%ymm6,%ymm2
+ vpsraw $7,%ymm6,%ymm2
+ vpsrld $7,%ymm6,%ymm2
+ vpsrldq $7,%ymm6,%ymm2
+ vpsrlq $7,%ymm6,%ymm2
+ vpsrlw $7,%ymm6,%ymm2
+
+# Tests for op imm8, ymm/mem256, ymm
+ vpshufd $7,%ymm6,%ymm2
+ vpshufd $7,(%ecx),%ymm6
+ vpshufhw $7,%ymm6,%ymm2
+ vpshufhw $7,(%ecx),%ymm6
+ vpshuflw $7,%ymm6,%ymm2
+ vpshuflw $7,(%ecx),%ymm6
+
+# Tests for op ymm/mem256, ymm, ymm
+ vpackssdw %ymm4,%ymm6,%ymm2
+ vpackssdw (%ecx),%ymm6,%ymm2
+ vpacksswb %ymm4,%ymm6,%ymm2
+ vpacksswb (%ecx),%ymm6,%ymm2
+ vpackusdw %ymm4,%ymm6,%ymm2
+ vpackusdw (%ecx),%ymm6,%ymm2
+ vpackuswb %ymm4,%ymm6,%ymm2
+ vpackuswb (%ecx),%ymm6,%ymm2
+ vpaddb %ymm4,%ymm6,%ymm2
+ vpaddb (%ecx),%ymm6,%ymm2
+ vpaddw %ymm4,%ymm6,%ymm2
+ vpaddw (%ecx),%ymm6,%ymm2
+ vpaddd %ymm4,%ymm6,%ymm2
+ vpaddd (%ecx),%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,%ymm6,%ymm2
+ vphaddsw (%ecx),%ymm6,%ymm2
+ vphsubw %ymm4,%ymm6,%ymm2
+ vphsubw (%ecx),%ymm6,%ymm2
+ vphsubd %ymm4,%ymm6,%ymm2
+ vphsubd (%ecx),%ymm6,%ymm2
+ vphsubsw %ymm4,%ymm6,%ymm2
+ vphsubsw (%ecx),%ymm6,%ymm2
+ vpmaddwd %ymm4,%ymm6,%ymm2
+ vpmaddwd (%ecx),%ymm6,%ymm2
+ vpmaddubsw %ymm4,%ymm6,%ymm2
+ vpmaddubsw (%ecx),%ymm6,%ymm2
+ vpmaxsb %ymm4,%ymm6,%ymm2
+ vpmaxsb (%ecx),%ymm6,%ymm2
+ vpmaxsw %ymm4,%ymm6,%ymm2
+ vpmaxsw (%ecx),%ymm6,%ymm2
+ vpmaxsd %ymm4,%ymm6,%ymm2
+ vpmaxsd (%ecx),%ymm6,%ymm2
+ vpmaxub %ymm4,%ymm6,%ymm2
+ vpmaxub (%ecx),%ymm6,%ymm2
+ vpmaxuw %ymm4,%ymm6,%ymm2
+ vpmaxuw (%ecx),%ymm6,%ymm2
+ vpmaxud %ymm4,%ymm6,%ymm2
+ vpmaxud (%ecx),%ymm6,%ymm2
+ vpminsb %ymm4,%ymm6,%ymm2
+ vpminsb (%ecx),%ymm6,%ymm2
+ vpminsw %ymm4,%ymm6,%ymm2
+ vpminsw (%ecx),%ymm6,%ymm2
+ vpminsd %ymm4,%ymm6,%ymm2
+ vpminsd (%ecx),%ymm6,%ymm2
+ vpminub %ymm4,%ymm6,%ymm2
+ vpminub (%ecx),%ymm6,%ymm2
+ vpminuw %ymm4,%ymm6,%ymm2
+ vpminuw (%ecx),%ymm6,%ymm2
+ vpminud %ymm4,%ymm6,%ymm2
+ vpminud (%ecx),%ymm6,%ymm2
+ vpmulhuw %ymm4,%ymm6,%ymm2
+ vpmulhuw (%ecx),%ymm6,%ymm2
+ vpmulhrsw %ymm4,%ymm6,%ymm2
+ vpmulhrsw (%ecx),%ymm6,%ymm2
+ vpmulhw %ymm4,%ymm6,%ymm2
+ vpmulhw (%ecx),%ymm6,%ymm2
+ vpmullw %ymm4,%ymm6,%ymm2
+ vpmullw (%ecx),%ymm6,%ymm2
+ vpmulld %ymm4,%ymm6,%ymm2
+ vpmulld (%ecx),%ymm6,%ymm2
+ vpmuludq %ymm4,%ymm6,%ymm2
+ vpmuludq (%ecx),%ymm6,%ymm2
+ vpmuldq %ymm4,%ymm6,%ymm2
+ vpmuldq (%ecx),%ymm6,%ymm2
+ vpor %ymm4,%ymm6,%ymm2
+ vpor (%ecx),%ymm6,%ymm2
+ vpsadbw %ymm4,%ymm6,%ymm2
+ vpsadbw (%ecx),%ymm6,%ymm2
+ vpshufb %ymm4,%ymm6,%ymm2
+ vpshufb (%ecx),%ymm6,%ymm2
+ vpsignb %ymm4,%ymm6,%ymm2
+ vpsignb (%ecx),%ymm6,%ymm2
+ vpsignw %ymm4,%ymm6,%ymm2
+ vpsignw (%ecx),%ymm6,%ymm2
+ vpsignd %ymm4,%ymm6,%ymm2
+ vpsignd (%ecx),%ymm6,%ymm2
+ vpsubb %ymm4,%ymm6,%ymm2
+ vpsubb (%ecx),%ymm6,%ymm2
+ vpsubw %ymm4,%ymm6,%ymm2
+ vpsubw (%ecx),%ymm6,%ymm2
+ vpsubd %ymm4,%ymm6,%ymm2
+ vpsubd (%ecx),%ymm6,%ymm2
+ vpsubq %ymm4,%ymm6,%ymm2
+ vpsubq (%ecx),%ymm6,%ymm2
+ vpsubsb %ymm4,%ymm6,%ymm2
+ vpsubsb (%ecx),%ymm6,%ymm2
+ vpsubsw %ymm4,%ymm6,%ymm2
+ vpsubsw (%ecx),%ymm6,%ymm2
+ vpsubusb %ymm4,%ymm6,%ymm2
+ vpsubusb (%ecx),%ymm6,%ymm2
+ vpsubusw %ymm4,%ymm6,%ymm2
+ vpsubusw (%ecx),%ymm6,%ymm2
+ vpunpckhbw %ymm4,%ymm6,%ymm2
+ vpunpckhbw (%ecx),%ymm6,%ymm2
+ vpunpckhwd %ymm4,%ymm6,%ymm2
+ vpunpckhwd (%ecx),%ymm6,%ymm2
+ vpunpckhdq %ymm4,%ymm6,%ymm2
+ vpunpckhdq (%ecx),%ymm6,%ymm2
+ vpunpckhqdq %ymm4,%ymm6,%ymm2
+ vpunpckhqdq (%ecx),%ymm6,%ymm2
+ vpunpcklbw %ymm4,%ymm6,%ymm2
+ vpunpcklbw (%ecx),%ymm6,%ymm2
+ vpunpcklwd %ymm4,%ymm6,%ymm2
+ vpunpcklwd (%ecx),%ymm6,%ymm2
+ vpunpckldq %ymm4,%ymm6,%ymm2
+ vpunpckldq (%ecx),%ymm6,%ymm2
+ vpunpcklqdq %ymm4,%ymm6,%ymm2
+ vpunpcklqdq (%ecx),%ymm6,%ymm2
+ vpxor %ymm4,%ymm6,%ymm2
+ vpxor (%ecx),%ymm6,%ymm2
+
+# Tests for op ymm/mem256, ymm
+ vpabsb %ymm4,%ymm6
+ vpabsb (%ecx),%ymm4
+ vpabsw %ymm4,%ymm6
+ vpabsw (%ecx),%ymm4
+ vpabsd %ymm4,%ymm6
+ vpabsd (%ecx),%ymm4
+
+# Tests for op imm8, ymm/mem256, ymm, ymm
+ vmpsadbw $7,%ymm4,%ymm6,%ymm2
+ vmpsadbw $7,(%ecx),%ymm6,%ymm2
+ vpalignr $7,%ymm4,%ymm6,%ymm2
+ vpalignr $7,(%ecx),%ymm6,%ymm2
+ vpblendw $7,%ymm4,%ymm6,%ymm2
+ vpblendw $7,(%ecx),%ymm6,%ymm2
+
+# Tests for op ymm, ymm/mem256, ymm, ymm
+ vpblendvb %ymm4,%ymm6,%ymm2,%ymm7
+ vpblendvb %ymm4,(%ecx),%ymm2,%ymm7
+
+# Tests for op xmm/mem128, ymm, ymm
+ vpsllw %xmm4,%ymm6,%ymm2
+ vpsllw (%ecx),%ymm6,%ymm2
+ vpslld %xmm4,%ymm6,%ymm2
+ vpslld (%ecx),%ymm6,%ymm2
+ vpsllq %xmm4,%ymm6,%ymm2
+ vpsllq (%ecx),%ymm6,%ymm2
+ vpsraw %xmm4,%ymm6,%ymm2
+ vpsraw (%ecx),%ymm6,%ymm2
+ vpsrad %xmm4,%ymm6,%ymm2
+ vpsrad (%ecx),%ymm6,%ymm2
+ vpsrlw %xmm4,%ymm6,%ymm2
+ vpsrlw (%ecx),%ymm6,%ymm2
+ vpsrld %xmm4,%ymm6,%ymm2
+ vpsrld (%ecx),%ymm6,%ymm2
+ vpsrlq %xmm4,%ymm6,%ymm2
+ vpsrlq (%ecx),%ymm6,%ymm2
+
+# Tests for op xmm/mem128, ymm
+ vpmovsxbw %xmm4,%ymm4
+ vpmovsxbw (%ecx),%ymm4
+ vpmovsxwd %xmm4,%ymm4
+ vpmovsxwd (%ecx),%ymm4
+ vpmovsxdq %xmm4,%ymm4
+ vpmovsxdq (%ecx),%ymm4
+ vpmovzxbw %xmm4,%ymm4
+ vpmovzxbw (%ecx),%ymm4
+ vpmovzxwd %xmm4,%ymm4
+ vpmovzxwd (%ecx),%ymm4
+ vpmovzxdq %xmm4,%ymm4
+ vpmovzxdq (%ecx),%ymm4
+
+# Tests for op xmm/mem64, ymm
+ vpmovsxbd %xmm4,%ymm6
+ vpmovsxbd (%ecx),%ymm4
+ vpmovsxwq %xmm4,%ymm6
+ vpmovsxwq (%ecx),%ymm4
+ vpmovzxbd %xmm4,%ymm6
+ vpmovzxbd (%ecx),%ymm4
+ vpmovzxwq %xmm4,%ymm6
+ vpmovzxwq (%ecx),%ymm4
+
+# Tests for op xmm/mem32, ymm
+ vpmovsxbq %xmm4,%ymm4
+ vpmovsxbq (%ecx),%ymm4
+ vpmovzxbq %xmm4,%ymm4
+ vpmovzxbq (%ecx),%ymm4
+
+ .intel_syntax noprefix
+
+# Tests for op ymm, regl
+ vpmovmskb ecx,ymm4
+
+# Tests for op imm8, ymm, ymm
+ vpslld ymm2,ymm6,7
+ vpslldq ymm2,ymm6,7
+ vpsllq ymm2,ymm6,7
+ vpsllw ymm2,ymm6,7
+ vpsrad ymm2,ymm6,7
+ vpsraw ymm2,ymm6,7
+ vpsrld ymm2,ymm6,7
+ vpsrldq ymm2,ymm6,7
+ vpsrlq ymm2,ymm6,7
+ vpsrlw ymm2,ymm6,7
+
+# Tests for op imm8, ymm/mem256, ymm
+ vpshufd ymm2,ymm6,7
+ vpshufd ymm6,YMMWORD PTR [ecx],7
+ vpshufd ymm6,[ecx],7
+ vpshufhw ymm2,ymm6,7
+ vpshufhw ymm6,YMMWORD PTR [ecx],7
+ vpshufhw ymm6,[ecx],7
+ vpshuflw ymm2,ymm6,7
+ vpshuflw ymm6,YMMWORD PTR [ecx],7
+ vpshuflw ymm6,[ecx],7
+
+# Tests for op ymm/mem256, ymm, ymm
+ vpackssdw ymm2,ymm6,ymm4
+ vpackssdw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpackssdw ymm2,ymm6,[ecx]
+ vpacksswb ymm2,ymm6,ymm4
+ vpacksswb ymm2,ymm6,YMMWORD PTR [ecx]
+ vpacksswb ymm2,ymm6,[ecx]
+ vpackusdw ymm2,ymm6,ymm4
+ vpackusdw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpackusdw ymm2,ymm6,[ecx]
+ vpackuswb ymm2,ymm6,ymm4
+ vpackuswb ymm2,ymm6,YMMWORD PTR [ecx]
+ vpackuswb ymm2,ymm6,[ecx]
+ vpaddb ymm2,ymm6,ymm4
+ vpaddb ymm2,ymm6,YMMWORD PTR [ecx]
+ vpaddb ymm2,ymm6,[ecx]
+ vpaddw ymm2,ymm6,ymm4
+ vpaddw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpaddw ymm2,ymm6,[ecx]
+ vpaddd ymm2,ymm6,ymm4
+ vpaddd ymm2,ymm6,YMMWORD PTR [ecx]
+ vpaddd ymm2,ymm6,[ecx]
+ vpaddq ymm2,ymm6,ymm4
+ vpaddq ymm2,ymm6,YMMWORD PTR [ecx]
+ vpaddq ymm2,ymm6,[ecx]
+ vpaddsb ymm2,ymm6,ymm4
+ vpaddsb ymm2,ymm6,YMMWORD PTR [ecx]
+ vpaddsb ymm2,ymm6,[ecx]
+ vpaddsw ymm2,ymm6,ymm4
+ vpaddsw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpaddsw ymm2,ymm6,[ecx]
+ vpaddusb ymm2,ymm6,ymm4
+ vpaddusb ymm2,ymm6,YMMWORD PTR [ecx]
+ vpaddusb ymm2,ymm6,[ecx]
+ vpaddusw ymm2,ymm6,ymm4
+ vpaddusw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpaddusw ymm2,ymm6,[ecx]
+ vpand ymm2,ymm6,ymm4
+ vpand ymm2,ymm6,YMMWORD PTR [ecx]
+ vpand ymm2,ymm6,[ecx]
+ vpandn ymm2,ymm6,ymm4
+ vpandn ymm2,ymm6,YMMWORD PTR [ecx]
+ vpandn ymm2,ymm6,[ecx]
+ vpavgb ymm2,ymm6,ymm4
+ vpavgb ymm2,ymm6,YMMWORD PTR [ecx]
+ vpavgb ymm2,ymm6,[ecx]
+ vpavgw ymm2,ymm6,ymm4
+ vpavgw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpavgw ymm2,ymm6,[ecx]
+ vpcmpeqb ymm2,ymm6,ymm4
+ vpcmpeqb ymm2,ymm6,YMMWORD PTR [ecx]
+ vpcmpeqb ymm2,ymm6,[ecx]
+ vpcmpeqw ymm2,ymm6,ymm4
+ vpcmpeqw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpcmpeqw ymm2,ymm6,[ecx]
+ vpcmpeqd ymm2,ymm6,ymm4
+ vpcmpeqd ymm2,ymm6,YMMWORD PTR [ecx]
+ vpcmpeqd ymm2,ymm6,[ecx]
+ vpcmpeqq ymm2,ymm6,ymm4
+ vpcmpeqq ymm2,ymm6,YMMWORD PTR [ecx]
+ vpcmpeqq ymm2,ymm6,[ecx]
+ vpcmpgtb ymm2,ymm6,ymm4
+ vpcmpgtb ymm2,ymm6,YMMWORD PTR [ecx]
+ vpcmpgtb ymm2,ymm6,[ecx]
+ vpcmpgtw ymm2,ymm6,ymm4
+ vpcmpgtw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpcmpgtw ymm2,ymm6,[ecx]
+ vpcmpgtd ymm2,ymm6,ymm4
+ vpcmpgtd ymm2,ymm6,YMMWORD PTR [ecx]
+ vpcmpgtd ymm2,ymm6,[ecx]
+ vpcmpgtq ymm2,ymm6,ymm4
+ vpcmpgtq ymm2,ymm6,YMMWORD PTR [ecx]
+ vpcmpgtq ymm2,ymm6,[ecx]
+ vphaddw ymm2,ymm6,ymm4
+ vphaddw ymm2,ymm6,YMMWORD PTR [ecx]
+ vphaddw ymm2,ymm6,[ecx]
+ vphaddd ymm2,ymm6,ymm4
+ vphaddd ymm2,ymm6,YMMWORD PTR [ecx]
+ vphaddd ymm2,ymm6,[ecx]
+ vphaddsw ymm2,ymm6,ymm4
+ vphaddsw ymm2,ymm6,YMMWORD PTR [ecx]
+ vphaddsw ymm2,ymm6,[ecx]
+ vphsubw ymm2,ymm6,ymm4
+ vphsubw ymm2,ymm6,YMMWORD PTR [ecx]
+ vphsubw ymm2,ymm6,[ecx]
+ vphsubd ymm2,ymm6,ymm4
+ vphsubd ymm2,ymm6,YMMWORD PTR [ecx]
+ vphsubd ymm2,ymm6,[ecx]
+ vphsubsw ymm2,ymm6,ymm4
+ vphsubsw ymm2,ymm6,YMMWORD PTR [ecx]
+ vphsubsw ymm2,ymm6,[ecx]
+ vpmaddwd ymm2,ymm6,ymm4
+ vpmaddwd ymm2,ymm6,YMMWORD PTR [ecx]
+ vpmaddwd ymm2,ymm6,[ecx]
+ vpmaddubsw ymm2,ymm6,ymm4
+ vpmaddubsw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpmaddubsw ymm2,ymm6,[ecx]
+ vpmaxsb ymm2,ymm6,ymm4
+ vpmaxsb ymm2,ymm6,YMMWORD PTR [ecx]
+ vpmaxsb ymm2,ymm6,[ecx]
+ vpmaxsw ymm2,ymm6,ymm4
+ vpmaxsw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpmaxsw ymm2,ymm6,[ecx]
+ vpmaxsd ymm2,ymm6,ymm4
+ vpmaxsd ymm2,ymm6,YMMWORD PTR [ecx]
+ vpmaxsd ymm2,ymm6,[ecx]
+ vpmaxub ymm2,ymm6,ymm4
+ vpmaxub ymm2,ymm6,YMMWORD PTR [ecx]
+ vpmaxub ymm2,ymm6,[ecx]
+ vpmaxuw ymm2,ymm6,ymm4
+ vpmaxuw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpmaxuw ymm2,ymm6,[ecx]
+ vpmaxud ymm2,ymm6,ymm4
+ vpmaxud ymm2,ymm6,YMMWORD PTR [ecx]
+ vpmaxud ymm2,ymm6,[ecx]
+ vpminsb ymm2,ymm6,ymm4
+ vpminsb ymm2,ymm6,YMMWORD PTR [ecx]
+ vpminsb ymm2,ymm6,[ecx]
+ vpminsw ymm2,ymm6,ymm4
+ vpminsw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpminsw ymm2,ymm6,[ecx]
+ vpminsd ymm2,ymm6,ymm4
+ vpminsd ymm2,ymm6,YMMWORD PTR [ecx]
+ vpminsd ymm2,ymm6,[ecx]
+ vpminub ymm2,ymm6,ymm4
+ vpminub ymm2,ymm6,YMMWORD PTR [ecx]
+ vpminub ymm2,ymm6,[ecx]
+ vpminuw ymm2,ymm6,ymm4
+ vpminuw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpminuw ymm2,ymm6,[ecx]
+ vpminud ymm2,ymm6,ymm4
+ vpminud ymm2,ymm6,YMMWORD PTR [ecx]
+ vpminud ymm2,ymm6,[ecx]
+ vpmulhuw ymm2,ymm6,ymm4
+ vpmulhuw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpmulhuw ymm2,ymm6,[ecx]
+ vpmulhrsw ymm2,ymm6,ymm4
+ vpmulhrsw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpmulhrsw ymm2,ymm6,[ecx]
+ vpmulhw ymm2,ymm6,ymm4
+ vpmulhw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpmulhw ymm2,ymm6,[ecx]
+ vpmullw ymm2,ymm6,ymm4
+ vpmullw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpmullw ymm2,ymm6,[ecx]
+ vpmulld ymm2,ymm6,ymm4
+ vpmulld ymm2,ymm6,YMMWORD PTR [ecx]
+ vpmulld ymm2,ymm6,[ecx]
+ vpmuludq ymm2,ymm6,ymm4
+ vpmuludq ymm2,ymm6,YMMWORD PTR [ecx]
+ vpmuludq ymm2,ymm6,[ecx]
+ vpmuldq ymm2,ymm6,ymm4
+ vpmuldq ymm2,ymm6,YMMWORD PTR [ecx]
+ vpmuldq ymm2,ymm6,[ecx]
+ vpor ymm2,ymm6,ymm4
+ vpor ymm2,ymm6,YMMWORD PTR [ecx]
+ vpor ymm2,ymm6,[ecx]
+ vpsadbw ymm2,ymm6,ymm4
+ vpsadbw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsadbw ymm2,ymm6,[ecx]
+ vpshufb ymm2,ymm6,ymm4
+ vpshufb ymm2,ymm6,YMMWORD PTR [ecx]
+ vpshufb ymm2,ymm6,[ecx]
+ vpsignb ymm2,ymm6,ymm4
+ vpsignb ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsignb ymm2,ymm6,[ecx]
+ vpsignw ymm2,ymm6,ymm4
+ vpsignw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsignw ymm2,ymm6,[ecx]
+ vpsignd ymm2,ymm6,ymm4
+ vpsignd ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsignd ymm2,ymm6,[ecx]
+ vpsubb ymm2,ymm6,ymm4
+ vpsubb ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsubb ymm2,ymm6,[ecx]
+ vpsubw ymm2,ymm6,ymm4
+ vpsubw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsubw ymm2,ymm6,[ecx]
+ vpsubd ymm2,ymm6,ymm4
+ vpsubd ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsubd ymm2,ymm6,[ecx]
+ vpsubq ymm2,ymm6,ymm4
+ vpsubq ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsubq ymm2,ymm6,[ecx]
+ vpsubsb ymm2,ymm6,ymm4
+ vpsubsb ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsubsb ymm2,ymm6,[ecx]
+ vpsubsw ymm2,ymm6,ymm4
+ vpsubsw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsubsw ymm2,ymm6,[ecx]
+ vpsubusb ymm2,ymm6,ymm4
+ vpsubusb ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsubusb ymm2,ymm6,[ecx]
+ vpsubusw ymm2,ymm6,ymm4
+ vpsubusw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpsubusw ymm2,ymm6,[ecx]
+ vpunpckhbw ymm2,ymm6,ymm4
+ vpunpckhbw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpunpckhbw ymm2,ymm6,[ecx]
+ vpunpckhwd ymm2,ymm6,ymm4
+ vpunpckhwd ymm2,ymm6,YMMWORD PTR [ecx]
+ vpunpckhwd ymm2,ymm6,[ecx]
+ vpunpckhdq ymm2,ymm6,ymm4
+ vpunpckhdq ymm2,ymm6,YMMWORD PTR [ecx]
+ vpunpckhdq ymm2,ymm6,[ecx]
+ vpunpckhqdq ymm2,ymm6,ymm4
+ vpunpckhqdq ymm2,ymm6,YMMWORD PTR [ecx]
+ vpunpckhqdq ymm2,ymm6,[ecx]
+ vpunpcklbw ymm2,ymm6,ymm4
+ vpunpcklbw ymm2,ymm6,YMMWORD PTR [ecx]
+ vpunpcklbw ymm2,ymm6,[ecx]
+ vpunpcklwd ymm2,ymm6,ymm4
+ vpunpcklwd ymm2,ymm6,YMMWORD PTR [ecx]
+ vpunpcklwd ymm2,ymm6,[ecx]
+ vpunpckldq ymm2,ymm6,ymm4
+ vpunpckldq ymm2,ymm6,YMMWORD PTR [ecx]
+ vpunpckldq ymm2,ymm6,[ecx]
+ vpunpcklqdq ymm2,ymm6,ymm4
+ vpunpcklqdq ymm2,ymm6,YMMWORD PTR [ecx]
+ vpunpcklqdq ymm2,ymm6,[ecx]
+ vpxor ymm2,ymm6,ymm4
+ vpxor ymm2,ymm6,YMMWORD PTR [ecx]
+ vpxor ymm2,ymm6,[ecx]
+
+# Tests for op ymm/mem256, ymm
+ vpabsb ymm6,ymm4
+ vpabsb ymm4,YMMWORD PTR [ecx]
+ vpabsb ymm4,[ecx]
+ vpabsw ymm6,ymm4
+ vpabsw ymm4,YMMWORD PTR [ecx]
+ vpabsw ymm4,[ecx]
+ vpabsd ymm6,ymm4
+ vpabsd ymm4,YMMWORD PTR [ecx]
+ vpabsd ymm4,[ecx]
+
+# Tests for op imm8, ymm/mem256, ymm, ymm
+ vmpsadbw ymm2,ymm6,ymm4,7
+ vmpsadbw ymm2,ymm6,YMMWORD PTR [ecx],7
+ vmpsadbw ymm2,ymm6,[ecx],7
+ vpalignr ymm2,ymm6,ymm4,7
+ vpalignr ymm2,ymm6,YMMWORD PTR [ecx],7
+ vpalignr ymm2,ymm6,[ecx],7
+ vpblendw ymm2,ymm6,ymm4,7
+ vpblendw ymm2,ymm6,YMMWORD PTR [ecx],7
+ vpblendw ymm2,ymm6,[ecx],7
+
+# Tests for op ymm, ymm/mem256, ymm, ymm
+ vpblendvb ymm7,ymm2,ymm6,ymm4
+ vpblendvb ymm7,ymm2,YMMWORD PTR [ecx],ymm4
+ vpblendvb ymm7,ymm2,[ecx],ymm4
+
+# Tests for op xmm/mem128, ymm, ymm
+ vpsllw ymm2,ymm6,xmm4
+ vpsllw ymm2,ymm6,XMMWORD PTR [ecx]
+ vpsllw ymm2,ymm6,[ecx]
+ vpslld ymm2,ymm6,xmm4
+ vpslld ymm2,ymm6,XMMWORD PTR [ecx]
+ vpslld ymm2,ymm6,[ecx]
+ vpsllq ymm2,ymm6,xmm4
+ vpsllq ymm2,ymm6,XMMWORD PTR [ecx]
+ vpsllq ymm2,ymm6,[ecx]
+ vpsraw ymm2,ymm6,xmm4
+ vpsraw ymm2,ymm6,XMMWORD PTR [ecx]
+ vpsraw ymm2,ymm6,[ecx]
+ vpsrad ymm2,ymm6,xmm4
+ vpsrad ymm2,ymm6,XMMWORD PTR [ecx]
+ vpsrad ymm2,ymm6,[ecx]
+ vpsrlw ymm2,ymm6,xmm4
+ vpsrlw ymm2,ymm6,XMMWORD PTR [ecx]
+ vpsrlw ymm2,ymm6,[ecx]
+ vpsrld ymm2,ymm6,xmm4
+ vpsrld ymm2,ymm6,XMMWORD PTR [ecx]
+ vpsrld ymm2,ymm6,[ecx]
+ vpsrlq ymm2,ymm6,xmm4
+ vpsrlq ymm2,ymm6,XMMWORD PTR [ecx]
+ vpsrlq ymm2,ymm6,[ecx]
+
+# Tests for op xmm/mem128, ymm
+ vpmovsxbw ymm4,xmm4
+ vpmovsxbw ymm4,XMMWORD PTR [ecx]
+ vpmovsxbw ymm4,[ecx]
+ vpmovsxwd ymm4,xmm4
+ vpmovsxwd ymm4,XMMWORD PTR [ecx]
+ vpmovsxwd ymm4,[ecx]
+ vpmovsxdq ymm4,xmm4
+ vpmovsxdq ymm4,XMMWORD PTR [ecx]
+ vpmovsxdq ymm4,[ecx]
+ vpmovzxbw ymm4,xmm4
+ vpmovzxbw ymm4,XMMWORD PTR [ecx]
+ vpmovzxbw ymm4,[ecx]
+ vpmovzxwd ymm4,xmm4
+ vpmovzxwd ymm4,XMMWORD PTR [ecx]
+ vpmovzxwd ymm4,[ecx]
+ vpmovzxdq ymm4,xmm4
+ vpmovzxdq ymm4,XMMWORD PTR [ecx]
+ vpmovzxdq ymm4,[ecx]
+
+# Tests for op xmm/mem64, ymm
+ vpmovsxbd ymm6,xmm4
+ vpmovsxbd ymm4,QWORD PTR [ecx]
+ vpmovsxbd ymm4,[ecx]
+ vpmovsxwq ymm6,xmm4
+ vpmovsxwq ymm4,QWORD PTR [ecx]
+ vpmovsxwq ymm4,[ecx]
+ vpmovzxbd ymm6,xmm4
+ vpmovzxbd ymm4,QWORD PTR [ecx]
+ vpmovzxbd ymm4,[ecx]
+ vpmovzxwq ymm6,xmm4
+ vpmovzxwq ymm4,QWORD PTR [ecx]
+ vpmovzxwq ymm4,[ecx]
+
+# Tests for op xmm/mem32, ymm
+ vpmovsxbq ymm4,xmm4
+ vpmovsxbq ymm4,DWORD PTR [ecx]
+ vpmovsxbq ymm4,[ecx]
+ vpmovzxbq ymm4,xmm4
+ vpmovzxbq ymm4,DWORD PTR [ecx]
+ vpmovzxbq ymm4,[ecx]
diff --git a/gas/testsuite/gas/i386/bmi2-intel.d b/gas/testsuite/gas/i386/bmi2-intel.d
new file mode 100644
index 0000000..8cf48fc
--- /dev/null
+++ b/gas/testsuite/gas/i386/bmi2-intel.d
@@ -0,0 +1,52 @@
+#as:
+#objdump: -dwMintel
+#name: i386 BMI2 insns (Intel disassembly)
+#source: bmi2.s
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c4 e3 63 f0 f0 07 rorx esi,ebx,eax,0x7
+[ ]*[a-f0-9]+: c4 e3 63 f0 31 07 rorx esi,ebx,DWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e2 63 f6 f0 mulx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 63 f6 31 mulx esi,ebx,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 63 f5 f0 pdep esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 63 f5 31 pdep esi,ebx,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 62 f5 f0 pext esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 62 f5 31 pext esi,ebx,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 78 f5 f3 bzhi esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 60 f5 31 bzhi esi,DWORD PTR \[ecx\],ebx
+[ ]*[a-f0-9]+: c4 e2 7a f7 f3 sarx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 62 f7 31 sarx esi,DWORD PTR \[ecx\],ebx
+[ ]*[a-f0-9]+: c4 e2 79 f7 f3 shlx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 61 f7 31 shlx esi,DWORD PTR \[ecx\],ebx
+[ ]*[a-f0-9]+: c4 e2 7b f7 f3 shrx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 63 f7 31 shrx esi,DWORD PTR \[ecx\],ebx
+[ ]*[a-f0-9]+: c4 e3 63 f0 f0 07 rorx esi,ebx,eax,0x7
+[ ]*[a-f0-9]+: c4 e3 63 f0 31 07 rorx esi,ebx,DWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e3 63 f0 31 07 rorx esi,ebx,DWORD PTR \[ecx\],0x7
+[ ]*[a-f0-9]+: c4 e2 63 f6 f0 mulx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 63 f6 31 mulx esi,ebx,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 63 f6 31 mulx esi,ebx,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 63 f5 f0 pdep esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 63 f5 31 pdep esi,ebx,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 63 f5 31 pdep esi,ebx,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 62 f5 f0 pext esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 62 f5 31 pext esi,ebx,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 62 f5 31 pext esi,ebx,DWORD PTR \[ecx\]
+[ ]*[a-f0-9]+: c4 e2 78 f5 f3 bzhi esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 60 f5 31 bzhi esi,DWORD PTR \[ecx\],ebx
+[ ]*[a-f0-9]+: c4 e2 60 f5 31 bzhi esi,DWORD PTR \[ecx\],ebx
+[ ]*[a-f0-9]+: c4 e2 7a f7 f3 sarx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 62 f7 31 sarx esi,DWORD PTR \[ecx\],ebx
+[ ]*[a-f0-9]+: c4 e2 62 f7 31 sarx esi,DWORD PTR \[ecx\],ebx
+[ ]*[a-f0-9]+: c4 e2 79 f7 f3 shlx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 61 f7 31 shlx esi,DWORD PTR \[ecx\],ebx
+[ ]*[a-f0-9]+: c4 e2 61 f7 31 shlx esi,DWORD PTR \[ecx\],ebx
+[ ]*[a-f0-9]+: c4 e2 7b f7 f3 shrx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 63 f7 31 shrx esi,DWORD PTR \[ecx\],ebx
+[ ]*[a-f0-9]+: c4 e2 63 f7 31 shrx esi,DWORD PTR \[ecx\],ebx
+#pass
diff --git a/gas/testsuite/gas/i386/bmi2.d b/gas/testsuite/gas/i386/bmi2.d
new file mode 100644
index 0000000..35d5e01
--- /dev/null
+++ b/gas/testsuite/gas/i386/bmi2.d
@@ -0,0 +1,51 @@
+#as:
+#objdump: -dw
+#name: i386 BMI2 insns
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c4 e3 63 f0 f0 07 rorx \$0x7,%eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e3 63 f0 31 07 rorx \$0x7,\(%ecx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f6 f0 mulx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f6 31 mulx \(%ecx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f5 f0 pdep %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f5 31 pdep \(%ecx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 62 f5 f0 pext %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 62 f5 31 pext \(%ecx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 78 f5 f3 bzhi %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 60 f5 31 bzhi %ebx,\(%ecx\),%esi
+[ ]*[a-f0-9]+: c4 e2 7a f7 f3 sarx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 62 f7 31 sarx %ebx,\(%ecx\),%esi
+[ ]*[a-f0-9]+: c4 e2 79 f7 f3 shlx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 61 f7 31 shlx %ebx,\(%ecx\),%esi
+[ ]*[a-f0-9]+: c4 e2 7b f7 f3 shrx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f7 31 shrx %ebx,\(%ecx\),%esi
+[ ]*[a-f0-9]+: c4 e3 63 f0 f0 07 rorx \$0x7,%eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e3 63 f0 31 07 rorx \$0x7,\(%ecx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e3 63 f0 31 07 rorx \$0x7,\(%ecx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f6 f0 mulx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f6 31 mulx \(%ecx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f6 31 mulx \(%ecx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f5 f0 pdep %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f5 31 pdep \(%ecx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f5 31 pdep \(%ecx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 62 f5 f0 pext %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 62 f5 31 pext \(%ecx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 62 f5 31 pext \(%ecx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 78 f5 f3 bzhi %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 60 f5 31 bzhi %ebx,\(%ecx\),%esi
+[ ]*[a-f0-9]+: c4 e2 60 f5 31 bzhi %ebx,\(%ecx\),%esi
+[ ]*[a-f0-9]+: c4 e2 7a f7 f3 sarx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 62 f7 31 sarx %ebx,\(%ecx\),%esi
+[ ]*[a-f0-9]+: c4 e2 62 f7 31 sarx %ebx,\(%ecx\),%esi
+[ ]*[a-f0-9]+: c4 e2 79 f7 f3 shlx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 61 f7 31 shlx %ebx,\(%ecx\),%esi
+[ ]*[a-f0-9]+: c4 e2 61 f7 31 shlx %ebx,\(%ecx\),%esi
+[ ]*[a-f0-9]+: c4 e2 7b f7 f3 shrx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f7 31 shrx %ebx,\(%ecx\),%esi
+[ ]*[a-f0-9]+: c4 e2 63 f7 31 shrx %ebx,\(%ecx\),%esi
+#pass
diff --git a/gas/testsuite/gas/i386/bmi2.s b/gas/testsuite/gas/i386/bmi2.s
new file mode 100644
index 0000000..40b4e55
--- /dev/null
+++ b/gas/testsuite/gas/i386/bmi2.s
@@ -0,0 +1,59 @@
+# Check 32bit BMI2 instructions
+
+ .allow_index_reg
+ .text
+_start:
+
+# Test for op r32, r32, r/m32, imm8
+ rorx $7,%eax,%ebx,%esi
+ rorx $7,(%ecx),%ebx,%esi
+
+# Test for op r32, r32, r/m32
+ mulx %eax,%ebx,%esi
+ mulx (%ecx),%ebx,%esi
+ pdep %eax,%ebx,%esi
+ pdep (%ecx),%ebx,%esi
+ pext %eax,%ebx,%esi
+ pext (%ecx),%ebx,%esi
+
+# Test for op r32, r/m32, r32
+ bzhi %eax,%ebx,%esi
+ bzhi %ebx,(%ecx),%esi
+ sarx %eax,%ebx,%esi
+ sarx %ebx,(%ecx),%esi
+ shlx %eax,%ebx,%esi
+ shlx %ebx,(%ecx),%esi
+ shrx %eax,%ebx,%esi
+ shrx %ebx,(%ecx),%esi
+
+ .intel_syntax noprefix
+
+# Test for op r32, r32, r/m32, imm8
+ rorx esi,ebx,eax,7
+ rorx esi,ebx,DWORD PTR [ecx],7
+ rorx esi,ebx,[ecx],7
+
+# Test for op r32, r32, r/m32
+ mulx esi,ebx,eax
+ mulx esi,ebx,DWORD PTR [ecx]
+ mulx esi,ebx,[ecx]
+ pdep esi,ebx,eax
+ pdep esi,ebx,DWORD PTR [ecx]
+ pdep esi,ebx,[ecx]
+ pext esi,ebx,eax
+ pext esi,ebx,DWORD PTR [ecx]
+ pext esi,ebx,[ecx]
+
+# Test for op r32, r/m32, r32
+ bzhi esi,ebx,eax
+ bzhi esi,DWORD PTR [ecx],ebx
+ bzhi esi,[ecx],ebx
+ sarx esi,ebx,eax
+ sarx esi,DWORD PTR [ecx],ebx
+ sarx esi,[ecx],ebx
+ shlx esi,ebx,eax
+ shlx esi,DWORD PTR [ecx],ebx
+ shlx esi,[ecx],ebx
+ shrx esi,ebx,eax
+ shrx esi,DWORD PTR [ecx],ebx
+ shrx esi,[ecx],ebx
diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp
index cc732f8..67f4175 100644
--- a/gas/testsuite/gas/i386/i386.exp
+++ b/gas/testsuite/gas/i386/i386.exp
@@ -124,6 +124,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]]
run_dump_test "arch-7"
run_dump_test "arch-9"
run_dump_test "arch-10"
+ run_dump_test "arch-10-lzcnt"
run_list_test "arch-10-1" "-march=generic32 -I${srcdir}/$subdir -al"
run_list_test "arch-10-2" "-march=i686 -I${srcdir}/$subdir -al"
run_list_test "arch-10-3" "-march=i686+sse4.2 -I${srcdir}/$subdir -al"
@@ -145,6 +146,12 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]]
run_dump_test "avx-intel"
run_dump_test "avx-scalar"
run_dump_test "avx-scalar-intel"
+ run_dump_test "avx256int"
+ run_dump_test "avx256int-intel"
+ run_dump_test "avx2"
+ run_dump_test "avx2-intel"
+ run_dump_test "avx-gather"
+ run_dump_test "avx-gather-intel"
run_dump_test "sse2avx"
run_list_test "inval-avx" "-al"
run_dump_test "sse-check"
@@ -158,6 +165,9 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]]
run_dump_test "ept"
run_dump_test "ept-intel"
run_list_test "inval-ept" "-al"
+ run_dump_test "invpcid"
+ run_dump_test "invpcid-intel"
+ run_list_test "inval-invpcid" "-al"
run_dump_test "arch-avx-1"
run_list_test "arch-avx-1-1" "-march=generic32+avx -I${srcdir}/$subdir -al"
run_list_test "arch-avx-1-2" "-march=generic32+aes -I${srcdir}/$subdir -al"
@@ -169,6 +179,8 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]]
run_dump_test "opts-intel"
run_dump_test "sse2avx-opts"
run_dump_test "sse2avx-opts-intel"
+ run_dump_test "bmi2"
+ run_dump_test "bmi2-intel"
run_dump_test "fma"
run_dump_test "fma-intel"
run_dump_test "fma-scalar"
@@ -349,6 +361,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t
run_dump_test "x86-64-fxsave-intel"
run_dump_test "x86-64-arch-1"
run_dump_test "x86-64-arch-2"
+ run_dump_test "x86-64-arch-2-lzcnt"
run_dump_test "x86-64-xsave"
run_dump_test "x86-64-xsave-intel"
run_dump_test "x86-64-aes"
@@ -359,6 +372,12 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t
run_dump_test "x86-64-avx-intel"
run_dump_test "x86-64-avx-scalar"
run_dump_test "x86-64-avx-scalar-intel"
+ run_dump_test "x86-64-avx256int"
+ run_dump_test "x86-64-avx256int-intel"
+ run_dump_test "x86-64-avx2"
+ run_dump_test "x86-64-avx2-intel"
+ run_dump_test "x86-64-avx-gather"
+ run_dump_test "x86-64-avx-gather-intel"
run_dump_test "x86-64-sse2avx"
run_list_test "x86-64-inval-avx" "-al"
run_dump_test "x86-64-sse-check"
@@ -372,12 +391,17 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t
run_dump_test "x86-64-ept"
run_dump_test "x86-64-ept-intel"
run_list_test "x86-64-inval-ept" "-al"
+ run_dump_test "x86-64-invpcid"
+ run_dump_test "x86-64-invpcid-intel"
+ run_list_test "x86-64-inval-invpcid" "-al"
run_dump_test "x86-64-opts"
run_dump_test "x86-64-opts-intel"
run_dump_test "x86-64-sse2avx-opts"
run_dump_test "x86-64-sse2avx-opts-intel"
run_dump_test "x86-64-avx-swap"
run_dump_test "x86-64-avx-swap-intel"
+ run_dump_test "x86-64-bmi2"
+ run_dump_test "x86-64-bmi2-intel"
run_dump_test "x86-64-fma"
run_dump_test "x86-64-fma-intel"
run_dump_test "x86-64-fma-scalar"
diff --git a/gas/testsuite/gas/i386/inval-invpcid.l b/gas/testsuite/gas/i386/inval-invpcid.l
new file mode 100644
index 0000000..27c7f7c
--- /dev/null
+++ b/gas/testsuite/gas/i386/inval-invpcid.l
@@ -0,0 +1,21 @@
+.*: Assembler messages:
+.*:4: Error: .*
+.*:5: Error: .*
+.*:6: Error: .*
+.*:9: Error: .*
+.*:10: Error: .*
+.*:11: Error: .*
+GAS LISTING .*
+
+
+[ ]*1[ ]+\# Check illegal INVPCID instructions
+[ ]*2[ ]+\.text
+[ ]*3[ ]+foo:
+[ ]*4[ ]+invpcid \(%ecx\), %bx
+[ ]*5[ ]+invpcid %ebx, \(%ecx\)
+[ ]*6[ ]+invpcid %ebx, %ecx
+[ ]*7[ ]+
+[ ]*8[ ]+\.intel_syntax noprefix
+[ ]*9[ ]+invpcid bx, \[ecx\]
+[ ]*10[ ]+invpcid \[ecx\], ebx
+[ ]*11[ ]+invpcid ecx, ebx
diff --git a/gas/testsuite/gas/i386/inval-invpcid.s b/gas/testsuite/gas/i386/inval-invpcid.s
new file mode 100644
index 0000000..483d5f7
--- /dev/null
+++ b/gas/testsuite/gas/i386/inval-invpcid.s
@@ -0,0 +1,11 @@
+# Check illegal INVPCID instructions
+ .text
+foo:
+ invpcid (%ecx), %bx
+ invpcid %ebx, (%ecx)
+ invpcid %ebx, %ecx
+
+ .intel_syntax noprefix
+ invpcid bx, [ecx]
+ invpcid [ecx], ebx
+ invpcid ecx, ebx
diff --git a/gas/testsuite/gas/i386/invpcid-intel.d b/gas/testsuite/gas/i386/invpcid-intel.d
new file mode 100644
index 0000000..f0b4dc9
--- /dev/null
+++ b/gas/testsuite/gas/i386/invpcid-intel.d
@@ -0,0 +1,14 @@
+#as:
+#objdump: -dwMintel
+#name: i386 INVPCID insns (Intel disassembly)
+#source: invpcid.s
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <foo>:
+[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid edx,\[eax\]
+[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid edx,\[eax\]
+#pass
diff --git a/gas/testsuite/gas/i386/invpcid.d b/gas/testsuite/gas/i386/invpcid.d
new file mode 100644
index 0000000..3ebd202
--- /dev/null
+++ b/gas/testsuite/gas/i386/invpcid.d
@@ -0,0 +1,13 @@
+#as:
+#objdump: -dw
+#name: i386 INVPCID insns
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <foo>:
+[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid \(%eax\),%edx
+[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid \(%eax\),%edx
+#pass
diff --git a/gas/testsuite/gas/i386/invpcid.s b/gas/testsuite/gas/i386/invpcid.s
new file mode 100644
index 0000000..9f12731
--- /dev/null
+++ b/gas/testsuite/gas/i386/invpcid.s
@@ -0,0 +1,8 @@
+# Check INVPCID instruction
+
+ .text
+foo:
+ invpcid (%eax), %edx
+
+ .intel_syntax noprefix
+ invpcid edx,[eax]
diff --git a/gas/testsuite/gas/i386/x86-64-arch-2-lzcnt.d b/gas/testsuite/gas/i386/x86-64-arch-2-lzcnt.d
new file mode 100644
index 0000000..e28b5ad
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-arch-2-lzcnt.d
@@ -0,0 +1,40 @@
+#source: x86-64-arch-2.s
+#as: -march=generic64+avx+vmx+smx+xsave+xsaveopt+aes+pclmul+fma+movbe+ept+clflush+syscall+rdtscp+3dnowa+sse4a+svme+lzcnt+padlock+bmi+tbm
+#objdump: -dw
+#name: x86-64 arch 2 (lzcnt)
+
+.*: file format .*
+
+Disassembly of section .text:
+
+0+ <.text>:
+[ ]*[a-f0-9]+: 0f 44 d8 cmove %eax,%ebx
+[ ]*[a-f0-9]+: 0f ae 38 clflush \(%rax\)
+[ ]*[a-f0-9]+: 0f 05 syscall
+[ ]*[a-f0-9]+: 0f fc dc paddb %mm4,%mm3
+[ ]*[a-f0-9]+: f3 0f 58 dc addss %xmm4,%xmm3
+[ ]*[a-f0-9]+: f2 0f 58 dc addsd %xmm4,%xmm3
+[ ]*[a-f0-9]+: 66 0f d0 dc addsubpd %xmm4,%xmm3
+[ ]*[a-f0-9]+: 66 0f 38 01 dc phaddw %xmm4,%xmm3
+[ ]*[a-f0-9]+: 66 0f 38 41 d9 phminposuw %xmm1,%xmm3
+[ ]*[a-f0-9]+: f2 0f 38 f1 d9 crc32l %ecx,%ebx
+[ ]*[a-f0-9]+: c5 fc 77 vzeroall
+[ ]*[a-f0-9]+: 0f 01 c4 vmxoff
+[ ]*[a-f0-9]+: 0f 37 getsec
+[ ]*[a-f0-9]+: 0f 01 d0 xgetbv
+[ ]*[a-f0-9]+: 0f ae 31 xsaveopt \(%rcx\)
+[ ]*[a-f0-9]+: 66 0f 38 dc 01 aesenc \(%rcx\),%xmm0
+[ ]*[a-f0-9]+: 66 0f 3a 44 c1 08 pclmulqdq \$0x8,%xmm1,%xmm0
+[ ]*[a-f0-9]+: c4 e2 79 dc 11 vaesenc \(%rcx\),%xmm0,%xmm2
+[ ]*[a-f0-9]+: c4 e3 49 44 d4 08 vpclmulqdq \$0x8,%xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 c9 98 d4 vfmadd132pd %xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: 0f 38 f0 19 movbe \(%rcx\),%ebx
+[ ]*[a-f0-9]+: 66 0f 38 80 19 invept \(%rcx\),%rbx
+[ ]*[a-f0-9]+: 0f 01 f9 rdtscp
+[ ]*[a-f0-9]+: 0f 0f dc b7 pmulhrw %mm4,%mm3
+[ ]*[a-f0-9]+: 0f 0f dc bb pswapd %mm4,%mm3
+[ ]*[a-f0-9]+: f2 0f 79 ca insertq %xmm2,%xmm1
+[ ]*[a-f0-9]+: 0f 01 da vmload
+[ ]*[a-f0-9]+: f3 0f bd d9 lzcnt %ecx,%ebx
+[ ]*[a-f0-9]+: 0f a7 c0 xstore-rng
+#pass
diff --git a/gas/testsuite/gas/i386/x86-64-arch-2.s b/gas/testsuite/gas/i386/x86-64-arch-2.s
index 5da17f6..8da9b0b 100644
--- a/gas/testsuite/gas/i386/x86-64-arch-2.s
+++ b/gas/testsuite/gas/i386/x86-64-arch-2.s
@@ -54,7 +54,7 @@ pswapd %mm4,%mm3
insertq %xmm2,%xmm1
# SVME
vmload
-# ABM
+# ABM/LZCNT
lzcnt %ecx,%ebx
# PadLock
xstorerng
diff --git a/gas/testsuite/gas/i386/x86-64-avx-gather-intel.d b/gas/testsuite/gas/i386/x86-64-avx-gather-intel.d
new file mode 100644
index 0000000..1813630
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-avx-gather-intel.d
@@ -0,0 +1,108 @@
+#as:
+#objdump: -dwMintel
+#name: x86-64 AVX GATHER insns (Intel disassembly)
+#source: x86-64-avx-gather.s
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c4 e2 e9 92 4c 7d 00 vgatherdpd xmm1,QWORD PTR \[rbp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 e9 93 4c 7d 00 vgatherqpd xmm1,QWORD PTR \[rbp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 ed 92 4c 7d 00 vgatherdpd ymm1,QWORD PTR \[rbp\+xmm7\*2\+0x0\],ymm2
+[ ]*[a-f0-9]+: c4 e2 ed 93 4c 7d 00 vgatherqpd ymm1,QWORD PTR \[rbp\+ymm7\*2\+0x0\],ymm2
+[ ]*[a-f0-9]+: c4 02 99 92 5c 75 00 vgatherdpd xmm11,QWORD PTR \[r13\+xmm14\*2\+0x0\],xmm12
+[ ]*[a-f0-9]+: c4 02 99 93 5c 75 00 vgatherqpd xmm11,QWORD PTR \[r13\+xmm14\*2\+0x0\],xmm12
+[ ]*[a-f0-9]+: c4 02 9d 92 5c 75 00 vgatherdpd ymm11,QWORD PTR \[r13\+xmm14\*2\+0x0\],ymm12
+[ ]*[a-f0-9]+: c4 02 9d 93 5c 75 00 vgatherqpd ymm11,QWORD PTR \[r13\+ymm14\*2\+0x0\],ymm12
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 08 00 00 00 vgatherdpd ymm6,QWORD PTR \[xmm4\*1\+0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 f8 ff ff ff vgatherdpd ymm6,QWORD PTR \[xmm4\*1-0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 00 00 00 00 vgatherdpd ymm6,QWORD PTR \[xmm4\*1\+0x0\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 98 02 00 00 vgatherdpd ymm6,QWORD PTR \[xmm4\*1\+0x298\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 08 00 00 00 vgatherdpd ymm6,QWORD PTR \[xmm4\*8\+0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 f8 ff ff ff vgatherdpd ymm6,QWORD PTR \[xmm4\*8-0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 00 00 00 00 vgatherdpd ymm6,QWORD PTR \[xmm4\*8\+0x0\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 98 02 00 00 vgatherdpd ymm6,QWORD PTR \[xmm4\*8\+0x298\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 35 08 00 00 00 vgatherdpd ymm6,QWORD PTR \[xmm14\*1\+0x8\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 35 f8 ff ff ff vgatherdpd ymm6,QWORD PTR \[xmm14\*1-0x8\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 35 00 00 00 00 vgatherdpd ymm6,QWORD PTR \[xmm14\*1\+0x0\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 35 98 02 00 00 vgatherdpd ymm6,QWORD PTR \[xmm14\*1\+0x298\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 f5 08 00 00 00 vgatherdpd ymm6,QWORD PTR \[xmm14\*8\+0x8\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 f5 f8 ff ff ff vgatherdpd ymm6,QWORD PTR \[xmm14\*8-0x8\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 f5 00 00 00 00 vgatherdpd ymm6,QWORD PTR \[xmm14\*8\+0x0\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 f5 98 02 00 00 vgatherdpd ymm6,QWORD PTR \[xmm14\*8\+0x298\],ymm5
+[ ]*[a-f0-9]+: c4 e2 69 92 4c 7d 00 vgatherdps xmm1,DWORD PTR \[rbp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 69 93 4c 7d 00 vgatherqps xmm1,DWORD PTR \[rbp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 6d 92 4c 7d 00 vgatherdps ymm1,DWORD PTR \[rbp\+ymm7\*2\+0x0\],ymm2
+[ ]*[a-f0-9]+: c4 e2 6d 93 4c 7d 00 vgatherqps xmm1,DWORD PTR \[rbp\+ymm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 02 19 92 5c 75 00 vgatherdps xmm11,DWORD PTR \[r13\+xmm14\*2\+0x0\],xmm12
+[ ]*[a-f0-9]+: c4 02 19 93 5c 75 00 vgatherqps xmm11,DWORD PTR \[r13\+xmm14\*2\+0x0\],xmm12
+[ ]*[a-f0-9]+: c4 02 1d 92 5c 75 00 vgatherdps ymm11,DWORD PTR \[r13\+ymm14\*2\+0x0\],ymm12
+[ ]*[a-f0-9]+: c4 02 1d 93 5c 75 00 vgatherqps xmm11,DWORD PTR \[r13\+ymm14\*2\+0x0\],xmm12
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 08 00 00 00 vgatherdps xmm6,DWORD PTR \[xmm4\*1\+0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 f8 ff ff ff vgatherdps xmm6,DWORD PTR \[xmm4\*1-0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 00 00 00 00 vgatherdps xmm6,DWORD PTR \[xmm4\*1\+0x0\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 98 02 00 00 vgatherdps xmm6,DWORD PTR \[xmm4\*1\+0x298\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 08 00 00 00 vgatherdps xmm6,DWORD PTR \[xmm4\*8\+0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 f8 ff ff ff vgatherdps xmm6,DWORD PTR \[xmm4\*8-0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 00 00 00 00 vgatherdps xmm6,DWORD PTR \[xmm4\*8\+0x0\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 98 02 00 00 vgatherdps xmm6,DWORD PTR \[xmm4\*8\+0x298\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 92 34 35 08 00 00 00 vgatherdps xmm6,DWORD PTR \[xmm14\*1\+0x8\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 92 34 35 f8 ff ff ff vgatherdps xmm6,DWORD PTR \[xmm14\*1-0x8\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 92 34 35 00 00 00 00 vgatherdps xmm6,DWORD PTR \[xmm14\*1\+0x0\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 92 34 35 98 02 00 00 vgatherdps xmm6,DWORD PTR \[xmm14\*1\+0x298\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 92 34 f5 08 00 00 00 vgatherdps xmm6,DWORD PTR \[xmm14\*8\+0x8\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 92 34 f5 f8 ff ff ff vgatherdps xmm6,DWORD PTR \[xmm14\*8-0x8\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 92 34 f5 00 00 00 00 vgatherdps xmm6,DWORD PTR \[xmm14\*8\+0x0\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 92 34 f5 98 02 00 00 vgatherdps xmm6,DWORD PTR \[xmm14\*8\+0x298\],xmm5
+[ ]*[a-f0-9]+: c4 e2 69 90 4c 7d 00 vpgatherdd xmm1,DWORD PTR \[rbp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 69 91 4c 7d 00 vpgatherqd xmm1,DWORD PTR \[rbp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 6d 90 4c 7d 00 vpgatherdd ymm1,DWORD PTR \[rbp\+ymm7\*2\+0x0\],ymm2
+[ ]*[a-f0-9]+: c4 e2 6d 91 4c 7d 00 vpgatherqd xmm1,DWORD PTR \[rbp\+ymm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 02 19 90 5c 75 00 vpgatherdd xmm11,DWORD PTR \[r13\+xmm14\*2\+0x0\],xmm12
+[ ]*[a-f0-9]+: c4 02 19 91 5c 75 00 vpgatherqd xmm11,DWORD PTR \[r13\+xmm14\*2\+0x0\],xmm12
+[ ]*[a-f0-9]+: c4 02 1d 90 5c 75 00 vpgatherdd ymm11,DWORD PTR \[r13\+ymm14\*2\+0x0\],ymm12
+[ ]*[a-f0-9]+: c4 02 1d 91 5c 75 00 vpgatherqd xmm11,DWORD PTR \[r13\+ymm14\*2\+0x0\],xmm12
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 08 00 00 00 vpgatherdd xmm6,DWORD PTR \[xmm4\*1\+0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 f8 ff ff ff vpgatherdd xmm6,DWORD PTR \[xmm4\*1-0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 00 00 00 00 vpgatherdd xmm6,DWORD PTR \[xmm4\*1\+0x0\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 98 02 00 00 vpgatherdd xmm6,DWORD PTR \[xmm4\*1\+0x298\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 08 00 00 00 vpgatherdd xmm6,DWORD PTR \[xmm4\*8\+0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 f8 ff ff ff vpgatherdd xmm6,DWORD PTR \[xmm4\*8-0x8\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 00 00 00 00 vpgatherdd xmm6,DWORD PTR \[xmm4\*8\+0x0\],xmm5
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 98 02 00 00 vpgatherdd xmm6,DWORD PTR \[xmm4\*8\+0x298\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 90 34 35 08 00 00 00 vpgatherdd xmm6,DWORD PTR \[xmm14\*1\+0x8\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 90 34 35 f8 ff ff ff vpgatherdd xmm6,DWORD PTR \[xmm14\*1-0x8\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 90 34 35 00 00 00 00 vpgatherdd xmm6,DWORD PTR \[xmm14\*1\+0x0\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 90 34 35 98 02 00 00 vpgatherdd xmm6,DWORD PTR \[xmm14\*1\+0x298\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 90 34 f5 08 00 00 00 vpgatherdd xmm6,DWORD PTR \[xmm14\*8\+0x8\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 90 34 f5 f8 ff ff ff vpgatherdd xmm6,DWORD PTR \[xmm14\*8-0x8\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 90 34 f5 00 00 00 00 vpgatherdd xmm6,DWORD PTR \[xmm14\*8\+0x0\],xmm5
+[ ]*[a-f0-9]+: c4 a2 51 90 34 f5 98 02 00 00 vpgatherdd xmm6,DWORD PTR \[xmm14\*8\+0x298\],xmm5
+[ ]*[a-f0-9]+: c4 e2 e9 90 4c 7d 00 vpgatherdq xmm1,QWORD PTR \[rbp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 e9 91 4c 7d 00 vpgatherqq xmm1,QWORD PTR \[rbp\+xmm7\*2\+0x0\],xmm2
+[ ]*[a-f0-9]+: c4 e2 ed 90 4c 7d 00 vpgatherdq ymm1,QWORD PTR \[rbp\+xmm7\*2\+0x0\],ymm2
+[ ]*[a-f0-9]+: c4 e2 ed 91 4c 7d 00 vpgatherqq ymm1,QWORD PTR \[rbp\+ymm7\*2\+0x0\],ymm2
+[ ]*[a-f0-9]+: c4 02 99 90 5c 75 00 vpgatherdq xmm11,QWORD PTR \[r13\+xmm14\*2\+0x0\],xmm12
+[ ]*[a-f0-9]+: c4 02 99 91 5c 75 00 vpgatherqq xmm11,QWORD PTR \[r13\+xmm14\*2\+0x0\],xmm12
+[ ]*[a-f0-9]+: c4 02 9d 90 5c 75 00 vpgatherdq ymm11,QWORD PTR \[r13\+xmm14\*2\+0x0\],ymm12
+[ ]*[a-f0-9]+: c4 02 9d 91 5c 75 00 vpgatherqq ymm11,QWORD PTR \[r13\+ymm14\*2\+0x0\],ymm12
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 08 00 00 00 vpgatherdq ymm6,QWORD PTR \[xmm4\*1\+0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 f8 ff ff ff vpgatherdq ymm6,QWORD PTR \[xmm4\*1-0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 00 00 00 00 vpgatherdq ymm6,QWORD PTR \[xmm4\*1\+0x0\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 98 02 00 00 vpgatherdq ymm6,QWORD PTR \[xmm4\*1\+0x298\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 08 00 00 00 vpgatherdq ymm6,QWORD PTR \[xmm4\*8\+0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 f8 ff ff ff vpgatherdq ymm6,QWORD PTR \[xmm4\*8-0x8\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 00 00 00 00 vpgatherdq ymm6,QWORD PTR \[xmm4\*8\+0x0\],ymm5
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 98 02 00 00 vpgatherdq ymm6,QWORD PTR \[xmm4\*8\+0x298\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 35 08 00 00 00 vpgatherdq ymm6,QWORD PTR \[xmm14\*1\+0x8\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 35 f8 ff ff ff vpgatherdq ymm6,QWORD PTR \[xmm14\*1-0x8\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 35 00 00 00 00 vpgatherdq ymm6,QWORD PTR \[xmm14\*1\+0x0\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 35 98 02 00 00 vpgatherdq ymm6,QWORD PTR \[xmm14\*1\+0x298\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 f5 08 00 00 00 vpgatherdq ymm6,QWORD PTR \[xmm14\*8\+0x8\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 f5 f8 ff ff ff vpgatherdq ymm6,QWORD PTR \[xmm14\*8-0x8\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 f5 00 00 00 00 vpgatherdq ymm6,QWORD PTR \[xmm14\*8\+0x0\],ymm5
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 f5 98 02 00 00 vpgatherdq ymm6,QWORD PTR \[xmm14\*8\+0x298\],ymm5
+#pass
diff --git a/gas/testsuite/gas/i386/x86-64-avx-gather.d b/gas/testsuite/gas/i386/x86-64-avx-gather.d
new file mode 100644
index 0000000..c611dc9
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-avx-gather.d
@@ -0,0 +1,107 @@
+#as:
+#objdump: -dw
+#name: x86-64 AVX GATHER insns
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c4 e2 e9 92 4c 7d 00 vgatherdpd %xmm2,0x0\(%rbp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 e9 93 4c 7d 00 vgatherqpd %xmm2,0x0\(%rbp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 ed 92 4c 7d 00 vgatherdpd %ymm2,0x0\(%rbp,%xmm7,2\),%ymm1
+[ ]*[a-f0-9]+: c4 e2 ed 93 4c 7d 00 vgatherqpd %ymm2,0x0\(%rbp,%ymm7,2\),%ymm1
+[ ]*[a-f0-9]+: c4 02 99 92 5c 75 00 vgatherdpd %xmm12,0x0\(%r13,%xmm14,2\),%xmm11
+[ ]*[a-f0-9]+: c4 02 99 93 5c 75 00 vgatherqpd %xmm12,0x0\(%r13,%xmm14,2\),%xmm11
+[ ]*[a-f0-9]+: c4 02 9d 92 5c 75 00 vgatherdpd %ymm12,0x0\(%r13,%xmm14,2\),%ymm11
+[ ]*[a-f0-9]+: c4 02 9d 93 5c 75 00 vgatherqpd %ymm12,0x0\(%r13,%ymm14,2\),%ymm11
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 08 00 00 00 vgatherdpd %ymm5,0x8\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 f8 ff ff ff vgatherdpd %ymm5,-0x8\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 00 00 00 00 vgatherdpd %ymm5,0x0\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 25 98 02 00 00 vgatherdpd %ymm5,0x298\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 08 00 00 00 vgatherdpd %ymm5,0x8\(,%xmm4,8\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 f8 ff ff ff vgatherdpd %ymm5,-0x8\(,%xmm4,8\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 00 00 00 00 vgatherdpd %ymm5,0x0\(,%xmm4,8\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 92 34 e5 98 02 00 00 vgatherdpd %ymm5,0x298\(,%xmm4,8\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 35 08 00 00 00 vgatherdpd %ymm5,0x8\(,%xmm14,1\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 35 f8 ff ff ff vgatherdpd %ymm5,-0x8\(,%xmm14,1\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 35 00 00 00 00 vgatherdpd %ymm5,0x0\(,%xmm14,1\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 35 98 02 00 00 vgatherdpd %ymm5,0x298\(,%xmm14,1\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 f5 08 00 00 00 vgatherdpd %ymm5,0x8\(,%xmm14,8\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 f5 f8 ff ff ff vgatherdpd %ymm5,-0x8\(,%xmm14,8\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 f5 00 00 00 00 vgatherdpd %ymm5,0x0\(,%xmm14,8\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 92 34 f5 98 02 00 00 vgatherdpd %ymm5,0x298\(,%xmm14,8\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 69 92 4c 7d 00 vgatherdps %xmm2,0x0\(%rbp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 69 93 4c 7d 00 vgatherqps %xmm2,0x0\(%rbp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 6d 92 4c 7d 00 vgatherdps %ymm2,0x0\(%rbp,%ymm7,2\),%ymm1
+[ ]*[a-f0-9]+: c4 e2 6d 93 4c 7d 00 vgatherqps %xmm2,0x0\(%rbp,%ymm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 02 19 92 5c 75 00 vgatherdps %xmm12,0x0\(%r13,%xmm14,2\),%xmm11
+[ ]*[a-f0-9]+: c4 02 19 93 5c 75 00 vgatherqps %xmm12,0x0\(%r13,%xmm14,2\),%xmm11
+[ ]*[a-f0-9]+: c4 02 1d 92 5c 75 00 vgatherdps %ymm12,0x0\(%r13,%ymm14,2\),%ymm11
+[ ]*[a-f0-9]+: c4 02 1d 93 5c 75 00 vgatherqps %xmm12,0x0\(%r13,%ymm14,2\),%xmm11
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 08 00 00 00 vgatherdps %xmm5,0x8\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 f8 ff ff ff vgatherdps %xmm5,-0x8\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 00 00 00 00 vgatherdps %xmm5,0x0\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 92 34 25 98 02 00 00 vgatherdps %xmm5,0x298\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 08 00 00 00 vgatherdps %xmm5,0x8\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 f8 ff ff ff vgatherdps %xmm5,-0x8\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 00 00 00 00 vgatherdps %xmm5,0x0\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 92 34 e5 98 02 00 00 vgatherdps %xmm5,0x298\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 92 34 35 08 00 00 00 vgatherdps %xmm5,0x8\(,%xmm14,1\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 92 34 35 f8 ff ff ff vgatherdps %xmm5,-0x8\(,%xmm14,1\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 92 34 35 00 00 00 00 vgatherdps %xmm5,0x0\(,%xmm14,1\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 92 34 35 98 02 00 00 vgatherdps %xmm5,0x298\(,%xmm14,1\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 92 34 f5 08 00 00 00 vgatherdps %xmm5,0x8\(,%xmm14,8\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 92 34 f5 f8 ff ff ff vgatherdps %xmm5,-0x8\(,%xmm14,8\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 92 34 f5 00 00 00 00 vgatherdps %xmm5,0x0\(,%xmm14,8\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 92 34 f5 98 02 00 00 vgatherdps %xmm5,0x298\(,%xmm14,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 69 90 4c 7d 00 vpgatherdd %xmm2,0x0\(%rbp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 69 91 4c 7d 00 vpgatherqd %xmm2,0x0\(%rbp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 6d 90 4c 7d 00 vpgatherdd %ymm2,0x0\(%rbp,%ymm7,2\),%ymm1
+[ ]*[a-f0-9]+: c4 e2 6d 91 4c 7d 00 vpgatherqd %xmm2,0x0\(%rbp,%ymm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 02 19 90 5c 75 00 vpgatherdd %xmm12,0x0\(%r13,%xmm14,2\),%xmm11
+[ ]*[a-f0-9]+: c4 02 19 91 5c 75 00 vpgatherqd %xmm12,0x0\(%r13,%xmm14,2\),%xmm11
+[ ]*[a-f0-9]+: c4 02 1d 90 5c 75 00 vpgatherdd %ymm12,0x0\(%r13,%ymm14,2\),%ymm11
+[ ]*[a-f0-9]+: c4 02 1d 91 5c 75 00 vpgatherqd %xmm12,0x0\(%r13,%ymm14,2\),%xmm11
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 08 00 00 00 vpgatherdd %xmm5,0x8\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 f8 ff ff ff vpgatherdd %xmm5,-0x8\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 00 00 00 00 vpgatherdd %xmm5,0x0\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 90 34 25 98 02 00 00 vpgatherdd %xmm5,0x298\(,%xmm4,1\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 08 00 00 00 vpgatherdd %xmm5,0x8\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 f8 ff ff ff vpgatherdd %xmm5,-0x8\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 00 00 00 00 vpgatherdd %xmm5,0x0\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 51 90 34 e5 98 02 00 00 vpgatherdd %xmm5,0x298\(,%xmm4,8\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 90 34 35 08 00 00 00 vpgatherdd %xmm5,0x8\(,%xmm14,1\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 90 34 35 f8 ff ff ff vpgatherdd %xmm5,-0x8\(,%xmm14,1\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 90 34 35 00 00 00 00 vpgatherdd %xmm5,0x0\(,%xmm14,1\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 90 34 35 98 02 00 00 vpgatherdd %xmm5,0x298\(,%xmm14,1\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 90 34 f5 08 00 00 00 vpgatherdd %xmm5,0x8\(,%xmm14,8\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 90 34 f5 f8 ff ff ff vpgatherdd %xmm5,-0x8\(,%xmm14,8\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 90 34 f5 00 00 00 00 vpgatherdd %xmm5,0x0\(,%xmm14,8\),%xmm6
+[ ]*[a-f0-9]+: c4 a2 51 90 34 f5 98 02 00 00 vpgatherdd %xmm5,0x298\(,%xmm14,8\),%xmm6
+[ ]*[a-f0-9]+: c4 e2 e9 90 4c 7d 00 vpgatherdq %xmm2,0x0\(%rbp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 e9 91 4c 7d 00 vpgatherqq %xmm2,0x0\(%rbp,%xmm7,2\),%xmm1
+[ ]*[a-f0-9]+: c4 e2 ed 90 4c 7d 00 vpgatherdq %ymm2,0x0\(%rbp,%xmm7,2\),%ymm1
+[ ]*[a-f0-9]+: c4 e2 ed 91 4c 7d 00 vpgatherqq %ymm2,0x0\(%rbp,%ymm7,2\),%ymm1
+[ ]*[a-f0-9]+: c4 02 99 90 5c 75 00 vpgatherdq %xmm12,0x0\(%r13,%xmm14,2\),%xmm11
+[ ]*[a-f0-9]+: c4 02 99 91 5c 75 00 vpgatherqq %xmm12,0x0\(%r13,%xmm14,2\),%xmm11
+[ ]*[a-f0-9]+: c4 02 9d 90 5c 75 00 vpgatherdq %ymm12,0x0\(%r13,%xmm14,2\),%ymm11
+[ ]*[a-f0-9]+: c4 02 9d 91 5c 75 00 vpgatherqq %ymm12,0x0\(%r13,%ymm14,2\),%ymm11
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 08 00 00 00 vpgatherdq %ymm5,0x8\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 f8 ff ff ff vpgatherdq %ymm5,-0x8\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 00 00 00 00 vpgatherdq %ymm5,0x0\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 25 98 02 00 00 vpgatherdq %ymm5,0x298\(,%xmm4,1\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 08 00 00 00 vpgatherdq %ymm5,0x8\(,%xmm4,8\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 f8 ff ff ff vpgatherdq %ymm5,-0x8\(,%xmm4,8\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 00 00 00 00 vpgatherdq %ymm5,0x0\(,%xmm4,8\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 d5 90 34 e5 98 02 00 00 vpgatherdq %ymm5,0x298\(,%xmm4,8\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 35 08 00 00 00 vpgatherdq %ymm5,0x8\(,%xmm14,1\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 35 f8 ff ff ff vpgatherdq %ymm5,-0x8\(,%xmm14,1\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 35 00 00 00 00 vpgatherdq %ymm5,0x0\(,%xmm14,1\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 35 98 02 00 00 vpgatherdq %ymm5,0x298\(,%xmm14,1\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 f5 08 00 00 00 vpgatherdq %ymm5,0x8\(,%xmm14,8\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 f5 f8 ff ff ff vpgatherdq %ymm5,-0x8\(,%xmm14,8\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 f5 00 00 00 00 vpgatherdq %ymm5,0x0\(,%xmm14,8\),%ymm6
+[ ]*[a-f0-9]+: c4 a2 d5 90 34 f5 98 02 00 00 vpgatherdq %ymm5,0x298\(,%xmm14,8\),%ymm6
+#pass
diff --git a/gas/testsuite/gas/i386/x86-64-avx-gather.s b/gas/testsuite/gas/i386/x86-64-avx-gather.s
new file mode 100644
index 0000000..b4f8a29
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-avx-gather.s
@@ -0,0 +1,213 @@
+# Check 64bit AVX gather instructions
+
+ .text
+_start:
+ vgatherdpd %xmm2, (%rbp, %xmm7, 2),%xmm1
+ vgatherqpd %xmm2, (%rbp, %xmm7, 2),%xmm1
+ vgatherdpd %ymm2, (%rbp, %xmm7, 2),%ymm1
+ vgatherqpd %ymm2, (%rbp, %ymm7, 2),%ymm1
+
+ vgatherdpd %xmm12, (%r13, %xmm14, 2),%xmm11
+ vgatherqpd %xmm12, (%r13, %xmm14, 2),%xmm11
+ vgatherdpd %ymm12, (%r13, %xmm14, 2),%ymm11
+ vgatherqpd %ymm12, (%r13, %ymm14, 2),%ymm11
+
+ vgatherdpd %ymm5,0x8(,%xmm4,1),%ymm6
+ vgatherdpd %ymm5,-0x8(,%xmm4,1),%ymm6
+ vgatherdpd %ymm5,(,%xmm4,1),%ymm6
+ vgatherdpd %ymm5,0x298(,%xmm4,1),%ymm6
+ vgatherdpd %ymm5,0x8(,%xmm4,8),%ymm6
+ vgatherdpd %ymm5,-0x8(,%xmm4,8),%ymm6
+ vgatherdpd %ymm5,(,%xmm4,8),%ymm6
+ vgatherdpd %ymm5,0x298(,%xmm4,8),%ymm6
+
+ vgatherdpd %ymm5,0x8(,%xmm14,1),%ymm6
+ vgatherdpd %ymm5,-0x8(,%xmm14,1),%ymm6
+ vgatherdpd %ymm5,(,%xmm14,1),%ymm6
+ vgatherdpd %ymm5,0x298(,%xmm14,1),%ymm6
+ vgatherdpd %ymm5,0x8(,%xmm14,8),%ymm6
+ vgatherdpd %ymm5,-0x8(,%xmm14,8),%ymm6
+ vgatherdpd %ymm5,(,%xmm14,8),%ymm6
+ vgatherdpd %ymm5,0x298(,%xmm14,8),%ymm6
+
+ vgatherdps %xmm2, (%rbp, %xmm7, 2),%xmm1
+ vgatherqps %xmm2, (%rbp, %xmm7, 2),%xmm1
+ vgatherdps %ymm2, (%rbp, %ymm7, 2),%ymm1
+ vgatherqps %xmm2, (%rbp, %ymm7, 2),%xmm1
+
+ vgatherdps %xmm12, (%r13, %xmm14, 2),%xmm11
+ vgatherqps %xmm12, (%r13, %xmm14, 2),%xmm11
+ vgatherdps %ymm12, (%r13, %ymm14, 2),%ymm11
+ vgatherqps %xmm12, (%r13, %ymm14, 2),%xmm11
+
+ vgatherdps %xmm5,0x8(,%xmm4,1),%xmm6
+ vgatherdps %xmm5,-0x8(,%xmm4,1),%xmm6
+ vgatherdps %xmm5,(,%xmm4,1),%xmm6
+ vgatherdps %xmm5,0x298(,%xmm4,1),%xmm6
+ vgatherdps %xmm5,0x8(,%xmm4,8),%xmm6
+ vgatherdps %xmm5,-0x8(,%xmm4,8),%xmm6
+ vgatherdps %xmm5,(,%xmm4,8),%xmm6
+ vgatherdps %xmm5,0x298(,%xmm4,8),%xmm6
+
+ vgatherdps %xmm5,0x8(,%xmm14,1),%xmm6
+ vgatherdps %xmm5,-0x8(,%xmm14,1),%xmm6
+ vgatherdps %xmm5,(,%xmm14,1),%xmm6
+ vgatherdps %xmm5,0x298(,%xmm14,1),%xmm6
+ vgatherdps %xmm5,0x8(,%xmm14,8),%xmm6
+ vgatherdps %xmm5,-0x8(,%xmm14,8),%xmm6
+ vgatherdps %xmm5,(,%xmm14,8),%xmm6
+ vgatherdps %xmm5,0x298(,%xmm14,8),%xmm6
+
+ vpgatherdd %xmm2, (%rbp, %xmm7, 2),%xmm1
+ vpgatherqd %xmm2, (%rbp, %xmm7, 2),%xmm1
+ vpgatherdd %ymm2, (%rbp, %ymm7, 2),%ymm1
+ vpgatherqd %xmm2, (%rbp, %ymm7, 2),%xmm1
+
+ vpgatherdd %xmm12, (%r13, %xmm14, 2),%xmm11
+ vpgatherqd %xmm12, (%r13, %xmm14, 2),%xmm11
+ vpgatherdd %ymm12, (%r13, %ymm14, 2),%ymm11
+ vpgatherqd %xmm12, (%r13, %ymm14, 2),%xmm11
+
+ vpgatherdd %xmm5,0x8(,%xmm4,1),%xmm6
+ vpgatherdd %xmm5,-0x8(,%xmm4,1),%xmm6
+ vpgatherdd %xmm5,(,%xmm4,1),%xmm6
+ vpgatherdd %xmm5,0x298(,%xmm4,1),%xmm6
+ vpgatherdd %xmm5,0x8(,%xmm4,8),%xmm6
+ vpgatherdd %xmm5,-0x8(,%xmm4,8),%xmm6
+ vpgatherdd %xmm5,(,%xmm4,8),%xmm6
+ vpgatherdd %xmm5,0x298(,%xmm4,8),%xmm6
+
+ vpgatherdd %xmm5,0x8(,%xmm14,1),%xmm6
+ vpgatherdd %xmm5,-0x8(,%xmm14,1),%xmm6
+ vpgatherdd %xmm5,(,%xmm14,1),%xmm6
+ vpgatherdd %xmm5,0x298(,%xmm14,1),%xmm6
+ vpgatherdd %xmm5,0x8(,%xmm14,8),%xmm6
+ vpgatherdd %xmm5,-0x8(,%xmm14,8),%xmm6
+ vpgatherdd %xmm5,(,%xmm14,8),%xmm6
+ vpgatherdd %xmm5,0x298(,%xmm14,8),%xmm6
+
+ vpgatherdq %xmm2, (%rbp, %xmm7, 2),%xmm1
+ vpgatherqq %xmm2, (%rbp, %xmm7, 2),%xmm1
+ vpgatherdq %ymm2, (%rbp, %xmm7, 2),%ymm1
+ vpgatherqq %ymm2, (%rbp, %ymm7, 2),%ymm1
+
+ vpgatherdq %xmm12, (%r13, %xmm14, 2),%xmm11
+ vpgatherqq %xmm12, (%r13, %xmm14, 2),%xmm11
+ vpgatherdq %ymm12, (%r13, %xmm14, 2),%ymm11
+ vpgatherqq %ymm12, (%r13, %ymm14, 2),%ymm11
+
+ vpgatherdq %ymm5,0x8(,%xmm4,1),%ymm6
+ vpgatherdq %ymm5,-0x8(,%xmm4,1),%ymm6
+ vpgatherdq %ymm5,(,%xmm4,1),%ymm6
+ vpgatherdq %ymm5,0x298(,%xmm4,1),%ymm6
+ vpgatherdq %ymm5,0x8(,%xmm4,8),%ymm6
+ vpgatherdq %ymm5,-0x8(,%xmm4,8),%ymm6
+ vpgatherdq %ymm5,(,%xmm4,8),%ymm6
+ vpgatherdq %ymm5,0x298(,%xmm4,8),%ymm6
+
+ vpgatherdq %ymm5,0x8(,%xmm14,1),%ymm6
+ vpgatherdq %ymm5,-0x8(,%xmm14,1),%ymm6
+ vpgatherdq %ymm5,(,%xmm14,1),%ymm6
+ vpgatherdq %ymm5,0x298(,%xmm14,1),%ymm6
+ vpgatherdq %ymm5,0x8(,%xmm14,8),%ymm6
+ vpgatherdq %ymm5,-0x8(,%xmm14,8),%ymm6
+ vpgatherdq %ymm5,(,%xmm14,8),%ymm6
+ vpgatherdq %ymm5,0x298(,%xmm14,8),%ymm6
+
+ .intel_syntax noprefix
+vgatherdpd xmm1,QWORD PTR [rbp+xmm7*2+0x0],xmm2
+vgatherqpd xmm1,QWORD PTR [rbp+xmm7*2+0x0],xmm2
+vgatherdpd ymm1,QWORD PTR [rbp+xmm7*2+0x0],ymm2
+vgatherqpd ymm1,QWORD PTR [rbp+ymm7*2+0x0],ymm2
+vgatherdpd xmm11,QWORD PTR [r13+xmm14*2+0x0],xmm12
+vgatherqpd xmm11,QWORD PTR [r13+xmm14*2+0x0],xmm12
+vgatherdpd ymm11,QWORD PTR [r13+xmm14*2+0x0],ymm12
+vgatherqpd ymm11,QWORD PTR [r13+ymm14*2+0x0],ymm12
+vgatherdpd ymm6,QWORD PTR [xmm4*1+0x8],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm4*1-0x8],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm4*1+0x0],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm4*1+0x298],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm4*8+0x8],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm4*8-0x8],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm4*8+0x0],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm4*8+0x298],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm14*1+0x8],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm14*1-0x8],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm14*1+0x0],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm14*1+0x298],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm14*8+0x8],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm14*8-0x8],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm14*8+0x0],ymm5
+vgatherdpd ymm6,QWORD PTR [xmm14*8+0x298],ymm5
+vgatherdps xmm1,DWORD PTR [rbp+xmm7*2+0x0],xmm2
+vgatherqps xmm1,DWORD PTR [rbp+xmm7*2+0x0],xmm2
+vgatherdps ymm1,DWORD PTR [rbp+ymm7*2+0x0],ymm2
+vgatherqps xmm1,DWORD PTR [rbp+ymm7*2+0x0],xmm2
+vgatherdps xmm11,DWORD PTR [r13+xmm14*2+0x0],xmm12
+vgatherqps xmm11,DWORD PTR [r13+xmm14*2+0x0],xmm12
+vgatherdps ymm11,DWORD PTR [r13+ymm14*2+0x0],ymm12
+vgatherqps xmm11,DWORD PTR [r13+ymm14*2+0x0],xmm12
+vgatherdps xmm6,DWORD PTR [xmm4*1+0x8],xmm5
+vgatherdps xmm6,DWORD PTR [xmm4*1-0x8],xmm5
+vgatherdps xmm6,DWORD PTR [xmm4*1+0x0],xmm5
+vgatherdps xmm6,DWORD PTR [xmm4*1+0x298],xmm5
+vgatherdps xmm6,DWORD PTR [xmm4*8+0x8],xmm5
+vgatherdps xmm6,DWORD PTR [xmm4*8-0x8],xmm5
+vgatherdps xmm6,DWORD PTR [xmm4*8+0x0],xmm5
+vgatherdps xmm6,DWORD PTR [xmm4*8+0x298],xmm5
+vgatherdps xmm6,DWORD PTR [xmm14*1+0x8],xmm5
+vgatherdps xmm6,DWORD PTR [xmm14*1-0x8],xmm5
+vgatherdps xmm6,DWORD PTR [xmm14*1+0x0],xmm5
+vgatherdps xmm6,DWORD PTR [xmm14*1+0x298],xmm5
+vgatherdps xmm6,DWORD PTR [xmm14*8+0x8],xmm5
+vgatherdps xmm6,DWORD PTR [xmm14*8-0x8],xmm5
+vgatherdps xmm6,DWORD PTR [xmm14*8+0x0],xmm5
+vgatherdps xmm6,DWORD PTR [xmm14*8+0x298],xmm5
+vpgatherdd xmm1,DWORD PTR [rbp+xmm7*2+0x0],xmm2
+vpgatherqd xmm1,DWORD PTR [rbp+xmm7*2+0x0],xmm2
+vpgatherdd ymm1,DWORD PTR [rbp+ymm7*2+0x0],ymm2
+vpgatherqd xmm1,DWORD PTR [rbp+ymm7*2+0x0],xmm2
+vpgatherdd xmm11,DWORD PTR [r13+xmm14*2+0x0],xmm12
+vpgatherqd xmm11,DWORD PTR [r13+xmm14*2+0x0],xmm12
+vpgatherdd ymm11,DWORD PTR [r13+ymm14*2+0x0],ymm12
+vpgatherqd xmm11,DWORD PTR [r13+ymm14*2+0x0],xmm12
+vpgatherdd xmm6,DWORD PTR [xmm4*1+0x8],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm4*1-0x8],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm4*1+0x0],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm4*1+0x298],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm4*8+0x8],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm4*8-0x8],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm4*8+0x0],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm4*8+0x298],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm14*1+0x8],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm14*1-0x8],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm14*1+0x0],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm14*1+0x298],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm14*8+0x8],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm14*8-0x8],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm14*8+0x0],xmm5
+vpgatherdd xmm6,DWORD PTR [xmm14*8+0x298],xmm5
+vpgatherdq xmm1,QWORD PTR [rbp+xmm7*2+0x0],xmm2
+vpgatherqq xmm1,QWORD PTR [rbp+xmm7*2+0x0],xmm2
+vpgatherdq ymm1,QWORD PTR [rbp+xmm7*2+0x0],ymm2
+vpgatherqq ymm1,QWORD PTR [rbp+ymm7*2+0x0],ymm2
+vpgatherdq xmm11,QWORD PTR [r13+xmm14*2+0x0],xmm12
+vpgatherqq xmm11,QWORD PTR [r13+xmm14*2+0x0],xmm12
+vpgatherdq ymm11,QWORD PTR [r13+xmm14*2+0x0],ymm12
+vpgatherqq ymm11,QWORD PTR [r13+ymm14*2+0x0],ymm12
+vpgatherdq ymm6,QWORD PTR [xmm4*1+0x8],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm4*1-0x8],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm4*1+0x0],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm4*1+0x298],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm4*8+0x8],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm4*8-0x8],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm4*8+0x0],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm4*8+0x298],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm14*1+0x8],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm14*1-0x8],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm14*1+0x0],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm14*1+0x298],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm14*8+0x8],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm14*8-0x8],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm14*8+0x0],ymm5
+vpgatherdq ymm6,QWORD PTR [xmm14*8+0x298],ymm5
diff --git a/gas/testsuite/gas/i386/x86-64-avx2-intel.d b/gas/testsuite/gas/i386/x86-64-avx2-intel.d
new file mode 100644
index 0000000..d35f894
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-avx2-intel.d
@@ -0,0 +1,182 @@
+#objdump: -dwMintel
+#name: x86-64 AVX2 insns (Intel disassembly)
+#source: x86-64-avx2.s
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c4 e2 5d 8c 31 vpmaskmovd ymm6,ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 8e 21 vpmaskmovd YMMWORD PTR \[rcx\],ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 dd 8c 31 vpmaskmovq ymm6,ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 cd 8e 21 vpmaskmovq YMMWORD PTR \[rcx\],ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e3 fd 01 d6 07 vpermpd ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c4 e3 fd 01 31 07 vpermpd ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 fd 00 d6 07 vpermq ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c4 e3 fd 00 31 07 vpermq ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e2 4d 36 d4 vpermd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 36 11 vpermd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 16 d4 vpermps ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 16 11 vpermps ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 47 d4 vpsllvd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 47 11 vpsllvd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 cd 47 d4 vpsllvq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 cd 47 11 vpsllvq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 46 d4 vpsravd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 46 11 vpsravd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 45 d4 vpsrlvd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 45 11 vpsrlvd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 cd 45 d4 vpsrlvq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 cd 45 11 vpsrlvq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 2a 21 vmovntdqa ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 19 f4 vbroadcastsd ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 18 f4 vbroadcastss ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e3 4d 02 d4 07 vpblendd ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 02 11 07 vpblendd ymm2,ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 46 d4 07 vperm2i128 ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 46 11 07 vperm2i128 ymm2,ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 5d 38 f4 07 vinserti128 ymm6,ymm4,xmm4,0x7
+[ ]*[a-f0-9]+: c4 e3 5d 38 31 07 vinserti128 ymm6,ymm4,XMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e2 7d 5a 21 vbroadcasti128 ymm4,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 49 47 d4 vpsllvd xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 49 47 39 vpsllvd xmm7,xmm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 c9 47 d4 vpsllvq xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 c9 47 39 vpsllvq xmm7,xmm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 49 46 d4 vpsravd xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 49 46 39 vpsravd xmm7,xmm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 49 45 d4 vpsrlvd xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 49 45 39 vpsrlvd xmm7,xmm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 c9 45 d4 vpsrlvq xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 c9 45 39 vpsrlvq xmm7,xmm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 59 8c 31 vpmaskmovd xmm6,xmm4,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 d9 8c 31 vpmaskmovq xmm6,xmm4,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e3 7d 39 e6 07 vextracti128 xmm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 7d 39 21 07 vextracti128 XMMWORD PTR \[rcx\],ymm4,0x7
+[ ]*[a-f0-9]+: c4 e2 49 8e 21 vpmaskmovd XMMWORD PTR \[rcx\],xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 c9 8e 21 vpmaskmovq XMMWORD PTR \[rcx\],xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e3 49 02 d4 07 vpblendd xmm2,xmm6,xmm4,0x7
+[ ]*[a-f0-9]+: c4 e3 49 02 11 07 vpblendd xmm2,xmm6,XMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e2 79 59 f4 vpbroadcastq xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 59 21 vpbroadcastq xmm4,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 59 f4 vpbroadcastq ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 59 21 vpbroadcastq ymm4,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 58 e4 vpbroadcastd ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 58 21 vpbroadcastd ymm4,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 79 58 f4 vpbroadcastd xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 58 21 vpbroadcastd xmm4,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 79 79 f4 vpbroadcastw xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 79 21 vpbroadcastw xmm4,WORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 79 f4 vpbroadcastw ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 79 21 vpbroadcastw ymm4,WORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 79 78 f4 vpbroadcastb xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 78 21 vpbroadcastb xmm4,BYTE PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 78 f4 vpbroadcastb ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 78 21 vpbroadcastb ymm4,BYTE PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 79 18 f4 vbroadcastss xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 5d 8c 31 vpmaskmovd ymm6,ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 8e 21 vpmaskmovd YMMWORD PTR \[rcx\],ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 5d 8c 31 vpmaskmovd ymm6,ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 8e 21 vpmaskmovd YMMWORD PTR \[rcx\],ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 dd 8c 31 vpmaskmovq ymm6,ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 cd 8e 21 vpmaskmovq YMMWORD PTR \[rcx\],ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 dd 8c 31 vpmaskmovq ymm6,ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 cd 8e 21 vpmaskmovq YMMWORD PTR \[rcx\],ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e3 fd 01 d6 07 vpermpd ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c4 e3 fd 01 31 07 vpermpd ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 fd 01 31 07 vpermpd ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 fd 00 d6 07 vpermq ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c4 e3 fd 00 31 07 vpermq ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 fd 00 31 07 vpermq ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e2 4d 36 d4 vpermd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 36 11 vpermd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 36 11 vpermd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 16 d4 vpermps ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 16 11 vpermps ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 16 11 vpermps ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 47 d4 vpsllvd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 47 11 vpsllvd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 47 11 vpsllvd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 cd 47 d4 vpsllvq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 cd 47 11 vpsllvq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 cd 47 11 vpsllvq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 46 d4 vpsravd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 46 11 vpsravd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 46 11 vpsravd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 45 d4 vpsrlvd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 45 11 vpsrlvd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 45 11 vpsrlvd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 cd 45 d4 vpsrlvq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 cd 45 11 vpsrlvq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 cd 45 11 vpsrlvq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 2a 21 vmovntdqa ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 2a 21 vmovntdqa ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 19 f4 vbroadcastsd ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 18 f4 vbroadcastss ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e3 4d 02 d4 07 vpblendd ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 02 11 07 vpblendd ymm2,ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 02 11 07 vpblendd ymm2,ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 46 d4 07 vperm2i128 ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 46 11 07 vperm2i128 ymm2,ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 46 11 07 vperm2i128 ymm2,ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 5d 38 f4 07 vinserti128 ymm6,ymm4,xmm4,0x7
+[ ]*[a-f0-9]+: c4 e3 5d 38 31 07 vinserti128 ymm6,ymm4,XMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 5d 38 31 07 vinserti128 ymm6,ymm4,XMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e2 7d 5a 21 vbroadcasti128 ymm4,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 5a 21 vbroadcasti128 ymm4,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 49 47 d4 vpsllvd xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 49 47 39 vpsllvd xmm7,xmm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 49 47 39 vpsllvd xmm7,xmm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 c9 47 d4 vpsllvq xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 c9 47 39 vpsllvq xmm7,xmm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 c9 47 39 vpsllvq xmm7,xmm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 49 46 d4 vpsravd xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 49 46 39 vpsravd xmm7,xmm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 49 46 39 vpsravd xmm7,xmm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 49 45 d4 vpsrlvd xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 49 45 39 vpsrlvd xmm7,xmm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 49 45 39 vpsrlvd xmm7,xmm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 c9 45 d4 vpsrlvq xmm2,xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 c9 45 39 vpsrlvq xmm7,xmm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 c9 45 39 vpsrlvq xmm7,xmm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 59 8c 31 vpmaskmovd xmm6,xmm4,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 59 8c 31 vpmaskmovd xmm6,xmm4,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 d9 8c 31 vpmaskmovq xmm6,xmm4,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 d9 8c 31 vpmaskmovq xmm6,xmm4,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e3 7d 39 e6 07 vextracti128 xmm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 7d 39 21 07 vextracti128 XMMWORD PTR \[rcx\],ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 7d 39 21 07 vextracti128 XMMWORD PTR \[rcx\],ymm4,0x7
+[ ]*[a-f0-9]+: c4 e2 49 8e 21 vpmaskmovd XMMWORD PTR \[rcx\],xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 49 8e 21 vpmaskmovd XMMWORD PTR \[rcx\],xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 c9 8e 21 vpmaskmovq XMMWORD PTR \[rcx\],xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 c9 8e 21 vpmaskmovq XMMWORD PTR \[rcx\],xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e3 49 02 d4 07 vpblendd xmm2,xmm6,xmm4,0x7
+[ ]*[a-f0-9]+: c4 e3 49 02 11 07 vpblendd xmm2,xmm6,XMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 49 02 11 07 vpblendd xmm2,xmm6,XMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e2 79 59 f4 vpbroadcastq xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 59 21 vpbroadcastq xmm4,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 79 59 21 vpbroadcastq xmm4,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 59 f4 vpbroadcastq ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 59 21 vpbroadcastq ymm4,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 59 21 vpbroadcastq ymm4,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 58 e4 vpbroadcastd ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 58 21 vpbroadcastd ymm4,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 58 21 vpbroadcastd ymm4,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 79 58 f4 vpbroadcastd xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 58 21 vpbroadcastd xmm4,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 79 58 21 vpbroadcastd xmm4,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 79 79 f4 vpbroadcastw xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 79 21 vpbroadcastw xmm4,WORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 79 79 21 vpbroadcastw xmm4,WORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 79 f4 vpbroadcastw ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 79 21 vpbroadcastw ymm4,WORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 79 21 vpbroadcastw ymm4,WORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 79 78 f4 vpbroadcastb xmm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 79 78 21 vpbroadcastb xmm4,BYTE PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 79 78 21 vpbroadcastb xmm4,BYTE PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 78 f4 vpbroadcastb ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 78 21 vpbroadcastb ymm4,BYTE PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 78 21 vpbroadcastb ymm4,BYTE PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 79 18 f4 vbroadcastss xmm6,xmm4
+#pass
diff --git a/gas/testsuite/gas/i386/x86-64-avx2.d b/gas/testsuite/gas/i386/x86-64-avx2.d
new file mode 100644
index 0000000..7f2005f
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-avx2.d
@@ -0,0 +1,181 @@
+#objdump: -dw
+#name: x86-64 AVX2 insns
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c4 e2 5d 8c 31 vpmaskmovd \(%rcx\),%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 4d 8e 21 vpmaskmovd %ymm4,%ymm6,\(%rcx\)
+[ ]*[a-f0-9]+: c4 e2 dd 8c 31 vpmaskmovq \(%rcx\),%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 cd 8e 21 vpmaskmovq %ymm4,%ymm6,\(%rcx\)
+[ ]*[a-f0-9]+: c4 e3 fd 01 d6 07 vpermpd \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 fd 01 31 07 vpermpd \$0x7,\(%rcx\),%ymm6
+[ ]*[a-f0-9]+: c4 e3 fd 00 d6 07 vpermq \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 fd 00 31 07 vpermq \$0x7,\(%rcx\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 4d 36 d4 vpermd %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 36 11 vpermd \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 16 d4 vpermps %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 16 11 vpermps \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 47 d4 vpsllvd %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 47 11 vpsllvd \(%r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-f0-9]+: c4 e2 79 59 f4 vpbroadcastq %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 59 21 vpbroadcastq \(%rcx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 59 f4 vpbroadcastq %xmm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 59 21 vpbroadcastq \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 58 e4 vpbroadcastd %xmm4,%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 58 21 vpbroadcastd \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 79 58 f4 vpbroadcastd %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 58 21 vpbroadcastd \(%rcx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 79 79 f4 vpbroadcastw %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 79 21 vpbroadcastw \(%rcx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 79 f4 vpbroadcastw %xmm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 79 21 vpbroadcastw \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 79 78 f4 vpbroadcastb %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 78 21 vpbroadcastb \(%rcx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 78 f4 vpbroadcastb %xmm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 78 21 vpbroadcastb \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 79 18 f4 vbroadcastss %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 5d 8c 31 vpmaskmovd \(%rcx\),%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 4d 8e 21 vpmaskmovd %ymm4,%ymm6,\(%rcx\)
+[ ]*[a-f0-9]+: c4 e2 5d 8c 31 vpmaskmovd \(%rcx\),%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 4d 8e 21 vpmaskmovd %ymm4,%ymm6,\(%rcx\)
+[ ]*[a-f0-9]+: c4 e2 dd 8c 31 vpmaskmovq \(%rcx\),%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 cd 8e 21 vpmaskmovq %ymm4,%ymm6,\(%rcx\)
+[ ]*[a-f0-9]+: c4 e2 dd 8c 31 vpmaskmovq \(%rcx\),%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 cd 8e 21 vpmaskmovq %ymm4,%ymm6,\(%rcx\)
+[ ]*[a-f0-9]+: c4 e3 fd 01 d6 07 vpermpd \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 fd 01 31 07 vpermpd \$0x7,\(%rcx\),%ymm6
+[ ]*[a-f0-9]+: c4 e3 fd 01 31 07 vpermpd \$0x7,\(%rcx\),%ymm6
+[ ]*[a-f0-9]+: c4 e3 fd 00 d6 07 vpermq \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 fd 00 31 07 vpermq \$0x7,\(%rcx\),%ymm6
+[ ]*[a-f0-9]+: c4 e3 fd 00 31 07 vpermq \$0x7,\(%rcx\),%ymm6
+[ ]*[a-f0-9]+: c4 e2 4d 36 d4 vpermd %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 36 11 vpermd \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 36 11 vpermd \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 16 d4 vpermps %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 16 11 vpermps \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 16 11 vpermps \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 47 d4 vpsllvd %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 47 11 vpsllvd \(%r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pblendd \$0x7,\(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 4d 02 11 07 vpblendd \$0x7,\(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 4d 46 d4 07 vperm2i128 \$0x7,%ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 4d 46 11 07 vperm2i128 \$0x7,\(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 4d 46 11 07 vperm2i128 \$0x7,\(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e3 5d 38 f4 07 vinserti128 \$0x7,%xmm4,%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e3 5d 38 31 07 vinserti128 \$0x7,\(%rcx\),%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e3 5d 38 31 07 vinserti128 \$0x7,\(%rcx\),%ymm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 5a 21 vbroadcasti128 \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 5a 21 vbroadcasti128 \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 49 47 d4 vpsllvd %xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 49 47 39 vpsllvd \(%rcx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 49 47 39 vpsllvd \(%rcx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 c9 47 d4 vpsllvq %xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 c9 47 39 vpsllvq \(%rcx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 c9 47 39 vpsllvq \(%rcx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c4 e2 49 46 d4 vpsravd %xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 49 46 39 vpsravd \(%rcx\),%xmm6,%xmm7
+[ ]*[a-f0-9]+: c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 49 02 d4 07 vpblendd \$0x7,%xmm4,%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e3 49 02 11 07 vpblendd \$0x7,\(%rcx\),%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e3 49 02 11 07 vpblendd \$0x7,\(%rcx\),%xmm6,%xmm2
+[ ]*[a-f0-9]+: c4 e2 79 59 f4 vpbroadcastq %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 59 21 vpbroadcastq \(%rcx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 79 59 21 vpbroadcastq \(%rcx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 59 f4 vpbroadcastq %xmm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 59 21 vpbroadcastq \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 59 21 vpbroadcastq \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 58 e4 vpbroadcastd %xmm4,%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 58 21 vpbroadcastd \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 58 21 vpbroadcastd \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 79 58 f4 vpbroadcastd %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 58 21 vpbroadcastd \(%rcx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 79 58 21 vpbroadcastd \(%rcx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 79 79 f4 vpbroadcastw %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 79 21 vpbroadcastw \(%rcx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 79 79 21 vpbroadcastw \(%rcx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 79 f4 vpbroadcastw %xmm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 79 21 vpbroadcastw \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 79 21 vpbroadcastw \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 79 78 f4 vpbroadcastb %xmm4,%xmm6
+[ ]*[a-f0-9]+: c4 e2 79 78 21 vpbroadcastb \(%rcx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 79 78 21 vpbroadcastb \(%rcx\),%xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 78 f4 vpbroadcastb %xmm4,%ymm6
+[ ]*[a-f0-9]+: c4 e2 7d 78 21 vpbroadcastb \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 78 21 vpbroadcastb \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 79 18 f4 vbroadcastss %xmm4,%xmm6
+#pass
diff --git a/gas/testsuite/gas/i386/x86-64-avx2.s b/gas/testsuite/gas/i386/x86-64-avx2.s
new file mode 100644
index 0000000..0a84482
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-avx2.s
@@ -0,0 +1,268 @@
+# Check x86-64 AVX2 instructions
+
+ .allow_index_reg
+ .text
+_start:
+
+# Tests for op mem256, mask, ymm
+# Tests for op ymm, mask, mem256
+ vpmaskmovd (%rcx),%ymm4,%ymm6
+ vpmaskmovd %ymm4,%ymm6,(%rcx)
+ vpmaskmovq (%rcx),%ymm4,%ymm6
+ vpmaskmovq %ymm4,%ymm6,(%rcx)
+
+# Tests for op imm8, ymm/mem256, ymm
+ vpermpd $7,%ymm6,%ymm2
+ vpermpd $7,(%rcx),%ymm6
+ vpermq $7,%ymm6,%ymm2
+ vpermq $7,(%rcx),%ymm6
+
+# Tests for op ymm/mem256, ymm, ymm
+ vpermd %ymm4,%ymm6,%ymm2
+ vpermd (%rcx),%ymm6,%ymm2
+ vpermps %ymm4,%ymm6,%ymm2
+ vpermps (%rcx),%ymm6,%ymm2
+ vpsllvd %ymm4,%ymm6,%ymm2
+ vpsllvd (%rcx),%ymm6,%ymm2
+ vpsllvq %ymm4,%ymm6,%ymm2
+ vpsllvq (%rcx),%ymm6,%ymm2
+ vpsravd %ymm4,%ymm6,%ymm2
+ vpsravd (%rcx),%ymm6,%ymm2
+ vpsrlvd %ymm4,%ymm6,%ymm2
+ vpsrlvd (%rcx),%ymm6,%ymm2
+ vpsrlvq %ymm4,%ymm6,%ymm2
+ vpsrlvq (%rcx),%ymm6,%ymm2
+
+# Tests for op mem256, ymm
+ vmovntdqa (%rcx),%ymm4
+
+# Tests for op ymm, xmm
+ vbroadcastsd %xmm4,%ymm6
+ vbroadcastss %xmm4,%ymm6
+
+# Tests for op imm8, ymm/mem256, ymm, ymm
+ vpblendd $7,%ymm4,%ymm6,%ymm2
+ vpblendd $7,(%rcx),%ymm6,%ymm2
+ vperm2i128 $7,%ymm4,%ymm6,%ymm2
+ vperm2i128 $7,(%rcx),%ymm6,%ymm2
+
+# Tests for op imm8, xmm/mem128, ymm, ymm
+ vinserti128 $7,%xmm4,%ymm4,%ymm6
+ vinserti128 $7,(%rcx),%ymm4,%ymm6
+
+# Tests for op mem128, ymm
+ vbroadcasti128 (%rcx),%ymm4
+
+# Tests for op xmm/mem128, xmm, xmm
+ vpsllvd %xmm4,%xmm6,%xmm2
+ vpsllvd (%rcx),%xmm6,%xmm7
+ vpsllvq %xmm4,%xmm6,%xmm2
+ vpsllvq (%rcx),%xmm6,%xmm7
+ vpsravd %xmm4,%xmm6,%xmm2
+ vpsravd (%rcx),%xmm6,%xmm7
+ vpsrlvd %xmm4,%xmm6,%xmm2
+ vpsrlvd (%rcx),%xmm6,%xmm7
+ vpsrlvq %xmm4,%xmm6,%xmm2
+ vpsrlvq (%rcx),%xmm6,%xmm7
+
+# Tests for op mem128, xmm, xmm
+ vpmaskmovd (%rcx),%xmm4,%xmm6
+ vpmaskmovq (%rcx),%xmm4,%xmm6
+
+# Tests for op imm8, ymm, xmm128/mem
+ vextracti128 $7,%ymm4,%xmm6
+ vextracti128 $7,%ymm4,(%rcx)
+
+# Tests for op xmm, xmm, mem128
+ vpmaskmovd %xmm4,%xmm6,(%rcx)
+ vpmaskmovq %xmm4,%xmm6,(%rcx)
+
+# Tests for op imm8, xmm/mem128, xmm, xmm
+ vpblendd $7,%xmm4,%xmm6,%xmm2
+ vpblendd $7,(%rcx),%xmm6,%xmm2
+
+# Tests for op xmm/mem64, xmm
+ vpbroadcastq %xmm4,%xmm6
+ vpbroadcastq (%rcx),%xmm4
+
+# Tests for op xmm/mem64, ymm
+ vpbroadcastq %xmm4,%ymm6
+ vpbroadcastq (%rcx),%ymm4
+
+# Tests for op xmm/mem32, ymm
+ vpbroadcastd %xmm4,%ymm4
+ vpbroadcastd (%rcx),%ymm4
+
+# Tests for op xmm/mem32, xmm
+ vpbroadcastd %xmm4,%xmm6
+ vpbroadcastd (%rcx),%xmm4
+
+# Tests for op xmm/m16, xmm
+ vpbroadcastw %xmm4,%xmm6
+ vpbroadcastw (%rcx),%xmm4
+
+# Tests for op xmm/m16, ymm
+ vpbroadcastw %xmm4,%ymm6
+ vpbroadcastw (%rcx),%ymm4
+
+# Tests for op xmm/m8, xmm
+ vpbroadcastb %xmm4,%xmm6
+ vpbroadcastb (%rcx),%xmm4
+
+# Tests for op xmm/m8, ymm
+ vpbroadcastb %xmm4,%ymm6
+ vpbroadcastb (%rcx),%ymm4
+
+# Tests for op xmm, xmm
+ vbroadcastss %xmm4,%xmm6
+
+ .intel_syntax noprefix
+
+# Tests for op mem256, mask, ymm
+# Tests for op ymm, mask, mem256
+ vpmaskmovd ymm6,ymm4,YMMWORD PTR [rcx]
+ vpmaskmovd YMMWORD PTR [rcx],ymm6,ymm4
+ vpmaskmovd ymm6,ymm4,[rcx]
+ vpmaskmovd [rcx],ymm6,ymm4
+ vpmaskmovq ymm6,ymm4,YMMWORD PTR [rcx]
+ vpmaskmovq YMMWORD PTR [rcx],ymm6,ymm4
+ vpmaskmovq ymm6,ymm4,[rcx]
+ vpmaskmovq [rcx],ymm6,ymm4
+
+# Tests for op imm8, ymm/mem256, ymm
+ vpermpd ymm2,ymm6,7
+ vpermpd ymm6,YMMWORD PTR [rcx],7
+ vpermpd ymm6,[rcx],7
+ vpermq ymm2,ymm6,7
+ vpermq ymm6,YMMWORD PTR [rcx],7
+ vpermq ymm6,[rcx],7
+
+# Tests for op ymm/mem256, ymm, ymm
+ vpermd ymm2,ymm6,ymm4
+ vpermd ymm2,ymm6,YMMWORD PTR [rcx]
+ vpermd ymm2,ymm6,[rcx]
+ vpermps ymm2,ymm6,ymm4
+ vpermps ymm2,ymm6,YMMWORD PTR [rcx]
+ vpermps ymm2,ymm6,[rcx]
+ vpsllvd ymm2,ymm6,ymm4
+ vpsllvd ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsllvd ymm2,ymm6,[rcx]
+ vpsllvq ymm2,ymm6,ymm4
+ vpsllvq ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsllvq ymm2,ymm6,[rcx]
+ vpsravd ymm2,ymm6,ymm4
+ vpsravd ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsravd ymm2,ymm6,[rcx]
+ vpsrlvd ymm2,ymm6,ymm4
+ vpsrlvd ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsrlvd ymm2,ymm6,[rcx]
+ vpsrlvq ymm2,ymm6,ymm4
+ vpsrlvq ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsrlvq ymm2,ymm6,[rcx]
+
+# Tests for op mem256, ymm
+ vmovntdqa ymm4,YMMWORD PTR [rcx]
+ vmovntdqa ymm4,[rcx]
+
+# Tests for op ymm, xmm
+ vbroadcastsd ymm6,xmm4
+ vbroadcastss ymm6,xmm4
+
+# Tests for op imm8, ymm/mem256, ymm, ymm
+ vpblendd ymm2,ymm6,ymm4,7
+ vpblendd ymm2,ymm6,YMMWORD PTR [rcx],7
+ vpblendd ymm2,ymm6,[rcx],7
+ vperm2i128 ymm2,ymm6,ymm4,7
+ vperm2i128 ymm2,ymm6,YMMWORD PTR [rcx],7
+ vperm2i128 ymm2,ymm6,[rcx],7
+
+# Tests for op imm8, xmm/mem128, ymm, ymm
+ vinserti128 ymm6,ymm4,xmm4,7
+ vinserti128 ymm6,ymm4,XMMWORD PTR [rcx],7
+ vinserti128 ymm6,ymm4,[rcx],7
+
+# Tests for op mem128, ymm
+ vbroadcasti128 ymm4,XMMWORD PTR [rcx]
+ vbroadcasti128 ymm4,[rcx]
+
+# Tests for op xmm/mem128, xmm, xmm
+ vpsllvd xmm2,xmm6,xmm4
+ vpsllvd xmm7,xmm6,XMMWORD PTR [rcx]
+ vpsllvd xmm7,xmm6,[rcx]
+ vpsllvq xmm2,xmm6,xmm4
+ vpsllvq xmm7,xmm6,XMMWORD PTR [rcx]
+ vpsllvq xmm7,xmm6,[rcx]
+ vpsravd xmm2,xmm6,xmm4
+ vpsravd xmm7,xmm6,XMMWORD PTR [rcx]
+ vpsravd xmm7,xmm6,[rcx]
+ vpsrlvd xmm2,xmm6,xmm4
+ vpsrlvd xmm7,xmm6,XMMWORD PTR [rcx]
+ vpsrlvd xmm7,xmm6,[rcx]
+ vpsrlvq xmm2,xmm6,xmm4
+ vpsrlvq xmm7,xmm6,XMMWORD PTR [rcx]
+ vpsrlvq xmm7,xmm6,[rcx]
+
+# Tests for op mem128, xmm, xmm
+ vpmaskmovd xmm6,xmm4,XMMWORD PTR [rcx]
+ vpmaskmovd xmm6,xmm4,[rcx]
+ vpmaskmovq xmm6,xmm4,XMMWORD PTR [rcx]
+ vpmaskmovq xmm6,xmm4,[rcx]
+
+# Tests for op imm8, ymm, xmm128/mem
+ vextracti128 xmm6,ymm4,7
+ vextracti128 XMMWORD PTR [rcx],ymm4,7
+ vextracti128 [rcx],ymm4,7
+
+# Tests for op xmm, xmm, mem128
+ vpmaskmovd XMMWORD PTR [rcx],xmm6,xmm4
+ vpmaskmovd [rcx],xmm6,xmm4
+ vpmaskmovq XMMWORD PTR [rcx],xmm6,xmm4
+ vpmaskmovq [rcx],xmm6,xmm4
+
+# Tests for op imm8, xmm/mem128, xmm, xmm
+ vpblendd xmm2,xmm6,xmm4,7
+ vpblendd xmm2,xmm6,XMMWORD PTR [rcx],7
+ vpblendd xmm2,xmm6,[rcx],7
+
+# Tests for op xmm/mem64, xmm
+ vpbroadcastq xmm6,xmm4
+ vpbroadcastq xmm4,QWORD PTR [rcx]
+ vpbroadcastq xmm4,[rcx]
+
+# Tests for op xmm/mem64, ymm
+ vpbroadcastq ymm6,xmm4
+ vpbroadcastq ymm4,QWORD PTR [rcx]
+ vpbroadcastq ymm4,[rcx]
+
+# Tests for op xmm/mem32, ymm
+ vpbroadcastd ymm4,xmm4
+ vpbroadcastd ymm4,DWORD PTR [rcx]
+ vpbroadcastd ymm4,[rcx]
+
+# Tests for op xmm/mem32, xmm
+ vpbroadcastd xmm6,xmm4
+ vpbroadcastd xmm4,DWORD PTR [rcx]
+ vpbroadcastd xmm4,[rcx]
+
+# Tests for op xmm/m16, xmm
+ vpbroadcastw xmm6,xmm4
+ vpbroadcastw xmm4,WORD PTR [rcx]
+ vpbroadcastw xmm4,[rcx]
+
+# Tests for op xmm/m16, ymm
+ vpbroadcastw ymm6,xmm4
+ vpbroadcastw ymm4,WORD PTR [rcx]
+ vpbroadcastw ymm4,[rcx]
+
+# Tests for op xmm/m8, xmm
+ vpbroadcastb xmm6,xmm4
+ vpbroadcastb xmm4,BYTE PTR [rcx]
+ vpbroadcastb xmm4,[rcx]
+
+# Tests for op xmm/m8, ymm
+ vpbroadcastb ymm6,xmm4
+ vpbroadcastb ymm4,BYTE PTR [rcx]
+ vpbroadcastb ymm4,[rcx]
+
+# Tests for op xmm, xmm
+ vbroadcastss xmm6,xmm4
diff --git a/gas/testsuite/gas/i386/x86-64-avx256int-intel.d b/gas/testsuite/gas/i386/x86-64-avx256int-intel.d
new file mode 100644
index 0000000..5f7e0ec
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-avx256int-intel.d
@@ -0,0 +1,555 @@
+#objdump: -dwMintel
+#name: x86-64 256bit integer AVX insns (Intel disassembly)
+#source: x86-64-avx256int.s
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c5 fd d7 cc vpmovmskb ecx,ymm4
+[ ]*[a-f0-9]+: c5 fd d7 cc vpmovmskb ecx,ymm4
+[ ]*[a-f0-9]+: c5 ed 72 f6 07 vpslld ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 73 fe 07 vpslldq ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 73 f6 07 vpsllq ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 71 f6 07 vpsllw ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 72 e6 07 vpsrad ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 71 e6 07 vpsraw ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 72 d6 07 vpsrld ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 73 de 07 vpsrldq ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 73 d6 07 vpsrlq ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 71 d6 07 vpsrlw ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 fd 70 d6 07 vpshufd ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 fd 70 31 07 vpshufd ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c5 fe 70 d6 07 vpshufhw ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 fe 70 31 07 vpshufhw ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c5 ff 70 d6 07 vpshuflw ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ff 70 31 07 vpshuflw ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c5 cd 6b d4 vpackssdw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6b 11 vpackssdw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 63 d4 vpacksswb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 63 11 vpacksswb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 2b d4 vpackusdw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 2b 11 vpackusdw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 67 d4 vpackuswb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 67 11 vpackuswb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd fc d4 vpaddb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fc 11 vpaddb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd fd d4 vpaddw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fd 11 vpaddw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd fe d4 vpaddd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fe 11 vpaddd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd d4 d4 vpaddq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d4 11 vpaddq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd ec d4 vpaddsb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd ec 11 vpaddsb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd ed d4 vpaddsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd ed 11 vpaddsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd dc d4 vpaddusb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd dc 11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]*[a-f0-9]+: c4 e2 4d 38 11 vpminsb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd ea d4 vpminsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd ea 11 vpminsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 39 d4 vpminsd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 39 11 vpminsd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd da d4 vpminub ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd da 11 vpminub ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 3a d4 vpminuw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 3a 11 vpminuw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 3b d4 vpminud ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 3b 11 vpminud ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e4 d4 vpmulhuw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e4 11 vpmulhuw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 0b d4 vpmulhrsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 0b 11 vpmulhrsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e5 d4 vpmulhw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e5 11 vpmulhw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd d5 d4 vpmullw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d5 11 vpmullw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 40 d4 vpmulld ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 40 11 vpmulld ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f4 d4 vpmuludq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f4 11 vpmuludq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 28 d4 vpmuldq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 28 11 vpmuldq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd eb d4 vpor ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd eb 11 vpor ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f6 d4 vpsadbw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f6 11 vpsadbw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 00 d4 vpshufb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 00 11 vpshufb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 08 d4 vpsignb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 08 11 vpsignb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 09 d4 vpsignw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 09 11 vpsignw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 0a d4 vpsignd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 0a 11 vpsignd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f8 d4 vpsubb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f8 11 vpsubb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f9 d4 vpsubw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f9 11 vpsubw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd fa d4 vpsubd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fa 11 vpsubd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd fb d4 vpsubq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fb 11 vpsubq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e8 d4 vpsubsb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e8 11 vpsubsb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e9 d4 vpsubsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e9 11 vpsubsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd d8 d4 vpsubusb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d8 11 vpsubusb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd d9 d4 vpsubusw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d9 11 vpsubusw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 68 d4 vpunpckhbw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 68 11 vpunpckhbw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 69 d4 vpunpckhwd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 69 11 vpunpckhwd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 6a d4 vpunpckhdq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6a 11 vpunpckhdq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 6d d4 vpunpckhqdq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6d 11 vpunpckhqdq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 60 d4 vpunpcklbw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 60 11 vpunpcklbw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 61 d4 vpunpcklwd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 61 11 vpunpcklwd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 62 d4 vpunpckldq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 62 11 vpunpckldq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 6c d4 vpunpcklqdq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6c 11 vpunpcklqdq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd ef d4 vpxor ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd ef 11 vpxor ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1c f4 vpabsb ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 1c 21 vpabsb ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1d f4 vpabsw ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 1d 21 vpabsw ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1e f4 vpabsd ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 1e 21 vpabsd ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e3 4d 42 d4 07 vmpsadbw ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 42 11 07 vmpsadbw ymm2,ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0f d4 07 vpalignr ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0f 11 07 vpalignr ymm2,ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0e d4 07 vpblendw ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0e 11 07 vpblendw ymm2,ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 6d 4c fe 40 vpblendvb ymm7,ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e3 6d 4c 39 40 vpblendvb ymm7,ymm2,YMMWORD PTR \[rcx\],ymm4
+[ ]*[a-f0-9]+: c5 cd f1 d4 vpsllw ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd f1 11 vpsllw ymm2,ymm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f2 d4 vpslld ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd f2 11 vpslld ymm2,ymm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f3 d4 vpsllq ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd f3 11 vpsllq ymm2,ymm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e1 d4 vpsraw ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd e1 11 vpsraw ymm2,ymm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e2 d4 vpsrad ymm2,ymm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 72 d6 07 vpsrld ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 73 de 07 vpsrldq ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 73 d6 07 vpsrlq ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ed 71 d6 07 vpsrlw ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 fd 70 d6 07 vpshufd ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 fd 70 31 07 vpshufd ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c5 fd 70 31 07 vpshufd ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c5 fe 70 d6 07 vpshufhw ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 fe 70 31 07 vpshufhw ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c5 fe 70 31 07 vpshufhw ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c5 ff 70 d6 07 vpshuflw ymm2,ymm6,0x7
+[ ]*[a-f0-9]+: c5 ff 70 31 07 vpshuflw ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c5 ff 70 31 07 vpshuflw ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c5 cd 6b d4 vpackssdw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6b 11 vpackssdw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 6b 11 vpackssdw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 63 d4 vpacksswb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 63 11 vpacksswb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 63 11 vpacksswb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 2b d4 vpackusdw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 2b 11 vpackusdw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 2b 11 vpackusdw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 67 d4 vpackuswb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 67 11 vpackuswb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 67 11 vpackuswb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd fc d4 vpaddb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fc 11 vpaddb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd fc 11 vpaddb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd fd d4 vpaddw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fd 11 vpaddw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd fd 11 vpaddw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd fe d4 vpaddd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fe 11 vpaddd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd fe 11 vpaddd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd d4 d4 vpaddq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d4 11 vpaddq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd d4 11 vpaddq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd ec d4 vpaddsb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd ec 11 vpaddsb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd ec 11 vpaddsb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd ed d4 vpaddsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd ed 11 vpaddsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd ed 11 vpaddsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd dc d4 vpaddusb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd dc 11 vpaddusb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd dc 11 vpaddusb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd dd d4 vpaddusw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd dd 11 vpaddusw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd dd 11 vpaddusw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd db d4 vpand ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd db 11 vpand ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd db 11 vpand ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd df d4 vpandn ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd df 11 vpandn ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd df 11 vpandn ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e0 d4 vpavgb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e0 11 vpavgb ymm2,ymm6,YMMWORD PTR \[rcx\]
+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,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 03 11 vphaddsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 05 d4 vphsubw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 05 11 vphsubw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 05 11 vphsubw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 06 d4 vphsubd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 06 11 vphsubd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 06 11 vphsubd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 07 d4 vphsubsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 07 11 vphsubsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 07 11 vphsubsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f5 d4 vpmaddwd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f5 11 vpmaddwd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f5 11 vpmaddwd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 04 d4 vpmaddubsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 04 11 vpmaddubsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 04 11 vpmaddubsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 3c d4 vpmaxsb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4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m4
+[ ]*[a-f0-9]+: c4 e2 4d 38 11 vpminsb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 38 11 vpminsb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd ea d4 vpminsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd ea 11 vpminsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd ea 11 vpminsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 39 d4 vpminsd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 39 11 vpminsd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 39 11 vpminsd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd da d4 vpminub ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd da 11 vpminub ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd da 11 vpminub ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 3a d4 vpminuw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 3a 11 vpminuw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 3a 11 vpminuw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 3b d4 vpminud ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 3b 11 vpminud ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 3b 11 vpminud ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e4 d4 vpmulhuw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e4 11 vpmulhuw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e4 11 vpmulhuw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 0b d4 vpmulhrsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 0b 11 vpmulhrsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 0b 11 vpmulhrsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e5 d4 vpmulhw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e5 11 vpmulhw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e5 11 vpmulhw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd d5 d4 vpmullw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d5 11 vpmullw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd d5 11 vpmullw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 40 d4 vpmulld ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 40 11 vpmulld ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 40 11 vpmulld ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f4 d4 vpmuludq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f4 11 vpmuludq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f4 11 vpmuludq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 28 d4 vpmuldq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 28 11 vpmuldq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 28 11 vpmuldq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd eb d4 vpor ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd eb 11 vpor ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd eb 11 vpor ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f6 d4 vpsadbw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f6 11 vpsadbw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f6 11 vpsadbw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 00 d4 vpshufb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 00 11 vpshufb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 00 11 vpshufb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 08 d4 vpsignb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 08 11 vpsignb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 08 11 vpsignb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 09 d4 vpsignw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 09 11 vpsignw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 09 11 vpsignw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 0a d4 vpsignd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 4d 0a 11 vpsignd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 4d 0a 11 vpsignd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f8 d4 vpsubb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f8 11 vpsubb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f8 11 vpsubb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f9 d4 vpsubw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd f9 11 vpsubw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f9 11 vpsubw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd fa d4 vpsubd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fa 11 vpsubd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd fa 11 vpsubd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd fb d4 vpsubq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd fb 11 vpsubq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd fb 11 vpsubq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e8 d4 vpsubsb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e8 11 vpsubsb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e8 11 vpsubsb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e9 d4 vpsubsw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd e9 11 vpsubsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e9 11 vpsubsw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd d8 d4 vpsubusb ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d8 11 vpsubusb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd d8 11 vpsubusb ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd d9 d4 vpsubusw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd d9 11 vpsubusw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd d9 11 vpsubusw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 68 d4 vpunpckhbw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 68 11 vpunpckhbw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 68 11 vpunpckhbw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 69 d4 vpunpckhwd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 69 11 vpunpckhwd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 69 11 vpunpckhwd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 6a d4 vpunpckhdq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6a 11 vpunpckhdq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 6a 11 vpunpckhdq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 6d d4 vpunpckhqdq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6d 11 vpunpckhqdq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 6d 11 vpunpckhqdq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 60 d4 vpunpcklbw ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 60 11 vpunpcklbw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 60 11 vpunpcklbw ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 61 d4 vpunpcklwd ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 61 11 vpunpcklwd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 61 11 vpunpcklwd ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 62 d4 vpunpckldq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 62 11 vpunpckldq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 62 11 vpunpckldq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 6c d4 vpunpcklqdq ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd 6c 11 vpunpcklqdq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd 6c 11 vpunpcklqdq ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd ef d4 vpxor ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c5 cd ef 11 vpxor ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd ef 11 vpxor ymm2,ymm6,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1c f4 vpabsb ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 1c 21 vpabsb ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1c 21 vpabsb ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1d f4 vpabsw ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 1d 21 vpabsw ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1d 21 vpabsw ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1e f4 vpabsd ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 1e 21 vpabsd ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 1e 21 vpabsd ymm4,YMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e3 4d 42 d4 07 vmpsadbw ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 42 11 07 vmpsadbw ymm2,ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 42 11 07 vmpsadbw ymm2,ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0f d4 07 vpalignr ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0f 11 07 vpalignr ymm2,ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0f 11 07 vpalignr ymm2,ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0e d4 07 vpblendw ymm2,ymm6,ymm4,0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0e 11 07 vpblendw ymm2,ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 4d 0e 11 07 vpblendw ymm2,ymm6,YMMWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 6d 4c fe 40 vpblendvb ymm7,ymm2,ymm6,ymm4
+[ ]*[a-f0-9]+: c4 e3 6d 4c 39 40 vpblendvb ymm7,ymm2,YMMWORD PTR \[rcx\],ymm4
+[ ]*[a-f0-9]+: c4 e3 6d 4c 39 40 vpblendvb ymm7,ymm2,YMMWORD PTR \[rcx\],ymm4
+[ ]*[a-f0-9]+: c5 cd f1 d4 vpsllw ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd f1 11 vpsllw ymm2,ymm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f1 11 vpsllw ymm2,ymm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f2 d4 vpslld ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd f2 11 vpslld ymm2,ymm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f2 11 vpslld ymm2,ymm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f3 d4 vpsllq ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd f3 11 vpsllq ymm2,ymm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd f3 11 vpsllq ymm2,ymm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e1 d4 vpsraw ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd e1 11 vpsraw ymm2,ymm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e1 11 vpsraw ymm2,ymm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e2 d4 vpsrad ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd e2 11 vpsrad ymm2,ymm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd e2 11 vpsrad ymm2,ymm6,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c5 cd d1 d4 vpsrlw ymm2,ymm6,xmm4
+[ ]*[a-f0-9]+: c5 cd d1 11 vpsrlw ymm2,ymm6,XMMWORD PTR \[rcx\]
+[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zxbw ymm4,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 33 e4 vpmovzxwd ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 33 21 vpmovzxwd ymm4,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 33 21 vpmovzxwd ymm4,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 35 e4 vpmovzxdq ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 35 21 vpmovzxdq ymm4,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 35 21 vpmovzxdq ymm4,XMMWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 21 f4 vpmovsxbd ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 21 21 vpmovsxbd ymm4,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 21 21 vpmovsxbd ymm4,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 24 f4 vpmovsxwq ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 24 21 vpmovsxwq ymm4,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 24 21 vpmovsxwq ymm4,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 31 f4 vpmovzxbd ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 31 21 vpmovzxbd ymm4,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 31 21 vpmovzxbd ymm4,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 34 f4 vpmovzxwq ymm6,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 34 21 vpmovzxwq ymm4,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 34 21 vpmovzxwq ymm4,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 22 e4 vpmovsxbq ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 22 21 vpmovsxbq ymm4,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 22 21 vpmovsxbq ymm4,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 32 e4 vpmovzxbq ymm4,xmm4
+[ ]*[a-f0-9]+: c4 e2 7d 32 21 vpmovzxbq ymm4,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 7d 32 21 vpmovzxbq ymm4,DWORD PTR \[rcx\]
+#pass
diff --git a/gas/testsuite/gas/i386/x86-64-avx256int.d b/gas/testsuite/gas/i386/x86-64-avx256int.d
new file mode 100644
index 0000000..3a42f67
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-avx256int.d
@@ -0,0 +1,554 @@
+#objdump: -dw
+#name: x86-64 256bit integer AVX insns
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c5 fd d7 cc vpmovmskb %ymm4,%ecx
+[ ]*[a-f0-9]+: c5 fd d7 cc vpmovmskb %ymm4,%ecx
+[ ]*[a-f0-9]+: c5 ed 72 f6 07 vpslld \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 73 fe 07 vpslldq \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 73 f6 07 vpsllq \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 71 f6 07 vpsllw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 72 e6 07 vpsrad \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 71 e6 07 vpsraw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 72 d6 07 vpsrld \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 73 de 07 vpsrldq \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 73 d6 07 vpsrlq \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 71 d6 07 vpsrlw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 fd 70 d6 07 vpshufd \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 fd 70 31 07 vpshufd \$0x7,\(%rcx\),%ymm6
+[ ]*[a-f0-9]+: c5 fe 70 d6 07 vpshufhw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 fe 70 31 07 vpshufhw \$0x7,\(%rcx\),%ymm6
+[ ]*[a-f0-9]+: c5 ff 70 d6 07 vpshuflw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ff 70 31 07 vpshuflw \$0x7,\(%rcx\),%ymm6
+[ ]*[a-f0-9]+: c5 cd 6b d4 vpackssdw %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 6b 11 vpackssdw \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 63 d4 vpacksswb %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 63 11 vpacksswb \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 2b d4 vpackusdw %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 2b 11 vpackusdw \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 67 d4 vpackuswb %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 67 11 vpackuswb \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd fc d4 vpaddb %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd fc 11 vpaddb \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd fd d4 vpaddw %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd fd 11 vpaddw \(%rc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 71 f6 07 vpsllw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 72 e6 07 vpsrad \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 71 e6 07 vpsraw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 72 d6 07 vpsrld \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 73 de 07 vpsrldq \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 73 d6 07 vpsrlq \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ed 71 d6 07 vpsrlw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 fd 70 d6 07 vpshufd \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 fd 70 31 07 vpshufd \$0x7,\(%rcx\),%ymm6
+[ ]*[a-f0-9]+: c5 fd 70 31 07 vpshufd \$0x7,\(%rcx\),%ymm6
+[ ]*[a-f0-9]+: c5 fe 70 d6 07 vpshufhw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 fe 70 31 07 vpshufhw \$0x7,\(%rcx\),%ymm6
+[ ]*[a-f0-9]+: c5 fe 70 31 07 vpshufhw \$0x7,\(%rcx\),%ymm6
+[ ]*[a-f0-9]+: c5 ff 70 d6 07 vpshuflw \$0x7,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 ff 70 31 07 vpshuflw \$0x7,\(%rcx\),%ymm6
+[ ]*[a-f0-9]+: c5 ff 70 31 07 vpshuflw \$0x7,\(%rcx\),%ymm6
+[ ]*[a-f0-9]+: c5 cd 6b d4 vpackssdw %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 6b 11 vpackssdw \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 6b 11 vpackssdw \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 63 d4 vpacksswb %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 63 11 vpacksswb \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 63 11 vpacksswb \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 2b d4 vpackusdw %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 2b 11 vpackusdw \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c4 e2 4d 2b 11 vpackusdw \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 67 d4 vpackuswb %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 67 11 vpackuswb \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd 67 11 vpackuswb \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd fc d4 vpaddb %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd fc 11 vpaddb \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd fc 11 vpaddb \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd fd d4 vpaddw %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd fd 11 vpaddw \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd fd 11 vpaddw \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd fe d4 vpaddd %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd fe 11 vpaddd \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd fe 11 vpaddd \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd d4 d4 vpaddq %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd d4 11 vpaddq \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd d4 11 vpaddq \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd ec d4 vpaddsb %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd ec 11 vpaddsb \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd ec 11 vpaddsb \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd ed d4 vpaddsw %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd ed 11 vpaddsw \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd ed 11 vpaddsw \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd dc d4 vpaddusb %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd dc 11 vpaddusb \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd dc 11 vpaddusb \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd dd d4 vpaddusw %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd dd 11 vpaddusw \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd dd 11 vpaddusw \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd db d4 vpand %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd db 11 vpand \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd db 11 vpand \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd df d4 vpandn %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd df 11 vpandn \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd df 11 vpandn \(%rcx\),%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd e0 d4 vpavgb %ymm4,%ymm6,%ymm2
+[ ]*[a-f0-9]+: c5 cd e0 11 vpavgb \(%rcx\),%ymm6,%ymm2
+[ ]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34 21 vpmovzxwq \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 34 21 vpmovzxwq \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 22 e4 vpmovsxbq %xmm4,%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 22 21 vpmovsxbq \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 22 21 vpmovsxbq \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 32 e4 vpmovzxbq %xmm4,%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 32 21 vpmovzxbq \(%rcx\),%ymm4
+[ ]*[a-f0-9]+: c4 e2 7d 32 21 vpmovzxbq \(%rcx\),%ymm4
+#pass
diff --git a/gas/testsuite/gas/i386/x86-64-avx256int.s b/gas/testsuite/gas/i386/x86-64-avx256int.s
new file mode 100644
index 0000000..86d0b60
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-avx256int.s
@@ -0,0 +1,599 @@
+# Check x86-64 256it integer AVX instructions
+
+ .allow_index_reg
+ .text
+_start:
+
+# Tests for op ymm, regl
+ vpmovmskb %ymm4,%ecx
+
+# Tests for op ymm, regq
+ vpmovmskb %ymm4,%rcx
+
+# Tests for op imm8, ymm, ymm
+ vpslld $7,%ymm6,%ymm2
+ vpslldq $7,%ymm6,%ymm2
+ vpsllq $7,%ymm6,%ymm2
+ vpsllw $7,%ymm6,%ymm2
+ vpsrad $7,%ymm6,%ymm2
+ vpsraw $7,%ymm6,%ymm2
+ vpsrld $7,%ymm6,%ymm2
+ vpsrldq $7,%ymm6,%ymm2
+ vpsrlq $7,%ymm6,%ymm2
+ vpsrlw $7,%ymm6,%ymm2
+
+# Tests for op imm8, ymm/mem256, ymm
+ vpshufd $7,%ymm6,%ymm2
+ vpshufd $7,(%rcx),%ymm6
+ vpshufhw $7,%ymm6,%ymm2
+ vpshufhw $7,(%rcx),%ymm6
+ vpshuflw $7,%ymm6,%ymm2
+ vpshuflw $7,(%rcx),%ymm6
+
+# Tests for op ymm/mem256, ymm, ymm
+ vpackssdw %ymm4,%ymm6,%ymm2
+ vpackssdw (%rcx),%ymm6,%ymm2
+ vpacksswb %ymm4,%ymm6,%ymm2
+ vpacksswb (%rcx),%ymm6,%ymm2
+ vpackusdw %ymm4,%ymm6,%ymm2
+ vpackusdw (%rcx),%ymm6,%ymm2
+ vpackuswb %ymm4,%ymm6,%ymm2
+ vpackuswb (%rcx),%ymm6,%ymm2
+ vpaddb %ymm4,%ymm6,%ymm2
+ vpaddb (%rcx),%ymm6,%ymm2
+ vpaddw %ymm4,%ymm6,%ymm2
+ vpaddw (%rcx),%ymm6,%ymm2
+ vpaddd %ymm4,%ymm6,%ymm2
+ vpaddd (%rcx),%ymm6,%ymm2
+ vpaddq %ymm4,%ymm6,%ymm2
+ vpaddq (%rcx),%ymm6,%ymm2
+ vpaddsb %ymm4,%ymm6,%ymm2
+ vpaddsb (%rcx),%ymm6,%ymm2
+ vpaddsw %ymm4,%ymm6,%ymm2
+ vpaddsw (%rcx),%ymm6,%ymm2
+ vpaddusb %ymm4,%ymm6,%ymm2
+ vpaddusb (%rcx),%ymm6,%ymm2
+ vpaddusw %ymm4,%ymm6,%ymm2
+ vpaddusw (%rcx),%ymm6,%ymm2
+ vpand %ymm4,%ymm6,%ymm2
+ vpand (%rcx),%ymm6,%ymm2
+ vpandn %ymm4,%ymm6,%ymm2
+ vpandn (%rcx),%ymm6,%ymm2
+ vpavgb %ymm4,%ymm6,%ymm2
+ vpavgb (%rcx),%ymm6,%ymm2
+ vpavgw %ymm4,%ymm6,%ymm2
+ vpavgw (%rcx),%ymm6,%ymm2
+ vpcmpeqb %ymm4,%ymm6,%ymm2
+ vpcmpeqb (%rcx),%ymm6,%ymm2
+ vpcmpeqw %ymm4,%ymm6,%ymm2
+ vpcmpeqw (%rcx),%ymm6,%ymm2
+ vpcmpeqd %ymm4,%ymm6,%ymm2
+ vpcmpeqd (%rcx),%ymm6,%ymm2
+ vpcm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m6,%ymm2
+ vpminsb (%rcx),%ymm6,%ymm2
+ vpminsw %ymm4,%ymm6,%ymm2
+ vpminsw (%rcx),%ymm6,%ymm2
+ vpminsd %ymm4,%ymm6,%ymm2
+ vpminsd (%rcx),%ymm6,%ymm2
+ vpminub %ymm4,%ymm6,%ymm2
+ vpminub (%rcx),%ymm6,%ymm2
+ vpminuw %ymm4,%ymm6,%ymm2
+ vpminuw (%rcx),%ymm6,%ymm2
+ vpminud %ymm4,%ymm6,%ymm2
+ vpminud (%rcx),%ymm6,%ymm2
+ vpmulhuw %ymm4,%ymm6,%ymm2
+ vpmulhuw (%rcx),%ymm6,%ymm2
+ vpmulhrsw %ymm4,%ymm6,%ymm2
+ vpmulhrsw (%rcx),%ymm6,%ymm2
+ vpmulhw %ymm4,%ymm6,%ymm2
+ vpmulhw (%rcx),%ymm6,%ymm2
+ vpmullw %ymm4,%ymm6,%ymm2
+ vpmullw (%rcx),%ymm6,%ymm2
+ vpmulld %ymm4,%ymm6,%ymm2
+ vpmulld (%rcx),%ymm6,%ymm2
+ vpmuludq %ymm4,%ymm6,%ymm2
+ vpmuludq (%rcx),%ymm6,%ymm2
+ vpmuldq %ymm4,%ymm6,%ymm2
+ vpmuldq (%rcx),%ymm6,%ymm2
+ vpor %ymm4,%ymm6,%ymm2
+ vpor (%rcx),%ymm6,%ymm2
+ vpsadbw %ymm4,%ymm6,%ymm2
+ vpsadbw (%rcx),%ymm6,%ymm2
+ vpshufb %ymm4,%ymm6,%ymm2
+ vpshufb (%rcx),%ymm6,%ymm2
+ vpsignb %ymm4,%ymm6,%ymm2
+ vpsignb (%rcx),%ymm6,%ymm2
+ vpsignw %ymm4,%ymm6,%ymm2
+ vpsignw (%rcx),%ymm6,%ymm2
+ vpsignd %ymm4,%ymm6,%ymm2
+ vpsignd (%rcx),%ymm6,%ymm2
+ vpsubb %ymm4,%ymm6,%ymm2
+ vpsubb (%rcx),%ymm6,%ymm2
+ vpsubw %ymm4,%ymm6,%ymm2
+ vpsubw (%rcx),%ymm6,%ymm2
+ vpsubd %ymm4,%ymm6,%ymm2
+ vpsubd (%rcx),%ymm6,%ymm2
+ vpsubq %ymm4,%ymm6,%ymm2
+ vpsubq (%rcx),%ymm6,%ymm2
+ vpsubsb %ymm4,%ymm6,%ymm2
+ vpsubsb (%rcx),%ymm6,%ymm2
+ vpsubsw %ymm4,%ymm6,%ymm2
+ vpsubsw (%rcx),%ymm6,%ymm2
+ vpsubusb %ymm4,%ymm6,%ymm2
+ vpsubusb (%rcx),%ymm6,%ymm2
+ vpsubusw %ymm4,%ymm6,%ymm2
+ vpsubusw (%rcx),%ymm6,%ymm2
+ vpunpckhbw %ymm4,%ymm6,%ymm2
+ vpunpckhbw (%rcx),%ymm6,%ymm2
+ vpunpckhwd %ymm4,%ymm6,%ymm2
+ vpunpckhwd (%rcx),%ymm6,%ymm2
+ vpunpckhdq %ymm4,%ymm6,%ymm2
+ vpunpckhdq (%rcx),%ymm6,%ymm2
+ vpunpckhqdq %ymm4,%ymm6,%ymm2
+ vpunpckhqdq (%rcx),%ymm6,%ymm2
+ vpunpcklbw %ymm4,%ymm6,%ymm2
+ vpunpcklbw (%rcx),%ymm6,%ymm2
+ vpunpcklwd %ymm4,%ymm6,%ymm2
+ vpunpcklwd (%rcx),%ymm6,%ymm2
+ vpunpckldq %ymm4,%ymm6,%ymm2
+ vpunpckldq (%rcx),%ymm6,%ymm2
+ vpunpcklqdq %ymm4,%ymm6,%ymm2
+ vpunpcklqdq (%rcx),%ymm6,%ymm2
+ vpxor %ymm4,%ymm6,%ymm2
+ vpxor (%rcx),%ymm6,%ymm2
+
+# Tests for op ymm/mem256, ymm
+ vpabsb %ymm4,%ymm6
+ vpabsb (%rcx),%ymm4
+ vpabsw %ymm4,%ymm6
+ vpabsw (%rcx),%ymm4
+ vpabsd %ymm4,%ymm6
+ vpabsd (%rcx),%ymm4
+
+# Tests for op imm8, ymm/mem256, ymm, ymm
+ vmpsadbw $7,%ymm4,%ymm6,%ymm2
+ vmpsadbw $7,(%rcx),%ymm6,%ymm2
+ vpalignr $7,%ymm4,%ymm6,%ymm2
+ vpalignr $7,(%rcx),%ymm6,%ymm2
+ vpblendw $7,%ymm4,%ymm6,%ymm2
+ vpblendw $7,(%rcx),%ymm6,%ymm2
+
+# Tests for op ymm, ymm/mem256, ymm, ymm
+ vpblendvb %ymm4,%ymm6,%ymm2,%ymm7
+ vpblendvb %ymm4,(%rcx),%ymm2,%ymm7
+
+# Tests for op xmm/mem128, ymm, ymm
+ vpsllw %xmm4,%ymm6,%ymm2
+ vpsllw (%rcx),%ymm6,%ymm2
+ vpslld %xmm4,%ymm6,%ymm2
+ vpslld (%rcx),%ymm6,%ymm2
+ vpsllq %xmm4,%ymm6,%ymm2
+ vpsllq (%rcx),%ymm6,%ymm2
+ vpsraw %xmm4,%ymm6,%ymm2
+ vpsraw (%rcx),%ymm6,%ymm2
+ vpsrad %xmm4,%ymm6,%ymm2
+ vpsrad (%rcx),%ymm6,%ymm2
+ vpsrlw %xmm4,%ymm6,%ymm2
+ vpsrlw (%rcx),%ymm6,%ymm2
+ vpsrld %xmm4,%ymm6,%ymm2
+ vpsrld (%rcx),%ymm6,%ymm2
+ vpsrlq %xmm4,%ymm6,%ymm2
+ vpsrlq (%rcx),%ymm6,%ymm2
+
+# Tests for op xmm/mem128, ymm
+ vpmovsxbw %xmm4,%ymm4
+ vpmovsxbw (%rcx),%ymm4
+ vpmovsxwd %xmm4,%ymm4
+ vpmovsxwd (%rcx),%ymm4
+ vpmovsxdq %xmm4,%ymm4
+ vpmovsxdq (%rcx),%ymm4
+ vpmovzxbw %xmm4,%ymm4
+ vpmovzxbw (%rcx),%ymm4
+ vpmovzxwd %xmm4,%ymm4
+ vpmovzxwd (%rcx),%ymm4
+ vpmovzxdq %xmm4,%ymm4
+ vpmovzxdq (%rcx),%ymm4
+
+# Tests for op xmm/mem64, ymm
+ vpmovsxbd %xmm4,%ymm6
+ vpmovsxbd (%rcx),%ymm4
+ vpmovsxwq %xmm4,%ymm6
+ vpmovsxwq (%rcx),%ymm4
+ vpmovzxbd %xmm4,%ymm6
+ vpmovzxbd (%rcx),%ymm4
+ vpmovzxwq %xmm4,%ymm6
+ vpmovzxwq (%rcx),%ymm4
+
+# Tests for op xmm/mem32, ymm
+ vpmovsxbq %xmm4,%ymm4
+ vpmovsxbq (%rcx),%ymm4
+ vpmovzxbq %xmm4,%ymm4
+ vpmovzxbq (%rcx),%ymm4
+
+ .intel_syntax noprefix
+
+# Tests for op ymm, regl
+ vpmovmskb ecx,ymm4
+
+# Tests for op ymm, regq
+ vpmovmskb rcx,ymm4
+
+# Tests for op imm8, ymm, ymm
+ vpslld ymm2,ymm6,7
+ vpslldq ymm2,ymm6,7
+ vpsllq ymm2,ymm6,7
+ vpsllw ymm2,ymm6,7
+ vpsrad ymm2,ymm6,7
+ vpsraw ymm2,ymm6,7
+ vpsrld ymm2,ymm6,7
+ vpsrldq ymm2,ymm6,7
+ vpsrlq ymm2,ymm6,7
+ vpsrlw ymm2,ymm6,7
+
+# Tests for op imm8, ymm/mem256, ymm
+ vpshufd ymm2,ymm6,7
+ vpshufd ymm6,YMMWORD PTR [rcx],7
+ vpshufd ymm6,[rcx],7
+ vpshufhw ymm2,ymm6,7
+ vpshufhw ymm6,YMMWORD PTR [rcx],7
+ vpshufhw ymm6,[rcx],7
+ vpshuflw ymm2,ymm6,7
+ vpshuflw ymm6,YMMWORD PTR [rcx],7
+ vpshuflw ymm6,[rcx],7
+
+# Tests for op ymm/mem256, ymm, ymm
+ vpackssdw ymm2,ymm6,ymm4
+ vpackssdw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpackssdw ymm2,ymm6,[rcx]
+ vpacksswb ymm2,ymm6,ymm4
+ vpacksswb ymm2,ymm6,YMMWORD PTR [rcx]
+ vpacksswb ymm2,ymm6,[rcx]
+ vpackusdw ymm2,ymm6,ymm4
+ vpackusdw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpackusdw ymm2,ymm6,[rcx]
+ vpackuswb ymm2,ymm6,ymm4
+ vpackuswb ymm2,ymm6,YMMWORD PTR [rcx]
+ vpackuswb ymm2,ymm6,[rcx]
+ vpaddb ymm2,ymm6,ymm4
+ vpaddb ymm2,ymm6,YMMWORD PTR [rcx]
+ vpaddb ymm2,ymm6,[rcx]
+ vpaddw ymm2,ymm6,ymm4
+ vpaddw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpaddw ymm2,ymm6,[rcx]
+ vpaddd ymm2,ymm6,ymm4
+ vpaddd ymm2,ymm6,YMMWORD PTR [rcx]
+ vpaddd ymm2,ymm6,[rcx]
+ vpaddq ymm2,ymm6,ymm4
+ vpaddq ymm2,ymm6,YMMWORD PTR [rcx]
+ vpaddq ymm2,ymm6,[rcx]
+ vpaddsb ymm2,ymm6,ymm4
+ vpaddsb ymm2,ymm6,YMMWORD PTR [rcx]
+ vpaddsb ymm2,ymm6,[rcx]
+ vpaddsw ymm2,ymm6,ymm4
+ vpaddsw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpaddsw ymm2,ymm6,[rcx]
+ vpaddusb ymm2,ymm6,ymm4
+ vpaddusb ymm2,ymm6,YMMWORD PTR [rcx]
+ vpaddusb ymm2,ymm6,[rcx]
+ vpaddusw ymm2,ymm6,ymm4
+ vpaddusw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpaddusw ymm2,ymm6,[rcx]
+ vpand ymm2,ymm6,ymm4
+ vpand ymm2,ymm6,YMMWORD PTR [rcx]
+ vpand ymm2,ymm6,[rcx]
+ vpandn ymm2,ymm6,ymm4
+ vpandn ymm2,ymm6,YMMWORD PTR [rcx]
+ vpandn ymm2,ymm6,[rcx]
+ vpavgb ymm2,ymm6,ymm4
+ vpavgb ymm2,ymm6,YMMWORD PTR [rcx]
+ vpavgb ymm2,ymm6,[rcx]
+ vpavgw ymm2,ymm6,ymm4
+ vpavgw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpavgw ymm2,ymm6,[rcx]
+ vpcmpeqb ymm2,ymm6,ymm4
+ vpcmpeqb ymm2,ymm6,YMMWORD PTR [rcx]
+ vpcmpeqb ymm2,ymm6,[rcx]
+ vpcmpeqw ymm2,ymm6,ymm4
+ vpcmpeqw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpcmpeqw ymm2,ymm6,[rcx]
+ vpcmpeqd ymm2,ymm6,ymm4
+ vpcmpeqd ymm2,ymm6,YMMWORD PTR [rcx]
+ vpcmpeqd ymm2,ymm6,[rcx]
+ vpcmpeqq ymm2,ymm6,ymm4
+ vpcmpeqq ymm2,ymm6,YMMWORD PTR [rcx]
+ vpcmpeqq ymm2,ymm6,[rcx]
+ vpcmpgtb ymm2,ymm6,ymm4
+ vpcmpgtb ymm2,ymm6,YMMWORD PTR [rcx]
+ vpcmpgtb ymm2,ymm6,[rcx]
+ vpcmpgtw ymm2,ymm6,ymm4
+ vpcmpgtw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpcmpgtw ymm2,ymm6,[rcx]
+ vpcmpgtd ymm2,ymm6,ymm4
+ vpcmpgtd ymm2,ymm6,YMMWORD PTR [rcx]
+ vpcmpgtd ymm2,ymm6,[rcx]
+ vpcmpgtq ymm2,ymm6,ymm4
+ vpcmpgtq ymm2,ymm6,YMMWORD PTR [rcx]
+ vpcmpgtq ymm2,ymm6,[rcx]
+ vphaddw ymm2,ymm6,ymm4
+ vphaddw ymm2,ymm6,YMMWORD PTR [rcx]
+ vphaddw ymm2,ymm6,[rcx]
+ vphaddd ymm2,ymm6,ymm4
+ vphaddd ymm2,ymm6,YMMWORD PTR [rcx]
+ vphaddd ymm2,ymm6,[rcx]
+ vphaddsw ymm2,ymm6,ymm4
+ vphaddsw ymm2,ymm6,YMMWORD PTR [rcx]
+ vphaddsw ymm2,ymm6,[rcx]
+ vphsubw ymm2,ymm6,ymm4
+ vphsubw ymm2,ymm6,YMMWORD PTR [rcx]
+ vphsubw ymm2,ymm6,[rcx]
+ vphsubd ymm2,ymm6,ymm4
+ vphsubd ymm2,ymm6,YMMWORD PTR [rcx]
+ vphsubd ymm2,ymm6,[rcx]
+ vphsubsw ymm2,ymm6,ymm4
+ vphsubsw ymm2,ymm6,YMMWORD PTR [rcx]
+ vphsubsw ymm2,ymm6,[rcx]
+ vpmaddwd ymm2,ymm6,ymm4
+ vpmaddwd ymm2,ymm6,YMMWORD PTR [rcx]
+ vpmaddwd ymm2,ymm6,[rcx]
+ vpmaddubsw ymm2,ymm6,ymm4
+ vpmaddubsw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpmaddubsw ymm2,ymm6,[rcx]
+ vpmaxsb ymm2,ymm6,ymm4
+ vpmaxsb ymm2,ymm6,YMMWORD PTR [rcx]
+ vpmaxsb ymm2,ymm6,[rcx]
+ vpmaxsw ymm2,ymm6,ymm4
+ vpmaxsw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpmaxsw ymm2,ymm6,[rcx]
+ vpmaxsd ymm2,ymm6,ymm4
+ vpmaxsd ymm2,ymm6,YMMWORD PTR [rcx]
+ vpmaxsd ymm2,ymm6,[rcx]
+ vpmaxub ymm2,ymm6,ymm4
+ vpmaxub ymm2,ymm6,YMMWORD PTR [rcx]
+ vpmaxub ymm2,ymm6,[rcx]
+ vpmaxuw ymm2,ymm6,ymm4
+ vpmaxuw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpmaxuw ymm2,ymm6,[rcx]
+ vpmaxud ymm2,ymm6,ymm4
+ vpmaxud ymm2,ymm6,YMMWORD PTR [rcx]
+ vpmaxud ymm2,ymm6,[rcx]
+ vpminsb ymm2,ymm6,ymm4
+ vpminsb ymm2,ymm6,YMMWORD PTR [rcx]
+ vpminsb ymm2,ymm6,[rcx]
+ vpminsw ymm2,ymm6,ymm4
+ vpminsw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpminsw ymm2,ymm6,[rcx]
+ vpminsd ymm2,ymm6,ymm4
+ vpminsd ymm2,ymm6,YMMWORD PTR [rcx]
+ vpminsd ymm2,ymm6,[rcx]
+ vpminub ymm2,ymm6,ymm4
+ vpminub ymm2,ymm6,YMMWORD PTR [rcx]
+ vpminub ymm2,ymm6,[rcx]
+ vpminuw ymm2,ymm6,ymm4
+ vpminuw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpminuw ymm2,ymm6,[rcx]
+ vpminud ymm2,ymm6,ymm4
+ vpminud ymm2,ymm6,YMMWORD PTR [rcx]
+ vpminud ymm2,ymm6,[rcx]
+ vpmulhuw ymm2,ymm6,ymm4
+ vpmulhuw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpmulhuw ymm2,ymm6,[rcx]
+ vpmulhrsw ymm2,ymm6,ymm4
+ vpmulhrsw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpmulhrsw ymm2,ymm6,[rcx]
+ vpmulhw ymm2,ymm6,ymm4
+ vpmulhw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpmulhw ymm2,ymm6,[rcx]
+ vpmullw ymm2,ymm6,ymm4
+ vpmullw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpmullw ymm2,ymm6,[rcx]
+ vpmulld ymm2,ymm6,ymm4
+ vpmulld ymm2,ymm6,YMMWORD PTR [rcx]
+ vpmulld ymm2,ymm6,[rcx]
+ vpmuludq ymm2,ymm6,ymm4
+ vpmuludq ymm2,ymm6,YMMWORD PTR [rcx]
+ vpmuludq ymm2,ymm6,[rcx]
+ vpmuldq ymm2,ymm6,ymm4
+ vpmuldq ymm2,ymm6,YMMWORD PTR [rcx]
+ vpmuldq ymm2,ymm6,[rcx]
+ vpor ymm2,ymm6,ymm4
+ vpor ymm2,ymm6,YMMWORD PTR [rcx]
+ vpor ymm2,ymm6,[rcx]
+ vpsadbw ymm2,ymm6,ymm4
+ vpsadbw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsadbw ymm2,ymm6,[rcx]
+ vpshufb ymm2,ymm6,ymm4
+ vpshufb ymm2,ymm6,YMMWORD PTR [rcx]
+ vpshufb ymm2,ymm6,[rcx]
+ vpsignb ymm2,ymm6,ymm4
+ vpsignb ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsignb ymm2,ymm6,[rcx]
+ vpsignw ymm2,ymm6,ymm4
+ vpsignw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsignw ymm2,ymm6,[rcx]
+ vpsignd ymm2,ymm6,ymm4
+ vpsignd ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsignd ymm2,ymm6,[rcx]
+ vpsubb ymm2,ymm6,ymm4
+ vpsubb ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsubb ymm2,ymm6,[rcx]
+ vpsubw ymm2,ymm6,ymm4
+ vpsubw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsubw ymm2,ymm6,[rcx]
+ vpsubd ymm2,ymm6,ymm4
+ vpsubd ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsubd ymm2,ymm6,[rcx]
+ vpsubq ymm2,ymm6,ymm4
+ vpsubq ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsubq ymm2,ymm6,[rcx]
+ vpsubsb ymm2,ymm6,ymm4
+ vpsubsb ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsubsb ymm2,ymm6,[rcx]
+ vpsubsw ymm2,ymm6,ymm4
+ vpsubsw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsubsw ymm2,ymm6,[rcx]
+ vpsubusb ymm2,ymm6,ymm4
+ vpsubusb ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsubusb ymm2,ymm6,[rcx]
+ vpsubusw ymm2,ymm6,ymm4
+ vpsubusw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpsubusw ymm2,ymm6,[rcx]
+ vpunpckhbw ymm2,ymm6,ymm4
+ vpunpckhbw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpunpckhbw ymm2,ymm6,[rcx]
+ vpunpckhwd ymm2,ymm6,ymm4
+ vpunpckhwd ymm2,ymm6,YMMWORD PTR [rcx]
+ vpunpckhwd ymm2,ymm6,[rcx]
+ vpunpckhdq ymm2,ymm6,ymm4
+ vpunpckhdq ymm2,ymm6,YMMWORD PTR [rcx]
+ vpunpckhdq ymm2,ymm6,[rcx]
+ vpunpckhqdq ymm2,ymm6,ymm4
+ vpunpckhqdq ymm2,ymm6,YMMWORD PTR [rcx]
+ vpunpckhqdq ymm2,ymm6,[rcx]
+ vpunpcklbw ymm2,ymm6,ymm4
+ vpunpcklbw ymm2,ymm6,YMMWORD PTR [rcx]
+ vpunpcklbw ymm2,ymm6,[rcx]
+ vpunpcklwd ymm2,ymm6,ymm4
+ vpunpcklwd ymm2,ymm6,YMMWORD PTR [rcx]
+ vpunpcklwd ymm2,ymm6,[rcx]
+ vpunpckldq ymm2,ymm6,ymm4
+ vpunpckldq ymm2,ymm6,YMMWORD PTR [rcx]
+ vpunpckldq ymm2,ymm6,[rcx]
+ vpunpcklqdq ymm2,ymm6,ymm4
+ vpunpcklqdq ymm2,ymm6,YMMWORD PTR [rcx]
+ vpunpcklqdq ymm2,ymm6,[rcx]
+ vpxor ymm2,ymm6,ymm4
+ vpxor ymm2,ymm6,YMMWORD PTR [rcx]
+ vpxor ymm2,ymm6,[rcx]
+
+# Tests for op ymm/mem256, ymm
+ vpabsb ymm6,ymm4
+ vpabsb ymm4,YMMWORD PTR [rcx]
+ vpabsb ymm4,[rcx]
+ vpabsw ymm6,ymm4
+ vpabsw ymm4,YMMWORD PTR [rcx]
+ vpabsw ymm4,[rcx]
+ vpabsd ymm6,ymm4
+ vpabsd ymm4,YMMWORD PTR [rcx]
+ vpabsd ymm4,[rcx]
+
+# Tests for op imm8, ymm/mem256, ymm, ymm
+ vmpsadbw ymm2,ymm6,ymm4,7
+ vmpsadbw ymm2,ymm6,YMMWORD PTR [rcx],7
+ vmpsadbw ymm2,ymm6,[rcx],7
+ vpalignr ymm2,ymm6,ymm4,7
+ vpalignr ymm2,ymm6,YMMWORD PTR [rcx],7
+ vpalignr ymm2,ymm6,[rcx],7
+ vpblendw ymm2,ymm6,ymm4,7
+ vpblendw ymm2,ymm6,YMMWORD PTR [rcx],7
+ vpblendw ymm2,ymm6,[rcx],7
+
+# Tests for op ymm, ymm/mem256, ymm, ymm
+ vpblendvb ymm7,ymm2,ymm6,ymm4
+ vpblendvb ymm7,ymm2,YMMWORD PTR [rcx],ymm4
+ vpblendvb ymm7,ymm2,[rcx],ymm4
+
+# Tests for op xmm/mem128, ymm, ymm
+ vpsllw ymm2,ymm6,xmm4
+ vpsllw ymm2,ymm6,XMMWORD PTR [rcx]
+ vpsllw ymm2,ymm6,[rcx]
+ vpslld ymm2,ymm6,xmm4
+ vpslld ymm2,ymm6,XMMWORD PTR [rcx]
+ vpslld ymm2,ymm6,[rcx]
+ vpsllq ymm2,ymm6,xmm4
+ vpsllq ymm2,ymm6,XMMWORD PTR [rcx]
+ vpsllq ymm2,ymm6,[rcx]
+ vpsraw ymm2,ymm6,xmm4
+ vpsraw ymm2,ymm6,XMMWORD PTR [rcx]
+ vpsraw ymm2,ymm6,[rcx]
+ vpsrad ymm2,ymm6,xmm4
+ vpsrad ymm2,ymm6,XMMWORD PTR [rcx]
+ vpsrad ymm2,ymm6,[rcx]
+ vpsrlw ymm2,ymm6,xmm4
+ vpsrlw ymm2,ymm6,XMMWORD PTR [rcx]
+ vpsrlw ymm2,ymm6,[rcx]
+ vpsrld ymm2,ymm6,xmm4
+ vpsrld ymm2,ymm6,XMMWORD PTR [rcx]
+ vpsrld ymm2,ymm6,[rcx]
+ vpsrlq ymm2,ymm6,xmm4
+ vpsrlq ymm2,ymm6,XMMWORD PTR [rcx]
+ vpsrlq ymm2,ymm6,[rcx]
+
+# Tests for op xmm/mem128, ymm
+ vpmovsxbw ymm4,xmm4
+ vpmovsxbw ymm4,XMMWORD PTR [rcx]
+ vpmovsxbw ymm4,[rcx]
+ vpmovsxwd ymm4,xmm4
+ vpmovsxwd ymm4,XMMWORD PTR [rcx]
+ vpmovsxwd ymm4,[rcx]
+ vpmovsxdq ymm4,xmm4
+ vpmovsxdq ymm4,XMMWORD PTR [rcx]
+ vpmovsxdq ymm4,[rcx]
+ vpmovzxbw ymm4,xmm4
+ vpmovzxbw ymm4,XMMWORD PTR [rcx]
+ vpmovzxbw ymm4,[rcx]
+ vpmovzxwd ymm4,xmm4
+ vpmovzxwd ymm4,XMMWORD PTR [rcx]
+ vpmovzxwd ymm4,[rcx]
+ vpmovzxdq ymm4,xmm4
+ vpmovzxdq ymm4,XMMWORD PTR [rcx]
+ vpmovzxdq ymm4,[rcx]
+
+# Tests for op xmm/mem64, ymm
+ vpmovsxbd ymm6,xmm4
+ vpmovsxbd ymm4,QWORD PTR [rcx]
+ vpmovsxbd ymm4,[rcx]
+ vpmovsxwq ymm6,xmm4
+ vpmovsxwq ymm4,QWORD PTR [rcx]
+ vpmovsxwq ymm4,[rcx]
+ vpmovzxbd ymm6,xmm4
+ vpmovzxbd ymm4,QWORD PTR [rcx]
+ vpmovzxbd ymm4,[rcx]
+ vpmovzxwq ymm6,xmm4
+ vpmovzxwq ymm4,QWORD PTR [rcx]
+ vpmovzxwq ymm4,[rcx]
+
+# Tests for op xmm/mem32, ymm
+ vpmovsxbq ymm4,xmm4
+ vpmovsxbq ymm4,DWORD PTR [rcx]
+ vpmovsxbq ymm4,[rcx]
+ vpmovzxbq ymm4,xmm4
+ vpmovzxbq ymm4,DWORD PTR [rcx]
+ vpmovzxbq ymm4,[rcx]
diff --git a/gas/testsuite/gas/i386/x86-64-bmi2-intel.d b/gas/testsuite/gas/i386/x86-64-bmi2-intel.d
new file mode 100644
index 0000000..87c8500
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-bmi2-intel.d
@@ -0,0 +1,156 @@
+#as:
+#objdump: -dwMintel
+#name: x86-64 BMI2 insns (Intel disassembly)
+#source: x86-64-bmi2.s
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c4 e3 63 f0 f0 07 rorx esi,ebx,eax,0x7
+[ ]*[a-f0-9]+: c4 e3 63 f0 31 07 rorx esi,ebx,DWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 43 03 f0 d1 07 rorx r10d,r15d,r9d,0x7
+[ ]*[a-f0-9]+: c4 63 03 f0 11 07 rorx r10d,r15d,DWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e2 63 f6 f0 mulx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 63 f6 31 mulx esi,ebx,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 42 03 f6 d1 mulx r10d,r15d,r9d
+[ ]*[a-f0-9]+: c4 62 03 f6 11 mulx r10d,r15d,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 63 f5 f0 pdep esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 63 f5 31 pdep esi,ebx,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 42 03 f5 d1 pdep r10d,r15d,r9d
+[ ]*[a-f0-9]+: c4 62 03 f5 11 pdep r10d,r15d,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 62 f5 f0 pext esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 62 f5 31 pext esi,ebx,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 42 02 f5 d1 pext r10d,r15d,r9d
+[ ]*[a-f0-9]+: c4 62 02 f5 11 pext r10d,r15d,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 78 f5 f3 bzhi esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 60 f5 31 bzhi esi,DWORD PTR \[rcx\],ebx
+[ ]*[a-f0-9]+: c4 42 30 f5 d7 bzhi r10d,r15d,r9d
+[ ]*[a-f0-9]+: c4 62 30 f5 11 bzhi r10d,DWORD PTR \[rcx\],r9d
+[ ]*[a-f0-9]+: c4 e2 7a f7 f3 sarx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 62 f7 31 sarx esi,DWORD PTR \[rcx\],ebx
+[ ]*[a-f0-9]+: c4 42 32 f7 d7 sarx r10d,r15d,r9d
+[ ]*[a-f0-9]+: c4 62 32 f7 11 sarx r10d,DWORD PTR \[rcx\],r9d
+[ ]*[a-f0-9]+: c4 e2 79 f7 f3 shlx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 61 f7 31 shlx esi,DWORD PTR \[rcx\],ebx
+[ ]*[a-f0-9]+: c4 42 31 f7 d7 shlx r10d,r15d,r9d
+[ ]*[a-f0-9]+: c4 62 31 f7 11 shlx r10d,DWORD PTR \[rcx\],r9d
+[ ]*[a-f0-9]+: c4 e2 7b f7 f3 shrx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 63 f7 31 shrx esi,DWORD PTR \[rcx\],ebx
+[ ]*[a-f0-9]+: c4 42 33 f7 d7 shrx r10d,r15d,r9d
+[ ]*[a-f0-9]+: c4 62 33 f7 11 shrx r10d,DWORD PTR \[rcx\],r9d
+[ ]*[a-f0-9]+: c4 e3 e3 f0 f0 07 rorx rsi,rbx,rax,0x7
+[ ]*[a-f0-9]+: c4 e3 e3 f0 31 07 rorx rsi,rbx,QWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 43 83 f0 d1 07 rorx r10,r15,r9,0x7
+[ ]*[a-f0-9]+: c4 63 83 f0 11 07 rorx r10,r15,QWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e2 e3 f6 f0 mulx rsi,rbx,rax
+[ ]*[a-f0-9]+: c4 e2 e3 f6 31 mulx rsi,rbx,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 42 83 f6 d1 mulx r10,r15,r9
+[ ]*[a-f0-9]+: c4 62 83 f6 11 mulx r10,r15,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 e3 f5 f0 pdep rsi,rbx,rax
+[ ]*[a-f0-9]+: c4 e2 e3 f5 31 pdep rsi,rbx,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 42 83 f5 d1 pdep r10,r15,r9
+[ ]*[a-f0-9]+: c4 62 83 f5 11 pdep r10,r15,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 e2 f5 f0 pext rsi,rbx,rax
+[ ]*[a-f0-9]+: c4 e2 e2 f5 31 pext rsi,rbx,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 42 82 f5 d1 pext r10,r15,r9
+[ ]*[a-f0-9]+: c4 62 82 f5 11 pext r10,r15,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 f8 f5 f3 bzhi rsi,rbx,rax
+[ ]*[a-f0-9]+: c4 e2 f8 f5 31 bzhi rsi,QWORD PTR \[rcx\],rax
+[ ]*[a-f0-9]+: c4 42 b0 f5 d7 bzhi r10,r15,r9
+[ ]*[a-f0-9]+: c4 62 b0 f5 11 bzhi r10,QWORD PTR \[rcx\],r9
+[ ]*[a-f0-9]+: c4 e2 fa f7 f3 sarx rsi,rbx,rax
+[ ]*[a-f0-9]+: c4 e2 fa f7 31 sarx rsi,QWORD PTR \[rcx\],rax
+[ ]*[a-f0-9]+: c4 42 b2 f7 d7 sarx r10,r15,r9
+[ ]*[a-f0-9]+: c4 62 b2 f7 11 sarx r10,QWORD PTR \[rcx\],r9
+[ ]*[a-f0-9]+: c4 e2 f9 f7 f3 shlx rsi,rbx,rax
+[ ]*[a-f0-9]+: c4 e2 f9 f7 31 shlx rsi,QWORD PTR \[rcx\],rax
+[ ]*[a-f0-9]+: c4 42 b1 f7 d7 shlx r10,r15,r9
+[ ]*[a-f0-9]+: c4 62 b1 f7 11 shlx r10,QWORD PTR \[rcx\],r9
+[ ]*[a-f0-9]+: c4 e2 fb f7 f3 shrx rsi,rbx,rax
+[ ]*[a-f0-9]+: c4 e2 fb f7 31 shrx rsi,QWORD PTR \[rcx\],rax
+[ ]*[a-f0-9]+: c4 42 b3 f7 d7 shrx r10,r15,r9
+[ ]*[a-f0-9]+: c4 62 b3 f7 11 shrx r10,QWORD PTR \[rcx\],r9
+[ ]*[a-f0-9]+: c4 e3 63 f0 f0 07 rorx esi,ebx,eax,0x7
+[ ]*[a-f0-9]+: c4 e3 63 f0 31 07 rorx esi,ebx,DWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 43 2b f0 f9 07 rorx r15d,r10d,r9d,0x7
+[ ]*[a-f0-9]+: c4 63 2b f0 39 07 rorx r15d,r10d,DWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 63 f0 31 07 rorx esi,ebx,DWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e2 63 f6 f0 mulx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 63 f6 31 mulx esi,ebx,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 42 2b f6 f9 mulx r15d,r10d,r9d
+[ ]*[a-f0-9]+: c4 62 2b f6 39 mulx r15d,r10d,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 63 f6 31 mulx esi,ebx,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 63 f5 f0 pdep esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 63 f5 31 pdep esi,ebx,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 42 2b f5 f9 pdep r15d,r10d,r9d
+[ ]*[a-f0-9]+: c4 62 2b f5 39 pdep r15d,r10d,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 63 f5 31 pdep esi,ebx,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 62 f5 f0 pext esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 62 f5 31 pext esi,ebx,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 42 2a f5 f9 pext r15d,r10d,r9d
+[ ]*[a-f0-9]+: c4 62 2a f5 39 pext r15d,r10d,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 62 f5 31 pext esi,ebx,DWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 78 f5 f3 bzhi esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 60 f5 31 bzhi esi,DWORD PTR \[rcx\],ebx
+[ ]*[a-f0-9]+: c4 42 30 f5 fa bzhi r15d,r10d,r9d
+[ ]*[a-f0-9]+: c4 62 30 f5 39 bzhi r15d,DWORD PTR \[rcx\],r9d
+[ ]*[a-f0-9]+: c4 e2 60 f5 31 bzhi esi,DWORD PTR \[rcx\],ebx
+[ ]*[a-f0-9]+: c4 e2 7a f7 f3 sarx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 62 f7 31 sarx esi,DWORD PTR \[rcx\],ebx
+[ ]*[a-f0-9]+: c4 42 32 f7 fa sarx r15d,r10d,r9d
+[ ]*[a-f0-9]+: c4 62 32 f7 39 sarx r15d,DWORD PTR \[rcx\],r9d
+[ ]*[a-f0-9]+: c4 e2 62 f7 31 sarx esi,DWORD PTR \[rcx\],ebx
+[ ]*[a-f0-9]+: c4 e2 79 f7 f3 shlx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 61 f7 31 shlx esi,DWORD PTR \[rcx\],ebx
+[ ]*[a-f0-9]+: c4 42 31 f7 fa shlx r15d,r10d,r9d
+[ ]*[a-f0-9]+: c4 62 31 f7 39 shlx r15d,DWORD PTR \[rcx\],r9d
+[ ]*[a-f0-9]+: c4 e2 61 f7 31 shlx esi,DWORD PTR \[rcx\],ebx
+[ ]*[a-f0-9]+: c4 e2 7b f7 f3 shrx esi,ebx,eax
+[ ]*[a-f0-9]+: c4 e2 63 f7 31 shrx esi,DWORD PTR \[rcx\],ebx
+[ ]*[a-f0-9]+: c4 42 33 f7 fa shrx r15d,r10d,r9d
+[ ]*[a-f0-9]+: c4 62 33 f7 39 shrx r15d,DWORD PTR \[rcx\],r9d
+[ ]*[a-f0-9]+: c4 e2 63 f7 31 shrx esi,DWORD PTR \[rcx\],ebx
+[ ]*[a-f0-9]+: c4 e3 e3 f0 f0 07 rorx rsi,rbx,rax,0x7
+[ ]*[a-f0-9]+: c4 e3 e3 f0 31 07 rorx rsi,rbx,QWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 43 83 f0 d1 07 rorx r10,r15,r9,0x7
+[ ]*[a-f0-9]+: c4 63 83 f0 11 07 rorx r10,r15,QWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e3 e3 f0 31 07 rorx rsi,rbx,QWORD PTR \[rcx\],0x7
+[ ]*[a-f0-9]+: c4 e2 e3 f6 f0 mulx rsi,rbx,rax
+[ ]*[a-f0-9]+: c4 e2 e3 f6 31 mulx rsi,rbx,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 42 83 f6 d1 mulx r10,r15,r9
+[ ]*[a-f0-9]+: c4 62 83 f6 11 mulx r10,r15,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 e3 f6 31 mulx rsi,rbx,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 e3 f5 f0 pdep rsi,rbx,rax
+[ ]*[a-f0-9]+: c4 e2 e3 f5 31 pdep rsi,rbx,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 42 83 f5 d1 pdep r10,r15,r9
+[ ]*[a-f0-9]+: c4 62 83 f5 11 pdep r10,r15,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 e3 f5 31 pdep rsi,rbx,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 e2 f5 f0 pext rsi,rbx,rax
+[ ]*[a-f0-9]+: c4 e2 e2 f5 31 pext rsi,rbx,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 42 82 f5 d1 pext r10,r15,r9
+[ ]*[a-f0-9]+: c4 62 82 f5 11 pext r10,r15,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 e2 f5 31 pext rsi,rbx,QWORD PTR \[rcx\]
+[ ]*[a-f0-9]+: c4 e2 f8 f5 f3 bzhi rsi,rbx,rax
+[ ]*[a-f0-9]+: c4 e2 f8 f5 31 bzhi rsi,QWORD PTR \[rcx\],rax
+[ ]*[a-f0-9]+: c4 42 b0 f5 d7 bzhi r10,r15,r9
+[ ]*[a-f0-9]+: c4 62 b0 f5 11 bzhi r10,QWORD PTR \[rcx\],r9
+[ ]*[a-f0-9]+: c4 e2 f8 f5 31 bzhi rsi,QWORD PTR \[rcx\],rax
+[ ]*[a-f0-9]+: c4 e2 fa f7 f3 sarx rsi,rbx,rax
+[ ]*[a-f0-9]+: c4 e2 fa f7 31 sarx rsi,QWORD PTR \[rcx\],rax
+[ ]*[a-f0-9]+: c4 42 b2 f7 d7 sarx r10,r15,r9
+[ ]*[a-f0-9]+: c4 62 b2 f7 11 sarx r10,QWORD PTR \[rcx\],r9
+[ ]*[a-f0-9]+: c4 e2 fa f7 31 sarx rsi,QWORD PTR \[rcx\],rax
+[ ]*[a-f0-9]+: c4 e2 f9 f7 f3 shlx rsi,rbx,rax
+[ ]*[a-f0-9]+: c4 e2 f9 f7 31 shlx rsi,QWORD PTR \[rcx\],rax
+[ ]*[a-f0-9]+: c4 42 b1 f7 d7 shlx r10,r15,r9
+[ ]*[a-f0-9]+: c4 62 b1 f7 11 shlx r10,QWORD PTR \[rcx\],r9
+[ ]*[a-f0-9]+: c4 e2 f9 f7 31 shlx rsi,QWORD PTR \[rcx\],rax
+[ ]*[a-f0-9]+: c4 e2 fb f7 f3 shrx rsi,rbx,rax
+[ ]*[a-f0-9]+: c4 e2 fb f7 31 shrx rsi,QWORD PTR \[rcx\],rax
+[ ]*[a-f0-9]+: c4 42 b3 f7 d7 shrx r10,r15,r9
+[ ]*[a-f0-9]+: c4 62 b3 f7 11 shrx r10,QWORD PTR \[rcx\],r9
+[ ]*[a-f0-9]+: c4 e2 fb f7 31 shrx rsi,QWORD PTR \[rcx\],rax
+#pass
diff --git a/gas/testsuite/gas/i386/x86-64-bmi2.d b/gas/testsuite/gas/i386/x86-64-bmi2.d
new file mode 100644
index 0000000..0d5d37d
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-bmi2.d
@@ -0,0 +1,155 @@
+#as:
+#objdump: -dw
+#name: x86-64 BMI2 insns
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: c4 e3 63 f0 f0 07 rorx \$0x7,%eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e3 63 f0 31 07 rorx \$0x7,\(%rcx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 43 03 f0 d1 07 rorx \$0x7,%r9d,%r15d,%r10d
+[ ]*[a-f0-9]+: c4 63 03 f0 11 07 rorx \$0x7,\(%rcx\),%r15d,%r10d
+[ ]*[a-f0-9]+: c4 e2 63 f6 f0 mulx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f6 31 mulx \(%rcx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 42 03 f6 d1 mulx %r9d,%r15d,%r10d
+[ ]*[a-f0-9]+: c4 62 03 f6 11 mulx \(%rcx\),%r15d,%r10d
+[ ]*[a-f0-9]+: c4 e2 63 f5 f0 pdep %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f5 31 pdep \(%rcx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 42 03 f5 d1 pdep %r9d,%r15d,%r10d
+[ ]*[a-f0-9]+: c4 62 03 f5 11 pdep \(%rcx\),%r15d,%r10d
+[ ]*[a-f0-9]+: c4 e2 62 f5 f0 pext %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 62 f5 31 pext \(%rcx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 42 02 f5 d1 pext %r9d,%r15d,%r10d
+[ ]*[a-f0-9]+: c4 62 02 f5 11 pext \(%rcx\),%r15d,%r10d
+[ ]*[a-f0-9]+: c4 e2 78 f5 f3 bzhi %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 60 f5 31 bzhi %ebx,\(%rcx\),%esi
+[ ]*[a-f0-9]+: c4 42 30 f5 d7 bzhi %r9d,%r15d,%r10d
+[ ]*[a-f0-9]+: c4 62 30 f5 11 bzhi %r9d,\(%rcx\),%r10d
+[ ]*[a-f0-9]+: c4 e2 7a f7 f3 sarx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 62 f7 31 sarx %ebx,\(%rcx\),%esi
+[ ]*[a-f0-9]+: c4 42 32 f7 d7 sarx %r9d,%r15d,%r10d
+[ ]*[a-f0-9]+: c4 62 32 f7 11 sarx %r9d,\(%rcx\),%r10d
+[ ]*[a-f0-9]+: c4 e2 79 f7 f3 shlx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 61 f7 31 shlx %ebx,\(%rcx\),%esi
+[ ]*[a-f0-9]+: c4 42 31 f7 d7 shlx %r9d,%r15d,%r10d
+[ ]*[a-f0-9]+: c4 62 31 f7 11 shlx %r9d,\(%rcx\),%r10d
+[ ]*[a-f0-9]+: c4 e2 7b f7 f3 shrx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f7 31 shrx %ebx,\(%rcx\),%esi
+[ ]*[a-f0-9]+: c4 42 33 f7 d7 shrx %r9d,%r15d,%r10d
+[ ]*[a-f0-9]+: c4 62 33 f7 11 shrx %r9d,\(%rcx\),%r10d
+[ ]*[a-f0-9]+: c4 e3 e3 f0 f0 07 rorx \$0x7,%rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e3 e3 f0 31 07 rorx \$0x7,\(%rcx\),%rbx,%rsi
+[ ]*[a-f0-9]+: c4 43 83 f0 d1 07 rorx \$0x7,%r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 63 83 f0 11 07 rorx \$0x7,\(%rcx\),%r15,%r10
+[ ]*[a-f0-9]+: c4 e2 e3 f6 f0 mulx %rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 e3 f6 31 mulx \(%rcx\),%rbx,%rsi
+[ ]*[a-f0-9]+: c4 42 83 f6 d1 mulx %r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 62 83 f6 11 mulx \(%rcx\),%r15,%r10
+[ ]*[a-f0-9]+: c4 e2 e3 f5 f0 pdep %rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 e3 f5 31 pdep \(%rcx\),%rbx,%rsi
+[ ]*[a-f0-9]+: c4 42 83 f5 d1 pdep %r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 62 83 f5 11 pdep \(%rcx\),%r15,%r10
+[ ]*[a-f0-9]+: c4 e2 e2 f5 f0 pext %rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 e2 f5 31 pext \(%rcx\),%rbx,%rsi
+[ ]*[a-f0-9]+: c4 42 82 f5 d1 pext %r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 62 82 f5 11 pext \(%rcx\),%r15,%r10
+[ ]*[a-f0-9]+: c4 e2 f8 f5 f3 bzhi %rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 f8 f5 31 bzhi %rax,\(%rcx\),%rsi
+[ ]*[a-f0-9]+: c4 42 b0 f5 d7 bzhi %r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 62 b0 f5 11 bzhi %r9,\(%rcx\),%r10
+[ ]*[a-f0-9]+: c4 e2 fa f7 f3 sarx %rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 fa f7 31 sarx %rax,\(%rcx\),%rsi
+[ ]*[a-f0-9]+: c4 42 b2 f7 d7 sarx %r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 62 b2 f7 11 sarx %r9,\(%rcx\),%r10
+[ ]*[a-f0-9]+: c4 e2 f9 f7 f3 shlx %rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 f9 f7 31 shlx %rax,\(%rcx\),%rsi
+[ ]*[a-f0-9]+: c4 42 b1 f7 d7 shlx %r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 62 b1 f7 11 shlx %r9,\(%rcx\),%r10
+[ ]*[a-f0-9]+: c4 e2 fb f7 f3 shrx %rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 fb f7 31 shrx %rax,\(%rcx\),%rsi
+[ ]*[a-f0-9]+: c4 42 b3 f7 d7 shrx %r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 62 b3 f7 11 shrx %r9,\(%rcx\),%r10
+[ ]*[a-f0-9]+: c4 e3 63 f0 f0 07 rorx \$0x7,%eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e3 63 f0 31 07 rorx \$0x7,\(%rcx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 43 2b f0 f9 07 rorx \$0x7,%r9d,%r10d,%r15d
+[ ]*[a-f0-9]+: c4 63 2b f0 39 07 rorx \$0x7,\(%rcx\),%r10d,%r15d
+[ ]*[a-f0-9]+: c4 e3 63 f0 31 07 rorx \$0x7,\(%rcx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f6 f0 mulx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f6 31 mulx \(%rcx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 42 2b f6 f9 mulx %r9d,%r10d,%r15d
+[ ]*[a-f0-9]+: c4 62 2b f6 39 mulx \(%rcx\),%r10d,%r15d
+[ ]*[a-f0-9]+: c4 e2 63 f6 31 mulx \(%rcx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f5 f0 pdep %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f5 31 pdep \(%rcx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 42 2b f5 f9 pdep %r9d,%r10d,%r15d
+[ ]*[a-f0-9]+: c4 62 2b f5 39 pdep \(%rcx\),%r10d,%r15d
+[ ]*[a-f0-9]+: c4 e2 63 f5 31 pdep \(%rcx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 62 f5 f0 pext %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 62 f5 31 pext \(%rcx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 42 2a f5 f9 pext %r9d,%r10d,%r15d
+[ ]*[a-f0-9]+: c4 62 2a f5 39 pext \(%rcx\),%r10d,%r15d
+[ ]*[a-f0-9]+: c4 e2 62 f5 31 pext \(%rcx\),%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 78 f5 f3 bzhi %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 60 f5 31 bzhi %ebx,\(%rcx\),%esi
+[ ]*[a-f0-9]+: c4 42 30 f5 fa bzhi %r9d,%r10d,%r15d
+[ ]*[a-f0-9]+: c4 62 30 f5 39 bzhi %r9d,\(%rcx\),%r15d
+[ ]*[a-f0-9]+: c4 e2 60 f5 31 bzhi %ebx,\(%rcx\),%esi
+[ ]*[a-f0-9]+: c4 e2 7a f7 f3 sarx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 62 f7 31 sarx %ebx,\(%rcx\),%esi
+[ ]*[a-f0-9]+: c4 42 32 f7 fa sarx %r9d,%r10d,%r15d
+[ ]*[a-f0-9]+: c4 62 32 f7 39 sarx %r9d,\(%rcx\),%r15d
+[ ]*[a-f0-9]+: c4 e2 62 f7 31 sarx %ebx,\(%rcx\),%esi
+[ ]*[a-f0-9]+: c4 e2 79 f7 f3 shlx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 61 f7 31 shlx %ebx,\(%rcx\),%esi
+[ ]*[a-f0-9]+: c4 42 31 f7 fa shlx %r9d,%r10d,%r15d
+[ ]*[a-f0-9]+: c4 62 31 f7 39 shlx %r9d,\(%rcx\),%r15d
+[ ]*[a-f0-9]+: c4 e2 61 f7 31 shlx %ebx,\(%rcx\),%esi
+[ ]*[a-f0-9]+: c4 e2 7b f7 f3 shrx %eax,%ebx,%esi
+[ ]*[a-f0-9]+: c4 e2 63 f7 31 shrx %ebx,\(%rcx\),%esi
+[ ]*[a-f0-9]+: c4 42 33 f7 fa shrx %r9d,%r10d,%r15d
+[ ]*[a-f0-9]+: c4 62 33 f7 39 shrx %r9d,\(%rcx\),%r15d
+[ ]*[a-f0-9]+: c4 e2 63 f7 31 shrx %ebx,\(%rcx\),%esi
+[ ]*[a-f0-9]+: c4 e3 e3 f0 f0 07 rorx \$0x7,%rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e3 e3 f0 31 07 rorx \$0x7,\(%rcx\),%rbx,%rsi
+[ ]*[a-f0-9]+: c4 43 83 f0 d1 07 rorx \$0x7,%r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 63 83 f0 11 07 rorx \$0x7,\(%rcx\),%r15,%r10
+[ ]*[a-f0-9]+: c4 e3 e3 f0 31 07 rorx \$0x7,\(%rcx\),%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 e3 f6 f0 mulx %rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 e3 f6 31 mulx \(%rcx\),%rbx,%rsi
+[ ]*[a-f0-9]+: c4 42 83 f6 d1 mulx %r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 62 83 f6 11 mulx \(%rcx\),%r15,%r10
+[ ]*[a-f0-9]+: c4 e2 e3 f6 31 mulx \(%rcx\),%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 e3 f5 f0 pdep %rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 e3 f5 31 pdep \(%rcx\),%rbx,%rsi
+[ ]*[a-f0-9]+: c4 42 83 f5 d1 pdep %r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 62 83 f5 11 pdep \(%rcx\),%r15,%r10
+[ ]*[a-f0-9]+: c4 e2 e3 f5 31 pdep \(%rcx\),%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 e2 f5 f0 pext %rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 e2 f5 31 pext \(%rcx\),%rbx,%rsi
+[ ]*[a-f0-9]+: c4 42 82 f5 d1 pext %r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 62 82 f5 11 pext \(%rcx\),%r15,%r10
+[ ]*[a-f0-9]+: c4 e2 e2 f5 31 pext \(%rcx\),%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 f8 f5 f3 bzhi %rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 f8 f5 31 bzhi %rax,\(%rcx\),%rsi
+[ ]*[a-f0-9]+: c4 42 b0 f5 d7 bzhi %r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 62 b0 f5 11 bzhi %r9,\(%rcx\),%r10
+[ ]*[a-f0-9]+: c4 e2 f8 f5 31 bzhi %rax,\(%rcx\),%rsi
+[ ]*[a-f0-9]+: c4 e2 fa f7 f3 sarx %rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 fa f7 31 sarx %rax,\(%rcx\),%rsi
+[ ]*[a-f0-9]+: c4 42 b2 f7 d7 sarx %r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 62 b2 f7 11 sarx %r9,\(%rcx\),%r10
+[ ]*[a-f0-9]+: c4 e2 fa f7 31 sarx %rax,\(%rcx\),%rsi
+[ ]*[a-f0-9]+: c4 e2 f9 f7 f3 shlx %rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 f9 f7 31 shlx %rax,\(%rcx\),%rsi
+[ ]*[a-f0-9]+: c4 42 b1 f7 d7 shlx %r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 62 b1 f7 11 shlx %r9,\(%rcx\),%r10
+[ ]*[a-f0-9]+: c4 e2 f9 f7 31 shlx %rax,\(%rcx\),%rsi
+[ ]*[a-f0-9]+: c4 e2 fb f7 f3 shrx %rax,%rbx,%rsi
+[ ]*[a-f0-9]+: c4 e2 fb f7 31 shrx %rax,\(%rcx\),%rsi
+[ ]*[a-f0-9]+: c4 42 b3 f7 d7 shrx %r9,%r15,%r10
+[ ]*[a-f0-9]+: c4 62 b3 f7 11 shrx %r9,\(%rcx\),%r10
+[ ]*[a-f0-9]+: c4 e2 fb f7 31 shrx %rax,\(%rcx\),%rsi
+#pass
diff --git a/gas/testsuite/gas/i386/x86-64-bmi2.s b/gas/testsuite/gas/i386/x86-64-bmi2.s
new file mode 100644
index 0000000..4976e84
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-bmi2.s
@@ -0,0 +1,175 @@
+# Check 64bit BMI2 instructions
+
+ .allow_index_reg
+ .text
+_start:
+
+# Test for op r32, r32, r/m32, imm8
+ rorx $7,%eax,%ebx,%esi
+ rorx $7,(%rcx),%ebx,%esi
+ rorx $7,%r9d,%r15d,%r10d
+ rorx $7,(%rcx),%r15d,%r10d
+
+# Test for op r32, r32, r/m32
+ mulx %eax,%ebx,%esi
+ mulx (%rcx),%ebx,%esi
+ mulx %r9d,%r15d,%r10d
+ mulx (%rcx),%r15d,%r10d
+ pdep %eax,%ebx,%esi
+ pdep (%rcx),%ebx,%esi
+ pdep %r9d,%r15d,%r10d
+ pdep (%rcx),%r15d,%r10d
+ pext %eax,%ebx,%esi
+ pext (%rcx),%ebx,%esi
+ pext %r9d,%r15d,%r10d
+ pext (%rcx),%r15d,%r10d
+
+# Test for op r32, r/m32, r32
+ bzhi %eax,%ebx,%esi
+ bzhi %ebx,(%rcx),%esi
+ bzhi %r9d,%r15d,%r10d
+ bzhi %r9d,(%rcx),%r10d
+ sarx %eax,%ebx,%esi
+ sarx %ebx,(%rcx),%esi
+ sarx %r9d,%r15d,%r10d
+ sarx %r9d,(%rcx),%r10d
+ shlx %eax,%ebx,%esi
+ shlx %ebx,(%rcx),%esi
+ shlx %r9d,%r15d,%r10d
+ shlx %r9d,(%rcx),%r10d
+ shrx %eax,%ebx,%esi
+ shrx %ebx,(%rcx),%esi
+ shrx %r9d,%r15d,%r10d
+ shrx %r9d,(%rcx),%r10d
+
+# Test for op r64, r64, r/m64, imm8
+ rorx $7,%rax,%rbx,%rsi
+ rorx $7,(%rcx),%rbx,%rsi
+ rorx $7,%r9,%r15,%r10
+ rorx $7,(%rcx),%r15,%r10
+
+# Test for op r64, r64, r/m64
+ mulx %rax,%rbx,%rsi
+ mulx (%rcx),%rbx,%rsi
+ mulx %r9,%r15,%r10
+ mulx (%rcx),%r15,%r10
+ pdep %rax,%rbx,%rsi
+ pdep (%rcx),%rbx,%rsi
+ pdep %r9,%r15,%r10
+ pdep (%rcx),%r15,%r10
+ pext %rax,%rbx,%rsi
+ pext (%rcx),%rbx,%rsi
+ pext %r9,%r15,%r10
+ pext (%rcx),%r15,%r10
+
+# Test for op r64, r/m64, r64
+ bzhi %rax,%rbx,%rsi
+ bzhi %rax,(%rcx),%rsi
+ bzhi %r9,%r15,%r10
+ bzhi %r9,(%rcx),%r10
+ sarx %rax,%rbx,%rsi
+ sarx %rax,(%rcx),%rsi
+ sarx %r9,%r15,%r10
+ sarx %r9,(%rcx),%r10
+ shlx %rax,%rbx,%rsi
+ shlx %rax,(%rcx),%rsi
+ shlx %r9,%r15,%r10
+ shlx %r9,(%rcx),%r10
+ shrx %rax,%rbx,%rsi
+ shrx %rax,(%rcx),%rsi
+ shrx %r9,%r15,%r10
+ shrx %r9,(%rcx),%r10
+
+ .intel_syntax noprefix
+
+# Test for op r32, r32, r/m32, imm8
+ rorx esi,ebx,eax,7
+ rorx esi,ebx,DWORD PTR [rcx],7
+ rorx r15d,r10d,r9d,7
+ rorx r15d,r10d,DWORD PTR [rcx],7
+ rorx esi,ebx,[rcx],7
+
+# Test for op r32, r32, r/m32
+ mulx esi,ebx,eax
+ mulx esi,ebx,DWORD PTR [rcx]
+ mulx r15d,r10d,r9d
+ mulx r15d,r10d,DWORD PTR [rcx]
+ mulx esi,ebx,[rcx]
+ pdep esi,ebx,eax
+ pdep esi,ebx,DWORD PTR [rcx]
+ pdep r15d,r10d,r9d
+ pdep r15d,r10d,DWORD PTR [rcx]
+ pdep esi,ebx,[rcx]
+ pext esi,ebx,eax
+ pext esi,ebx,DWORD PTR [rcx]
+ pext r15d,r10d,r9d
+ pext r15d,r10d,DWORD PTR [rcx]
+ pext esi,ebx,[rcx]
+
+# Test for op r32, r/m32, r32
+ bzhi esi,ebx,eax
+ bzhi esi,DWORD PTR [rcx],ebx
+ bzhi r15d,r10d,r9d
+ bzhi r15d,DWORD PTR [rcx],r9d
+ bzhi esi,[rcx],ebx
+ sarx esi,ebx,eax
+ sarx esi,DWORD PTR [rcx],ebx
+ sarx r15d,r10d,r9d
+ sarx r15d,DWORD PTR [rcx],r9d
+ sarx esi,[rcx],ebx
+ shlx esi,ebx,eax
+ shlx esi,DWORD PTR [rcx],ebx
+ shlx r15d,r10d,r9d
+ shlx r15d,DWORD PTR [rcx],r9d
+ shlx esi,[rcx],ebx
+ shrx esi,ebx,eax
+ shrx esi,DWORD PTR [rcx],ebx
+ shrx r15d,r10d,r9d
+ shrx r15d,DWORD PTR [rcx],r9d
+ shrx esi,[rcx],ebx
+
+# Test for op r64, r64, r/m64, imm8
+ rorx rsi,rbx,rax,7
+ rorx rsi,rbx,QWORD PTR [rcx],7
+ rorx r10,r15,r9,7
+ rorx r10,r15,QWORD PTR [rcx],7
+ rorx rsi,rbx,[rcx],7
+
+# Test for op r64, r64, r/m64
+ mulx rsi,rbx,rax
+ mulx rsi,rbx,QWORD PTR [rcx]
+ mulx r10,r15,r9
+ mulx r10,r15,QWORD PTR [rcx]
+ mulx rsi,rbx,[rcx]
+ pdep rsi,rbx,rax
+ pdep rsi,rbx,QWORD PTR [rcx]
+ pdep r10,r15,r9
+ pdep r10,r15,QWORD PTR [rcx]
+ pdep rsi,rbx,[rcx]
+ pext rsi,rbx,rax
+ pext rsi,rbx,QWORD PTR [rcx]
+ pext r10,r15,r9
+ pext r10,r15,QWORD PTR [rcx]
+ pext rsi,rbx,[rcx]
+
+# Test for op r64, r/m64, r64
+ bzhi rsi,rbx,rax
+ bzhi rsi,QWORD PTR [rcx],rax
+ bzhi r10,r15,r9
+ bzhi r10,QWORD PTR [rcx],r9
+ bzhi rsi,[rcx],rax
+ sarx rsi,rbx,rax
+ sarx rsi,QWORD PTR [rcx],rax
+ sarx r10,r15,r9
+ sarx r10,QWORD PTR [rcx],r9
+ sarx rsi,[rcx],rax
+ shlx rsi,rbx,rax
+ shlx rsi,QWORD PTR [rcx],rax
+ shlx r10,r15,r9
+ shlx r10,QWORD PTR [rcx],r9
+ shlx rsi,[rcx],rax
+ shrx rsi,rbx,rax
+ shrx rsi,QWORD PTR [rcx],rax
+ shrx r10,r15,r9
+ shrx r10,QWORD PTR [rcx],r9
+ shrx rsi,[rcx],rax
diff --git a/gas/testsuite/gas/i386/x86-64-inval-invpcid.l b/gas/testsuite/gas/i386/x86-64-inval-invpcid.l
new file mode 100644
index 0000000..936ec35
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-inval-invpcid.l
@@ -0,0 +1,25 @@
+.*: Assembler messages:
+.*:4: Error: .*
+.*:5: Error: .*
+.*:6: Error: .*
+.*:7: Error: .*
+.*:10: Error: .*
+.*:11: Error: .*
+.*:12: Error: .*
+.*:13: Error: .*
+GAS LISTING .*
+
+
+[ ]*1[ ]+\# Check illegal 64bit INVPCID instructions
+[ ]*2[ ]+\.text
+[ ]*3[ ]+_start:
+[ ]*4[ ]+invvpid \(%rcx\), %bx
+[ ]*5[ ]+invvpid \(%rcx\), %ebx
+[ ]*6[ ]+invvpid %rbx, \(%rcx\)
+[ ]*7[ ]+invvpid %rbx, %rcx
+[ ]*8[ ]+
+[ ]*9[ ]+\.intel_syntax noprefix
+[ ]*10[ ]+invvpid bx, \[rcx\]
+[ ]*11[ ]+invvpid ebx, \[rcx\]
+[ ]*12[ ]+invvpid \[rcx\], rbx
+[ ]*13[ ]+invvpid rcx, rbx
diff --git a/gas/testsuite/gas/i386/x86-64-inval-invpcid.s b/gas/testsuite/gas/i386/x86-64-inval-invpcid.s
new file mode 100644
index 0000000..013270c
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-inval-invpcid.s
@@ -0,0 +1,13 @@
+# Check illegal 64bit INVPCID instructions
+ .text
+_start:
+ invvpid (%rcx), %bx
+ invvpid (%rcx), %ebx
+ invvpid %rbx, (%rcx)
+ invvpid %rbx, %rcx
+
+ .intel_syntax noprefix
+ invvpid bx, [rcx]
+ invvpid ebx, [rcx]
+ invvpid [rcx], rbx
+ invvpid rcx, rbx
diff --git a/gas/testsuite/gas/i386/x86-64-invpcid-intel.d b/gas/testsuite/gas/i386/x86-64-invpcid-intel.d
new file mode 100644
index 0000000..35dc9e9
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-invpcid-intel.d
@@ -0,0 +1,14 @@
+#as:
+#objdump: -dwMintel
+#name: x86-64 INVPCID insns (Intel disassembly)
+#source: x86-64-invpcid.s
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <foo>:
+[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid rdx,\[rax\]
+[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid rdx,\[rax\]
+#pass
diff --git a/gas/testsuite/gas/i386/x86-64-invpcid.d b/gas/testsuite/gas/i386/x86-64-invpcid.d
new file mode 100644
index 0000000..af0fc4a
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-invpcid.d
@@ -0,0 +1,13 @@
+#as:
+#objdump: -dw
+#name: x86-64 INVPCID insns
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+0+ <foo>:
+[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid \(%rax\),%rdx
+[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid \(%rax\),%rdx
+#pass
diff --git a/gas/testsuite/gas/i386/x86-64-invpcid.s b/gas/testsuite/gas/i386/x86-64-invpcid.s
new file mode 100644
index 0000000..89dd211
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-invpcid.s
@@ -0,0 +1,8 @@
+# Check 64bit INVPCID instruction
+
+ .text
+foo:
+ invpcid (%rax), %rdx
+
+ .intel_syntax noprefix
+ invpcid rdx,[rax]