[Libre-soc-bugs] [Bug 238] POWER Compressed Formal Standard writeup

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Nov 19 03:53:12 GMT 2020


https://bugs.libre-soc.org/show_bug.cgi?id=238

--- Comment #44 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #43)


> ld r10, 0x10(r1)
> would be encoded using immediate (0x10 + 256) >> 3 == 0x22
> and
> ld r10, -0x58(r1)
> would have immediate (-0x58 + 256) >> 3 == 0x15

took me a while to realise you inverted the calculation, there.  the same
startpoint would work for lw/stw except >>2

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


More information about the libre-soc-bugs mailing list