bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/24546] x86-64 far jump/call encoding issues


From: hjl.tools at gmail dot com
Subject: [Bug gas/24546] x86-64 far jump/call encoding issues
Date: Tue, 14 May 2019 19:22:20 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=24546

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Andrew Cooper from comment #2)
> Yes.  That works on all 64bit capable processors.
> 
> The encoding which isn't supported in 64bit mode is the ptr:16:{16,32,64}
> encoding, which stores the segment and offset as immediate data operands in
> the instruction.
> 
> ~Andrew

AMD64 manual says:

CALL FAR pntr16:16 9A cd Far call direct, with the target specified by a far
pointer
contained in the instruction. (Invalid in 64-bit mode.)
CALL FAR pntr16:32 9A cp Far call direct, with the target specified by a far
pointer
contained in the instruction. (Invalid in 64-bit mode.)
CALL FAR mem16:16 FF /3 Far call indirect, with the target specified by a far
pointer
in memory.
CALL FAR mem16:32 FF /3 Far call indirect, with the target specified by a far
pointer
in memory.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]