This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] x86-64: fix Intel mode disassembly of cbw/cwd extensions


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]