[FFmpeg-devel] [PATCH 3/3] lavc/audiodsp: add RISC-V F float vector clip

2022-09-14 Thread remi
From: Rémi Denis-Courmont RV64G supports MIN & MAX instructions natively only on floating point registers, not general purpose ones. The later would require the Zbb extension. Due to that, it is actually faster to perform the clipping "properly" in FPU. Benchmarked on SiFive U74-MC: audiodsp.ve

Re: [FFmpeg-devel] [PATCH 3/3] lavc/audiodsp: add RISC-V F float vector clip

2022-09-14 Thread Rémi Denis-Courmont
Le keskiviikkona 14. syyskuuta 2022, 20.50.31 EEST r...@remlab.net a écrit : > From: Rémi Denis-Courmont > > RV64G supports MIN & MAX instructions natively only on floating point > registers, not general purpose ones. The later would require the Zbb > extension. Due to that, it is actually faster