[Libre-soc-dev] Vertical-First mode with predicates

lkcl luke.leighton at gmail.com
Fri Jun 17 22:05:47 BST 2022


On Fri, Jun 17, 2022 at 9:55 PM Jacob Lifshay <programmerjake at gmail.com> wrote:

> imho it's fine, all you need is each sv.addi to read the value of r3 in program order,
> both the ld and addi should compute the same values every loop iteration.

yeah, funny that just writing out the instructions, the same thing occurred
to me.

Horizontal-First where the destination is a CR Field and the predicate is
a CR Field, that's definitely a problem.  likewise if the predicate is
r3, r10 or 31 and the destination overwrites one of those, clearly that's
bad as well.

i'd thought the same problem extended to Vertical-First but actually
now going through it, i'd agree it's fine.

l.



More information about the Libre-soc-dev mailing list