aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMichael Zolotukhin <michael.v.zolotukhin@gmail.com>2014-01-22 11:39:02 -0800
committerH.J. Lu <hjl.tools@gmail.com>2014-01-22 11:39:02 -0800
commit7c84a0ca904a7a80262506f70ccbe09f99a68535 (patch)
treebb3d5cf1315920ddb00fdad7e55f3ed50d90a780 /gas
parent8444f82a1d163171deccfcf014cc31adb81f703b (diff)
downloadgdb-7c84a0ca904a7a80262506f70ccbe09f99a68535.zip
gdb-7c84a0ca904a7a80262506f70ccbe09f99a68535.tar.gz
gdb-7c84a0ca904a7a80262506f70ccbe09f99a68535.tar.bz2
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 <michael.v.zolotukhin@gmail.com> * config/tc-i386.c (check_VecOperands): Remove regzmm from AVX2 gather assert.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c6
2 files changed, 7 insertions, 4 deletions
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 <michael.v.zolotukhin@gmail.com>
+ * config/tc-i386.c (check_VecOperands): Remove regzmm from AVX2
+ gather assert.
+
+2014-01-22 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
+
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)