[PATCH] x86/Intel: fix indirect far jmp/call with operand size specified

Meissner, Michael michael.meissner@amd.com
Fri Feb 29 17:59:00 GMT 2008


> -----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.



More information about the Binutils mailing list