This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: osf.S using 3 operand jmp and jsr


On 02/25/2015 03:18 AM, John E. Malmberg wrote:
> I noticed that the src/alpha/osf.S is using 3 operand jmp and jsr instructions.
> 
> What does gas do with the third operand?

It encodes it in bits 0:13 as a branch prediction hint.

> The VMS Macro 64 assembler only supports 2 operand jmp/jsr instructions.

Since it's a hint, you can just drop it.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]