From 7c84a0ca904a7a80262506f70ccbe09f99a68535 Mon Sep 17 00:00:00 2001 From: Michael Zolotukhin Date: Wed, 22 Jan 2014 11:39:02 -0800 Subject: [PATCH] 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. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.c | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index a79ceb948a2..6a641416c9f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 34af1a18621..7f35f055e7f 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) -- 2.30.2