[Libre-soc-dev] pack/unpack

lkcl luke.leighton at gmail.com
Tue Sep 27 17:43:56 BST 2022

On Wed, Sep 14, 2022 at 12:18 PM lkcl <luke.leighton at gmail.com> wrote:
> https://bugs.libre-soc.org/show_bug.cgi?id=871#c7
> the epic saga on pack/unpack continues.

unnbelievable, i have everything working including predication, now.

predication was particularly obtuse because with the inversion of the
order of inner-outer vl <-> subvl loops being swapped over, the former
code "if step >= vl then stop instruction" no longer worked, and
"if predicate bit set and step <= vl increment step" definitely didn't...
because that's now an *inner* loop and has to be restarted for the
*outer* subvl loop...

complicated as hell given that two *completely separate* re-entrant
Finite State Machines had to be created, one for srcstep/substep
and one for dststep/substep.

there's a couple more unit tests to be written, then that saga can be
signed off, but it basically brings automatic transpose on *either*
source *or* destination up to 2x 3x or 4x as 2D Matrices.

a tidyup can be done later.


More information about the Libre-soc-dev mailing list