[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
Sun Nov 19 01:22:10 GMT 2023


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

Jacob Lifshay <programmerjake at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.libre-soc.org/
                   |                            |show_bug.cgi?id=1082

--- Comment #22 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #21)
> EA <- (RA) + (RB)<<(SH+1)

note the shift should be parenthesized like so:
EA <- (RA) + ((RB) << (SH+1))
so you don't accidentally have it trying to do:
EA <- ((RA) + (RB)) << (SH+1)

this is necessary because our parser has the wrong precedence for some
operations (idk if that includes shifts) and it hasn't yet been fixed:
bug #1082

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


More information about the Libre-SOC-ISA mailing list