[Libre-soc-isa] [Bug 1055] update ls004 OPF RFC to include LD-ST-Shifted instructions

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Nov 21 17:35:39 GMT 2023


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

--- Comment #33 from Jacob Lifshay <programmerjake at gmail.com> ---
spotted an error:
lfsupsx
current pseudo-code:
     EA <- (RA) + ((RB)<<(SH+1))
     FRT <- DOUBLE(MEM(RA, 4))
     RA <- EA

when reading from RA, it needs to be parenthesized, otherwise you get the
register number instead of the contents of the register:
     EA <- (RA) + ((RB)<<(SH+1))
     FRT <- DOUBLE(MEM((RA), 4)) <--- here
     RA <- EA

lfdupsx also has that issue

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


More information about the Libre-SOC-ISA mailing list