From e8ea9724dfa6c65c2f0af4f73de5a5cba6bb88dc Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 10 Jan 2008 20:53:27 +0000 Subject: [PATCH] 2008-01-10 H.J. Lu * config/tc-i386.c (match_template): Continue if processor doesn't match. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.c | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index c4c64afc0..845ec2e9e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2008-01-10 H.J. Lu + + * config/tc-i386.c (match_template): Continue if processor + doesn't match. + 2008-01-09 Alexandre Oliva * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 7ac24423b..4d2c7c509 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 -- 2.11.4.GIT