[Libre-soc-bugs] [Bug 671] convert spec pseudocode to use XLEN width

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Aug 22 21:14:10 BST 2021


--- Comment #18 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to dmitry.selyutin from comment #16)
> Actually the issue is simpler. We have `comparison MINUS`, which should've
> been `MINUS comparison`. I have no idea why it's called comparison, since
> it's more close to expr, but anyway. The only test that fails among $(find .
> -name "test_*caller*") is
> ./src/openpower/decoder/isa/test_caller_svstate.py. I don't see how this
> failure related to the changes, so I pushed them.

I think the unary minus should be detected in the `unary` production, otherwise
you have the issue that `-a < b` is parsed as `-(a < b)`, which is not desired.

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

More information about the libre-soc-bugs mailing list