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

Luke Kenneth Casson Leighton lkcl at lkcl.net
Thu Jun 17 11:28:12 BST 2021

oh, ha ha very funny

    # sv.fsubs/mr sum, sum, fv1.v

for i in range(8):
    sum = sum - fv[i]

i had this:

    # sv.fsubs/mr sum, fv1.v, sum

for i in range(8):
    sum =  fv[i] - sum

so the result was bouncing around -ve +ve -ve
no wonder the sign was wrong at the end :)

all good now.  ran samples1000-3000 and it's correct.


More information about the Libre-soc-dev mailing list