[Libre-soc-bugs] [Bug 911] svshape2 instruction (with offsets)
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Wed Aug 24 20:28:15 BST 2022
https://bugs.libre-soc.org/show_bug.cgi?id=911
Jacob Lifshay <programmerjake at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |programmerjake at gmail.com
--- Comment #1 from Jacob Lifshay <programmerjake at gmail.com> ---
notes: offset will need to be signed. the instruction should have a mode where
it doesn't change vl or mvl. imho having it be able to enable remap in the same
instruction is more important than being able to set matrix modes, it saves an
instruction in the common code sequence (the arithmetic operation and elwid
will vary):
# not actual proposed svshape2 syntax, just to tell you what gets set
svshape2 offset=-1, remap=rb, persistant=0
# merged vslideup and alu op, reads 1 byte from end of r63
sv.add/elwid=8 *32, *64, *32
equivalent to:
for i in range(vl):
regs[32 + i // 8].byte[i % 8] += regs[64 + (i - 1) // 8].byte[(i - 1) % 8]
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list