diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-10-08 19:22:01 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-10-08 19:22:01 +0000 |
commit | 8a72226ad5e5aa755c13705310e8eb88905c47e2 (patch) | |
tree | 550749d1135e850f08e92f6767b2fcb73e165766 /opcodes | |
parent | f409fd1e69832e0b86b1655710cec7997e1fea7a (diff) | |
download | gdb-8a72226ad5e5aa755c13705310e8eb88905c47e2.zip gdb-8a72226ad5e5aa755c13705310e8eb88905c47e2.tar.gz gdb-8a72226ad5e5aa755c13705310e8eb88905c47e2.tar.bz2 |
gas/testsuite/
2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run simd-suffix and x86-64-simd-suffix.
* gas/i386/simd-suffix.d: New.
* gas/i386/x86-64-simd-suffix.d: Likewise.
* gas/i386/x86-64-opcode.d: Updated.
* gas/i386/x86-64-simd.d: Likewise.
opcodes/
2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c: Updated comments for 'Y'.
(putop): Don't add 'q' for 'Y' if suffix_always isn't true.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/i386-dis.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 99b51e7..9d4edb0 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2007-10-08 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c: Updated comments for 'Y'. + (putop): Don't add 'q' for 'Y' if suffix_always isn't true. + 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org> * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition. diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 1da05e0..44101b9 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -712,7 +712,8 @@ struct dis386 { 'V' => print 'q' in 64bit mode and behave as 'S' otherwise 'W' => print 'b', 'w' or 'l' ('d' in Intel mode) 'X' => print 's', 'd' depending on data16 prefix (for XMM) - 'Y' => 'q' if instruction has an REX 64bit overwrite prefix + 'Y' => 'q' if instruction has an REX 64bit overwrite prefix and + suffix_always is true. 'Z' => print 'q' in 64bit mode and behave as 'L' otherwise Many of the above letters print nothing in Intel mode. See "putop" @@ -6170,7 +6171,7 @@ putop (const char *template, int sizeflag) used_prefixes |= (prefixes & PREFIX_DATA); break; case 'Y': - if (intel_syntax) + if (intel_syntax || !(sizeflag & SUFFIX_ALWAYS)) break; if (rex & REX_W) { |