[PATCH] x86: adjust immediate instruction operands handling

H. J. Lu hjl@lucon.org
Mon Jul 18 14:56:00 GMT 2005


On Mon, Jul 18, 2005 at 08:06:19AM -0600, Jan Beulich wrote:
> Until now, it was possible to use, for example (Intel Syntax),
> 
> 	shl	<byte-reg>, <imm8>
> 
> where <imm8> was either a forward reference or even an external
> absolute.
> However, it wasn't possible to do the same with 16-, 32-, or 64-bit
> registers, because the immediate's size and the register and/or suffix
> didn't match in size. This patch makes this consistent so that all
> forms
> get accepted.
> 

A testcase?


H.J.



More information about the Binutils mailing list