[libre-riscv-dev] RISCV-V Extension

Luke Kenneth Casson Leighton lkcl at lkcl.net
Wed May 20 18:05:59 BST 2020


On Wed, May 20, 2020 at 5:31 PM Yehowshua <yimmanuel3 at gatech.edu> wrote:
>
> It seems pretty similar to SimpleV.

yes.  i tracked what they were doing, and based VL, SUBVL, predication
etc. and many other aspects: data-dependent fail-on-first and so on.

> Register Length agnostic vector instructions that then get unrolled onto hardware as necessary.

actually the assumption is that there are hardware "lanes" and that if
there is a mismatch between VL (=2, =3) and the "Lanes" (4) those
non-matching "Lanes" run empty.

this is a fundamental design assumption, that although setting VL
*requests* a number of elements to be processed, the hardware does not
have to do exactly what is requested: it may assign any non-zero
*actual* VL.

luckily all loop assembly code is specifically designed to be
independent of what the hardware actually sets VL to on any given
loop.

l.



More information about the libre-riscv-dev mailing list