This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] x86: adjust immediate instruction operands handling
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Jan Beulich <JBeulich at novell dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 18 Jul 2005 07:56:16 -0700
- Subject: Re: [PATCH] x86: adjust immediate instruction operands handling
- References: <s2db62c7.062@lucius.provo.novell.com>
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.