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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Sep 3 17:58:09 BST 2021


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

--- Comment #58 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
https://libre-soc.org/openpower/isa/comparefixed/

this one has some weirdness:

1) don't touch CRs (elwidth overrides do not apply to CRs).

2) only do RA, RB, RS

3) cmpeqb is... well, it's unusual (non-standard). should be
   rewritten as a for-loop just like is done in bpermd
   for i = 0 to (XLEN/8)

4) cmprb is *particularly* odd.  i have no problem *at all*
   with saying that this one *only* works on XLEN=64 and
   XLEN=32 and that XLEN=16 or XLEN=8 is UNDEFINED behaviour.

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


More information about the libre-soc-bugs mailing list