aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Denis-Courmont <remi@remlab.net>2022-09-26 17:52:23 +0300
committerLynne <dev@lynne.ee>2022-09-27 13:19:52 +0200
commit04d092e7d5204f1aebb7e61f92bb263873e0f735 (patch)
treed1047a4697e6b3d7ec746d0fbf16dac161eb441c /doc
parent746f1ff36ac0d232687820fbde4e4efc79093af7 (diff)
downloadffmpeg-04d092e7d5204f1aebb7e61f92bb263873e0f735.tar.gz
lavc/audiodsp: RISC-V F vector_clipf
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. Benchmarks on SiFive U74-MC (courtesy of Shanghai StarFive Tech): audiodsp.vector_clipf_c: 29551.5 audiodsp.vector_clipf_rvf: 17871.0 Also tried unrolling with 2 or 8 elements but it gets worse either way.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions