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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Jan 10 16:23:13 GMT 2024


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

--- Comment #59 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #58)
> added WIP version of mul remap algorithm, it still needs proper SVSHAPE
> values filled in (I'm using mtspr for now 

that's a smart idea, should work fine as long as "modes"
are properly respected by remapyield.py ... they shouulld be...
you added... ah no, here, in svshape.py

    def get_iterator(self):
        log ("SVSHAPE get_iterator", self.mode, self.ydimsz, self.is_indexed())
        if self.mode == 0b00:
            iterate_fn = iterate_indices

should be "if self.mode in [0b00, 0b11]"

and that should do the trick

yes, svshape3 instruction can come later, semi-designed in comment #0
see "svshape3 TODO"

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


More information about the libre-soc-bugs mailing list