[FFmpeg-devel] [PATCH 01/31] lavu/cpu: detect RISC-V base extensions

2022-09-25 Thread remi
From: Rémi Denis-Courmont This introduces compile-time and run-time CPU detection on RISC-V. In practice, I doubt that FFmpeg will ever see a RISC-V CPU without all of I, F and D extensions, and if it does, it probably won't have run-time detection. So the flags are essentially always set. But a

[FFmpeg-devel] [PATCH 01/31] lavu/cpu: detect RISC-V base extensions

2022-09-26 Thread remi
From: Rémi Denis-Courmont This introduces compile-time and run-time CPU detection on RISC-V. In practice, I doubt that FFmpeg will ever see a RISC-V CPU without all of I, F and D extensions, and if it does, it probably won't have run-time detection. So the flags are essentially always set. But a