[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 10:22:08 BST 2023
https://bugs.libre-soc.org/show_bug.cgi?id=1061
--- Comment #1 from Jacob Lifshay <programmerjake at gmail.com> ---
proposed:
XLEN=8:
extsb: 1-bit -> 8-bit sign extension
extsh: 2-bit -> 8-bit sign extension
extsw: 4-bit -> 8-bit sign extension
XLEN=16:
extsb: 2-bit -> 16-bit sign extension
extsh: 4-bit -> 16-bit sign extension
extsw: 8-bit -> 16-bit sign extension
XLEN=32:
extsb: 4-bit -> 32-bit sign extension
extsh: 8-bit -> 32-bit sign extension
extsw: 16-bit -> 32-bit sign extension
XLEN=64:
extsb: 8-bit -> 64-bit sign extension
extsh: 16-bit -> 64-bit sign extension
extsw: 32-bit -> 64-bit sign extension
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libre-SOC-ISA
mailing list