[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 00:37:32 GMT 2023


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

--- Comment #27 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #26)
> (In reply to Jacob Lifshay from comment #24)
> 
> > I just checked, our parser currently has shifts as lower precedence than
> > addition, so it does parse RA + RB << shift as (RA + RB) << shift, which is
> > wrong here, so, shriya, luke, those shift expressions *need* to be
> > parenthesized.
> 
> no: we fix the parser.

no, the parser is correct in how it parses addition and shifts, it matches
PowerISA v3.1B afaict. everywhere I could see in the specification PDF it
parenthesizes shifts when adding (I went through every occurrence of << or >>
in the PDF).

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


More information about the Libre-SOC-ISA mailing list