aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-10-04 18:29:29 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-10-04 18:29:29 +0000
commit955e1e6a77cac122171c75c5a475732400ea8d92 (patch)
treec525db1a445561a8d07c70fee9948d690eb9090a /gas/config
parent0f5f163810a47915de4187b7e2b51192c446b62b (diff)
downloadgdb-955e1e6a77cac122171c75c5a475732400ea8d92.zip
gdb-955e1e6a77cac122171c75c5a475732400ea8d92.tar.gz
gdb-955e1e6a77cac122171c75c5a475732400ea8d92.tar.bz2
gas/
2007-10-04 H.J. Lu <hongjiu.lu@intel.com> PR gas/5109 * config/tc-i386.c (process_suffix): Clear QWORD suffix if it is ignored in Intel mode. gas/testsuite/ 2007-10-04 H.J. Lu <hongjiu.lu@intel.com> PR gas/5109 * gas/i386/simd-intel.d: Updated. * gas/i386/simd.d: Likewise. * gas/i386/x86-64-simd-intel.d: Likewise. * gas/i386/x86-64-simd.d: Likewise. * gas/i386/simd.s: Add more tests. * gas/i386/x86-64-simd.s: Likewise.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 0669c03..56bf31f 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -3384,7 +3384,11 @@ process_suffix (void)
}
else if (i.suffix == QWORD_MNEM_SUFFIX)
{
- if (!check_qword_reg ())
+ if (intel_syntax
+ && i.tm.opcode_modifier.ignoresize
+ && i.tm.opcode_modifier.no_qsuf)
+ i.suffix = 0;
+ else if (!check_qword_reg ())
return 0;
}
else if (i.suffix == WORD_MNEM_SUFFIX)