* config/tc-i386.c (match_template): Check processor support
first.
2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
+ * config/tc-i386.c (match_template): Check processor support
+ first.
+
+2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
+
* config/tc-i386.c (match_template): Continue if processor
doesn't match.
if (i.operands != t->operands)
continue;
+ /* Check processor support. */
+ found_cpu_match = cpu_flags_match (t->cpu_flags) == 3;
+ if (!found_cpu_match)
+ continue;
+
/* Check old gcc support. */
if (!old_gcc && t->opcode_modifier.oldgcc)
continue;
continue;
/* Do not verify operands when there are none. */
- else
+ else
{
- found_cpu_match = cpu_flags_match (t->cpu_flags) == 3;
- if (!found_cpu_match)
- continue;
if (!t->operands)
/* We've found a match; break out of loop. */
break;