aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2cd9318..6e74012 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c (match_template): Use the xmmword field
+ instead of no_xsuf.
+
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (process_suffix): Fix a typo.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 222ab09..ee98f99 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -3048,7 +3048,7 @@ match_template (void)
else if (i.suffix == LONG_DOUBLE_MNEM_SUFFIX)
suffix_check.no_ldsuf = 1;
else if (i.suffix == XMMWORD_MNEM_SUFFIX)
- suffix_check.no_xsuf = 1;
+ suffix_check.xmmword = 1;
for (t = current_templates->start; t < current_templates->end; t++)
{
@@ -3088,7 +3088,7 @@ match_template (void)
&& (!t->opcode_modifier.word || !suffix_check.no_wsuf)
&& (!t->opcode_modifier.dword || !suffix_check.no_lsuf)
&& (!t->opcode_modifier.qword || !suffix_check.no_qsuf)
- && (!t->opcode_modifier.xmmword || !suffix_check.no_xsuf))
+ && (!t->opcode_modifier.xmmword || !suffix_check.xmmword))
continue;
for (j = 0; j < MAX_OPERANDS; j++)