[Libre-soc-dev] pysvp64asm: opcode setvli not supported

Luke Kenneth Casson Leighton lkcl at lkcl.net
Mon Jun 14 13:52:43 BST 2021

On 6/14/21, Lauri Kasanen <cand at gmx.com> wrote:
> Hi Luke,
> I've written the basic sv version of mp3_0. No idea if it works, but
> you can get it svp64'd at least, opcode by opcode. When you have time
> from the chip layout of course.


> If the results don't happen to match, well then we'll need the
> single-stepping, not sure if pysim had that yet.

yes it does

setvli is a pseudo assembler, like bne is a shortcut for bc cr.ne

so you need the full code, setvl x,y,z,w

specify all arguments in format


so for setvli MVL=VL=8

you want

setvl 0,0,8,1,1

> - Lauri
> _______________________________________________
> Libre-soc-dev mailing list
> Libre-soc-dev at lists.libre-soc.org
> http://lists.libre-soc.org/mailman/listinfo/libre-soc-dev

More information about the Libre-soc-dev mailing list