[Libre-soc-bugs] [Bug 1155] O(n^2) multiplication REMAP mode(s)

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Dec 25 17:09:17 GMT 2023


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

--- Comment #30 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Luke Kenneth Casson Leighton from comment #28)

idea (bear in mind modulo on everything, so -ve nums will wrap)

 * submode2[1] triangle 0b0 x                   0b1 -x
 * submode2[2] triangle 0b0 y                   0b1 -y

 * submode2[1] square 0b0 x,y                   0b1 y,x
 * submode2[2] square 0b0 modulo shift on rows, 0b1 modulo shift on cols

and the modulo is VL (not MAXVL) which can be an extra parameter.
reminder:

* submode2[0] 0b00 modulo then add offset  0b01 add offset then modulo

so modulo (0..VL-1) plus offset has to be less than MAXVL which is fine.

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


More information about the libre-soc-bugs mailing list