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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Sep 6 04:58:30 BST 2021


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

--- Comment #64 from dmitry.selyutin at 3mdeb.com ---
(In reply to Jacob Lifshay from comment #62)
> In the case of addg6s, it totally can have XLEN overridden, since what it
> does is done on individual BCD digits (4-bit units)

I'm talking not only of can it be done or not, but also of the specs. One might
argue that we can work even with nibbles, since nibble is sufficient to hold a
single-digit BCD or truncated DPD (as long as it's less than 10). But with the
wording the specs uses there's not much room for that, and, before doing this,
we must agree that:
1. The specs wording is to be changed (e.g. for addg6s there should be no
mentioning of 16 bits, or double word); the whole wording should be
register-agnostic.
2. The pseudo-code should be updated respectively.

Once we agree on these, I can fill whatever logic we find appropriate.

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


More information about the libre-soc-bugs mailing list