• Rémi Denis-Courmont's avatar
    lavu/cpu: detect RISC-V base extensions · b95e2fbd
    Rémi Denis-Courmont authored
    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 as things stand, checkasm wants them that way. Compare the ARMV8
    flag on AArch64. We are nowhere near running short on CPU flag bits.
    b95e2fbd
cpu_internal.h 2.44 KB