2007-11-09 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 9 Nov 2007 13:53:13 +0000 (13:53 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 9 Nov 2007 13:53:13 +0000 (13:53 +0000)
* config/tc-i386.c (match_template): Re-order suffix check.

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

index 1690154..a54f9c7 100644 (file)
@@ -1,3 +1,7 @@
+2007-11-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (match_template): Re-order suffix check.
+
 2007-11-07  Bob Wilson  <bob.wilson@acm.org>
 
        * config/tc-xtensa.c (relaxable_section): Check for .eh_frame.
 
 2007-11-07  Anatoly Sokolov <aesok@post.ru>
 
-       * config/tc-avr.c (mcu_types): Add new devices: ATmega48P, ATmega88P,
-       ATmega168P, Atmega328P
+       * config/tc-avr.c (mcu_types): Add new devices: ATmega48P,
+       ATmega88P, ATmega168P, Atmega328P
        * doc/c-avr.texi: Document new devices.
 
 2007-11-07  Tristan Gingold  <gingold@adacore.com>
 
-        * config/tc-ppc.c (md_apply_fix): For PPC_TOC16 on XCOFF, uses offset
-        within the TOC instead of the VMA.
+       * config/tc-ppc.c (md_apply_fix): For PPC_TOC16 on XCOFF, uses
+       offset within the TOC instead of the VMA.
 
 2007-11-06  Paul Brook  <paul@codesourcery.com>
 
index ecf122e..d0a387c 100644 (file)
@@ -3011,13 +3011,13 @@ match_template (void)
        continue;
 
       /* Check the suffix, except for some instructions in intel mode.  */
-      if (((t->opcode_modifier.no_bsuf & suffix_check.no_bsuf)
-          || (t->opcode_modifier.no_wsuf & suffix_check.no_wsuf)
-          || (t->opcode_modifier.no_lsuf & suffix_check.no_lsuf)
-          || (t->opcode_modifier.no_ssuf & suffix_check.no_ssuf)
-          || (t->opcode_modifier.no_qsuf & suffix_check.no_qsuf)
-          || (t->opcode_modifier.no_ldsuf & suffix_check.no_ldsuf))
-         && !(intel_syntax && t->opcode_modifier.ignoresize))
+      if ((!intel_syntax || !t->opcode_modifier.ignoresize)
+         && ((t->opcode_modifier.no_bsuf && suffix_check.no_bsuf)
+             || (t->opcode_modifier.no_wsuf && suffix_check.no_wsuf)
+             || (t->opcode_modifier.no_lsuf && suffix_check.no_lsuf)
+             || (t->opcode_modifier.no_ssuf && suffix_check.no_ssuf)
+             || (t->opcode_modifier.no_qsuf && suffix_check.no_qsuf)
+             || (t->opcode_modifier.no_ldsuf && suffix_check.no_ldsuf)))
        continue;
 
       for (j = 0; j < MAX_OPERANDS; j++)