1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-03 14:32:16 +02:00
FFmpeg/libavutil
Rémi Denis-Courmont 39ced529b0 lavu/riscv: implement floating point clips
Unlike x86, fmin/fmax are single instructions, not function calls. They
are much much faster than doing a comparison, then branching based on its
results. With this, audiodsp.vector_clipf gets almost twice as fast, and
a properly unrollled version of it gets 4-5x faster, on SiFive-U74.
This is only the low-hanging fruit: FFMIN and FFMAX are presumably
affected as well.

This likely applies to other instruction sets with native IEEE floats,
especially those lacking a conditional select instruction.
2024-07-28 21:24:58 +03:00
..
2024-06-13 21:16:16 +03:00
2024-03-15 12:51:15 +01:00
2023-07-12 15:35:37 +02:00
2024-07-21 17:02:12 +02:00
2024-03-10 13:51:37 +01:00
2024-03-04 17:45:00 +01:00
2024-03-31 00:08:43 +01:00
2023-11-18 19:55:42 +01:00
2024-03-15 12:51:15 +01:00
2024-07-21 17:02:13 +02:00
2023-09-07 00:42:10 +02:00
2024-05-28 03:48:04 +02:00
2024-05-04 21:31:33 -03:00
2024-06-14 21:28:10 +03:00
2024-06-01 18:05:58 +03:00
2024-06-01 18:05:58 +03:00
2023-09-07 00:42:10 +02:00
2023-09-07 00:42:10 +02:00
2023-09-07 00:42:10 +02:00
2024-03-31 00:08:43 +01:00
2024-01-16 01:34:57 +01:00
2023-09-07 00:42:10 +02:00
2024-03-31 00:08:43 +01:00
2023-09-01 23:59:10 +02:00
2023-08-08 09:46:11 +02:00
2023-08-08 09:46:11 +02:00
2024-07-14 18:33:56 +02:00
2024-07-14 18:33:56 +02:00