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

Luke Kenneth Casson Leighton lkcl at lkcl.net
Mon Jun 14 18:13:26 BST 2021

example showing why macro processing is needed:

 # sv.fmuls/mr sum, fv0.v, fv1.v

although the FRT can be identified as scalar, the prefix abd suffix
are calculated from the *register number*.

"sum" is not a number, and to understand it the python svp64
converter, which is supposed to be very very simple and not duplicate
functionality of binutils gas, would have to understand the exact
binutils macro substitution.

i will think about it because for bare minimum functionality it might
be ok to implement.


On 6/14/21, Lauri Kasanen <cand at gmx.com> wrote:
> On Mon, 14 Jun 2021 13:52:43 +0100
> Luke Kenneth Casson Leighton <lkcl at lkcl.net> wrote:
>> so for setvli MVL=VL=8
>> you want
>> setvl 0,0,8,1,1
> ...wasn't that exactly the point of having a translator? Not having to
> do manual translation?
> - 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