[Libre-soc-bugs] [Bug 980] Implement C-based Power ISA pseudocode compiler

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Jan 7 02:44:23 GMT 2024


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

--- Comment #53 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Dmitry Selyutin from comment #48)
> I had to cheat a bit to force output of RA instead of (RA) for constructs
> like assignments and subscripts (the default is (RA), but subscripts and
> assignments are different).

ok RA refers to the bits in the opcode field, but annoyingly
when assigned (RA <- xyz) it is actually GPR[RA] that is getting
assigned to.

then also there is (RA|0) which is Shorthand for
"if RA=0 then 0 otherwise GPR[RA]"

sigh :)

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


More information about the libre-soc-bugs mailing list