[Libre-soc-dev] pysvp64asm: opcode setvli not supported
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Tue Jun 15 16:23:29 BST 2021
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
On Tue, Jun 15, 2021 at 4:18 PM Lauri Kasanen <cand at gmx.com> wrote:
>
> Nice that it works, but I think that there's something going wrong here.
>
> That last op is MLSS:
> for i in range(8)
> sum -= fv0[i] * fv1[i]
>
> Subtraction, not add. So the neg after a mul-add loop should be there,
> no?
>
i looked again at the c code:
SUM8(MLSS, sum, w + 32, p);
*samples = round_sample(&sum);
*dither_state= sum;
all i know is, it produces the right answer :)
l.
More information about the Libre-soc-dev
mailing list