From: Michael Zolotukhin Date: Wed, 22 Jan 2014 19:39:02 +0000 (-0800) Subject: Remove regzmm from AVX2 gather assert X-Git-Tag: gdb-7.8-release~1500 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c84a0ca904a7a80262506f70ccbe09f99a68535;p=external%2Fbinutils.git Remove regzmm from AVX2 gather assert Since regzmm can't be used in AVX2 gather instructions, there is no need to check regzmm in AVX2 gather assert. 2014-01-22 Michael Zolotukhin * config/tc-i386.c (check_VecOperands): Remove regzmm from AVX2 gather assert. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index a79ceb9..6a64141 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 2014-01-22 Michael Zolotukhin + * config/tc-i386.c (check_VecOperands): Remove regzmm from AVX2 + gather assert. + +2014-01-22 Michael Zolotukhin + PR gas/16489 * config/tc-i386.c (check_VecOperands): Add check for invalid register set in AVX512 gathers. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 34af1a1..7f35f05 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -4374,11 +4374,9 @@ check_VecOperands (const insn_template *t) if (i.reg_operands == 2 && !i.mask) { gas_assert (i.types[0].bitfield.regxmm - || i.types[0].bitfield.regymm - || i.types[0].bitfield.regzmm); + || i.types[0].bitfield.regymm); gas_assert (i.types[2].bitfield.regxmm - || i.types[2].bitfield.regymm - || i.types[2].bitfield.regzmm); + || i.types[2].bitfield.regymm); if (operand_check == check_none) return 0; if (register_number (i.op[0].regs)