Remove the extra VEX check
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 4 May 2012 18:06:38 +0000 (18:06 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 4 May 2012 18:06:38 +0000 (18:06 +0000)
* config/tc-i386.c (output_insn): Remove the extra VEX check.

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

index 8196733..ea8fa52 100644 (file)
@@ -1,5 +1,9 @@
 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
 
+       * config/tc-i386.c (output_insn): Remove the extra VEX check.
+
+2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
+
        * config/tc-i386.c (match_template): Improve unsupported error
        message.
 
index 3e47349..62085a0 100644 (file)
@@ -6257,8 +6257,7 @@ check_prefix:
            if (*q)
              FRAG_APPEND_1_CHAR (*q);
        }
-
-      if (i.tm.opcode_modifier.vex)
+      else
        {
          for (j = 0, q = i.prefix; j < ARRAY_SIZE (i.prefix); j++, q++)
            if (*q)