2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 10 Jan 2008 20:53:27 +0000 (20:53 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 10 Jan 2008 20:53:27 +0000 (20:53 +0000)
* config/tc-i386.c (match_template): Continue if processor
doesn't match.

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

index c4c64afc0e9a08beb49e92e75656315156f8744f..845ec2e9e0917bdb2a51f9347194d144238910db 100644 (file)
@@ -1,3 +1,8 @@
+2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (match_template): Continue if processor
+       doesn't match.
+
 2008-01-09  Alexandre Oliva  <aoliva@redhat.com>
 
        * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
index 7ac24423b99deb48f1b478a09c12acf2a5815fbd..4d2c7c509e79899e04029b14d49c1ca2d3137e92 100644 (file)
@@ -3056,13 +3056,11 @@ match_template (void)
       else 
        {
          found_cpu_match = cpu_flags_match (t->cpu_flags) == 3;
+         if (!found_cpu_match)
+           continue;
          if (!t->operands)
-           {
-             if (!found_cpu_match)
-               continue;
-             /* We've found a match; break out of loop.  */
-             break;
-           }
+           /* We've found a match; break out of loop.  */
+           break;
        }
 
       /* Address size prefix will turn Disp64/Disp32/Disp16 operand