[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 18:44:04 BST 2021


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

--- Comment #8 from dmitry.selyutin at 3mdeb.com ---
(In reply to dmitry.selyutin from comment #7)
> The sign is considered to be a part of the token. If I drop [-]?, it gets
> parsed.

RA[XLEN-XLEN:XLEN-1] = RB[XLEN-XLEN:XLEN-1]

is converted to

eq(RA[XLEN - XLEN:XLEN - 1 + 1], RB[XLEN - XLEN:XLEN - 1 + 1])

Also, I've checked that we indeed don't need XLEN to be known, it's a simple
t_NAME.

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


More information about the libre-soc-bugs mailing list