This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: [PATCH] x86/Intel: fix indirect far jmp/call with operand size specified
- From: "Meissner, Michael" <michael dot meissner at amd dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, "Jan Beulich" <jbeulich at novell dot com>
- Cc: <binutils at sourceware dot org>, "Harle, Christophe" <christophe dot harle at amd dot com>
- Date: Fri, 29 Feb 2008 12:44:32 -0500
- Subject: RE: [PATCH] x86/Intel: fix indirect far jmp/call with operand size specified
> -----Original Message-----
> From: H.J. Lu [mailto:hjl.tools@gmail.com]
> Sent: Monday, February 25, 2008 11:58 AM
> To: Jan Beulich
> Cc: binutils@sourceware.org; Meissner, Michael
> Subject: Re: [PATCH] x86/Intel: fix indirect far jmp/call with operand
> size specified
>
> > AMD does *not* say it's invalid, as I stated above.
> >
>
> Hi Michael,
>
> Can you check if AMD64 allows "jmp/call r/m16" in 64bit, which is
> invalid for Intel64?
On AMD processors, jmp/call r/m16 is legal in 64-bit mode, so it would
be nice if the assembler allowed such instructions to be generated.