Le torstaina 29. syyskuuta 2022, 22.51.59 EEST r...@remlab.net a écrit :
> From: Rémi Denis-Courmont
>
> This saves almost exactly 25% on SiFive U74.
>
> deemphasis_c: 11536.2
> deemphasis_rvf: 8654.2
One can get the same result with the C version using -ffast-math.
Forget this patch.
--
Le torstaina 29. syyskuuta 2022, 22.51.59 EEST r...@remlab.net a écrit :
> From: Rémi Denis-Courmont
>
> This saves almost exactly 25% on SiFive U74.
>
> deemphasis_c: 11536.2
> deemphasis_rvf: 8654.2
So well, if you trust godbolt.org, some better compiler is able to optimise
the C version
From: Rémi Denis-Courmont
This saves almost exactly 25% on SiFive U74.
deemphasis_c: 11536.2
deemphasis_rvf: 8654.2
---
libavcodec/opusdsp.c| 2 ++
libavcodec/opusdsp.h| 1 +
libavcodec/riscv/Makefile | 2 ++
libavcodec/riscv/opusdsp_init.c | 36