aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2008-01-10 20:53:27 +0000
committerH.J. Lu <hjl.tools@gmail.com>2008-01-10 20:53:27 +0000
commit2dbab7d57298a8e3b7567bc3ae5158b83ec22a3f (patch)
tree8ee47fcf97ae45c65e1af2e4d23696757980ca82 /gas/config
parentb5b1fc4fc87efdc058c12a6fe26e8387cc744b86 (diff)
downloadgdb-2dbab7d57298a8e3b7567bc3ae5158b83ec22a3f.zip
gdb-2dbab7d57298a8e3b7567bc3ae5158b83ec22a3f.tar.gz
gdb-2dbab7d57298a8e3b7567bc3ae5158b83ec22a3f.tar.bz2
2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Continue if processor doesn't match.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 7ac2442..4d2c7c5 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -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