[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:55:26 GMT 2023
https://bugs.libre-soc.org/show_bug.cgi?id=1055
--- Comment #28 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Jacob Lifshay from comment #27)
> 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).
additionally, parenthesizing when operators whose relative precedence is less
commonly remembered (such as shifts and adds) makes the specification clearer,
so even if shift was higher precedence, I still think it would be wise to
parenthesize the shift.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libre-SOC-ISA
mailing list