aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-11-09 13:53:13 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-11-09 13:53:13 +0000
commit567e4e96bc3e2bb0118fdc61283d63a296be3fd0 (patch)
treed9dc5e00868b0f035a4618bd065d155995daf81a /gas/config
parent76a8ddb9e4849b256b4a104d6610d72d139a2f71 (diff)
downloadgdb-567e4e96bc3e2bb0118fdc61283d63a296be3fd0.zip
gdb-567e4e96bc3e2bb0118fdc61283d63a296be3fd0.tar.gz
gdb-567e4e96bc3e2bb0118fdc61283d63a296be3fd0.tar.bz2
2007-11-09 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Re-order suffix check.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index ecf122e..d0a387c 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -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++)