bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/25599] gas generates invalid PCREL60B relocation offset with br


From: dave.anglin at bell dot net
Subject: [Bug gas/25599] gas generates invalid PCREL60B relocation offset with brl.call
Date: Fri, 21 May 2021 17:18:49 +0000

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

--- Comment #12 from dave.anglin at bell dot net ---
On 2021-05-21 12:15 p.m., jvb at cyberscience dot com wrote:
> Specifying a slot value for a 2 slot instruction + immediate is clearly
> ambiguous without further clarification. HP interprets it one way, other
> platforms differently. I'd say neither is really right or wrong, it's
> unfortunate that there are differences but we're stuck with it now.
I agree.

On page 3:294 of the architecture, I see that the .mlx template has the X unit
instruction in slot 2.
However, the IP value used with the immediate is the address of the bundle
which contains the
current executing instruction (page 1:27).  So, the immediate value doesn't
depend on slot.  But
I still think it makes sense to apply the relocation to the X unit instruction
as it determines the X3, X4
immediate encoding.

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