Remove regzmm from AVX2 gather assert
authorMichael Zolotukhin <michael.v.zolotukhin@gmail.com>
Wed, 22 Jan 2014 19:39:02 +0000 (11:39 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 22 Jan 2014 19:39:02 +0000 (11:39 -0800)
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.

gas/ChangeLog
gas/config/tc-i386.c

index a79ceb948a2c9c08957e41b737a15e2bc2f97f26..6a641416c9f6ccfcebaeb4e6edd438984b1a82d6 100644 (file)
@@ -1,3 +1,8 @@
+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
index 34af1a186210f6dd6e36d11ef8deb6cb83e95c3b..7f35f055e7f348c6f1125a3c2efd32d2e1847af9 100644 (file)
@@ -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)