[PATCH] x86-64: fix Intel mode disassembly of cbw/cwd extensions
H. J. Lu
hjl@lucon.org
Fri Dec 1 14:39:00 GMT 2006
On Fri, Dec 01, 2006 at 12:26:08PM +0000, Jan Beulich wrote:
> cbw/cwd and derivates were not correctly disassembled in Intel mode.
>
> Built and tested on i686-pc-linux-gnu, x86_64-unknown-linux-gnu, and a few
> cross x86 targets.
>
> opcodes/
> 2006-11-30 Jan Beulich <jbeulich@novell.com>
>
> * i386-dis.c (dis386): Use 'R' and 'O' for cbw/cwd unconditionally.
> (putop): For 'O' suffix, print 'q' in Intel mode, and mark data prefix
> used. For 'R' and 'W' suffix, simplify and fix Intel mode.
>
> gas/testsuite/
> 2006-11-30 Jan Beulich <jbeulich@novell.com>
>
> * gas/i386/intel.s: Use Intel syntax in Intel syntax test.
> * gas/i386/x86-64-cbw.[sd]: New.
> * gas/i386/x86-64-cbw-intel.d: New.
> * gas/i386/i386.exp: Run new tests.
>
OK. Thanks.
H.J.
More information about the Binutils
mailing list