[FFmpeg-devel] [PATCH 1/3] riscv: add Zvbb vector bit manipulation extension

Martin Storsjö martin at martin.st
Tue May 7 23:34:14 EEST 2024


On Tue, 7 May 2024, Rémi Denis-Courmont wrote:

> ---
> Makefile                  | 2 +-
> configure                 | 3 +++
> doc/APIchanges            | 3 +++
> ffbuild/arch.mak          | 1 +
> libavutil/cpu.h           | 1 +
> libavutil/tests/cpu.c     | 1 +
> tests/checkasm/checkasm.c | 1 +
> 7 files changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/libavutil/tests/cpu.c b/libavutil/tests/cpu.c
> index d91bfeab5c..10e620963b 100644
> --- a/libavutil/tests/cpu.c
> +++ b/libavutil/tests/cpu.c
> @@ -94,6 +94,7 @@ static const struct {
>     { AV_CPU_FLAG_RVV_F32,   "zve32f"     },
>     { AV_CPU_FLAG_RVV_I64,   "zve64x"     },
>     { AV_CPU_FLAG_RVV_F64,   "zve64d"     },
> +    { AV_CPU_FLAG_RV_ZVBB,   "zvbb"      },
> #endif
>     { 0 }
> };

Doesn't this test require you to add this extension to the list in 
libavutil/cpu.c as well?

// Martin


More information about the ffmpeg-devel mailing list