[Libre-soc-isa] [Bug 1061] change extsb/h/w definitions to scale input size with XLEN rather than convert from fixed sizes

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Apr 18 20:15:19 BST 2023


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

--- Comment #8 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Jacob Lifshay from comment #6)
> lkcl: note that imho you waay overcomplicated the extsb pseudocode, i think
> it should just be: RT <- EXTSXL((RA), XLEN/8)

if you don't want to use EXTSXL, the following should work:
RT[0:XLEN-1] <- EXTS((RA)[XLEN*7/8:XLEN-1])

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


More information about the Libre-SOC-ISA mailing list