diff options
author | Rémi Denis-Courmont <remi@remlab.net> | 2023-07-16 15:08:08 +0300 |
---|---|---|
committer | Rémi Denis-Courmont <remi@remlab.net> | 2023-07-19 19:29:35 +0300 |
commit | b6585eb04c0f63f231ed16266c6ad893522dc750 (patch) | |
tree | bc10e79af8332dd8c925a5fafa5546450c3e3b88 /libavutil/cpu.h | |
parent | 98e4dd39c5d59d62f61f48f6e4a0192f6b46e5aa (diff) | |
download | ffmpeg-b6585eb04c0f63f231ed16266c6ad893522dc750.tar.gz |
lavu: add/use flag for RISC-V Zba extension
The code was blindly assuming that Zbb or V implied Zba. While the
earlier is practically always true, the later broke some QEMU setups,
as V was introduced earlier than Zba.
Diffstat (limited to 'libavutil/cpu.h')
-rw-r--r-- | libavutil/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/cpu.h b/libavutil/cpu.h index da486f9c7a..8dff341886 100644 --- a/libavutil/cpu.h +++ b/libavutil/cpu.h @@ -89,6 +89,7 @@ #define AV_CPU_FLAG_RVV_I64 (1 << 5) ///< Vectors of 64-bit int's */ #define AV_CPU_FLAG_RVV_F64 (1 << 6) ///< Vectors of double's #define AV_CPU_FLAG_RVB_BASIC (1 << 7) ///< Basic bit-manipulations +#define AV_CPU_FLAG_RVB_ADDR (1 << 8) ///< Address bit-manipulations /** * Return the flags which specify extensions supported by the CPU. |