ffmpeg/tests/checkasm
Rémi Denis-Courmont 0c0a3deb18 lavu/cpu: CPU flags for the RISC-V Vector extension
RVV defines a total of 12 different extensions, including:

- 5 different instruction subsets:
  - Zve32x: 8-, 16- and 32-bit integers,
  - Zve32f: Zve32x plus single precision floats,
  - Zve64x: Zve32x plus 64-bit integers,
  - Zve64f: Zve32f plus Zve64x,
  - Zve64d: Zve64f plus double precision floats.

- 6 different vector lengths:
  - Zvl32b (embedded only),
  - Zvl64b (embedded only),
  - Zvl128b,
  - Zvl256b,
  - Zvl512b,
  - Zvl1024b,

- and the V extension proper: equivalent to Zve64f and Zvl128b.

In total, there are 6 different possible sets of supported instructions
(including the empty set), but for convenience we allocate one bit for
each type sets: up-to-32-bit ints (RVV_I32), floats (RVV_F32),
64-bit ints (RVV_I64) and doubles (RVV_F64).

Whence the vector size is needed, it can be retrieved by reading the
unprivileged read-only vlenb CSR. This should probably be a separate
helper macro if needed at a later point.
2022-09-27 13:19:52 +02:00
..
aarch64
arm
x86
.gitignore
Makefile x86/lpc: implement a new Welch windowing function 2022-09-21 07:12:39 +02:00
aacpsdsp.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
af_afir.c avfilter/af_afir: Only keep DSP stuff in header 2022-05-06 05:19:49 +02:00
alacdsp.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
audiodsp.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
av_tx.c x86/tx_float: add 15xN PFA FFT AVX SIMD 2022-09-23 12:35:27 +02:00
blockdsp.c avcodec/blockdsp: Remove unused AVCodecContext parameter 2022-09-21 20:24:40 +02:00
bswapdsp.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
checkasm.c lavu/cpu: CPU flags for the RISC-V Vector extension 2022-09-27 13:19:52 +02:00
checkasm.h x86/lpc: implement a new Welch windowing function 2022-09-21 07:12:39 +02:00
exrdsp.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
fixed_dsp.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
flacdsp.c avcodec/flacdsp: Remove unused function parameter 2022-08-05 03:28:45 +02:00
float_dsp.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
fmtconvert.c avcodec/fmtconvert: Remove unused AVCodecContext parameter 2022-09-21 20:26:40 +02:00
g722dsp.c
h264dsp.c lavc/h264: move some shared code from h264dec to h264_parse 2022-01-26 15:23:30 +01:00
h264pred.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
h264qpel.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
hevc_add_res.c checkasm/hevc_add_res: add 12bit test 2022-08-16 14:00:34 +02:00
hevc_idct.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
hevc_pel.c checkasm/hevc_pel: Fix stack buffer overreads 2021-09-29 04:35:31 +02:00
hevc_sao.c checkasm: improve hevc_sao test 2022-05-25 08:04:58 +02:00
huffyuvdsp.c
idctdsp.c checkasm: Add idctdsp add/put-pixels-clamped tests 2022-04-01 10:03:33 +03:00
jpeg2000dsp.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
llviddsp.c Replace all occurences of av_mallocz_array() by av_calloc() 2021-09-20 01:03:52 +02:00
llviddspenc.c Remove unnecessary mem.h inclusions 2021-07-22 14:47:57 +02:00
lpc.c tests/checkasm/lpc: correct arithmetic when randomizing buffers 2022-09-23 01:50:59 +02:00
motion.c checkasm: motion: Test different h parameters 2022-08-17 00:00:50 +03:00
opusdsp.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
pixblockdsp.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
sbrdsp.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
sw_gbrp.c swscale/x86/input.asm: add x86-optimized planer rgb2yuv functions 2022-01-11 16:34:33 -03:00
sw_rgb.c Remove unnecessary mem.h inclusions 2021-07-22 14:47:57 +02:00
sw_scale.c checkasm: sw_scale: Produce more realistic test filter coefficients for yuv2yuvX 2022-08-19 22:54:51 +03:00
synth_filter.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
utvideodsp.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
v210dec.c avcodec/v210_dec: Move ff_v210dec_init into a header 2022-05-06 05:19:50 +02:00
v210enc.c avcodec/v210enc: Move ff_v210enc_init into a header 2022-05-06 05:33:38 +02:00
vc1dsp.c avcodec/vc1: Introduce fast path for unescaping bitstream buffer 2022-04-01 10:03:33 +03:00
vf_blend.c avfilter/vf_blend: Move ff_blend_init into a header 2022-05-06 05:19:49 +02:00
vf_colorspace.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
vf_eq.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
vf_gblur.c avfilter/vf_gblur: Move ff_gblur_init into a header 2022-05-06 05:19:49 +02:00
vf_hflip.c avfilter/vf_hflip: Move ff_hflip_init into a header 2022-05-06 05:19:50 +02:00
vf_nlmeans.c avfilter/vf_nlmeans: Move ff_nlmeans_init into a header 2022-05-06 05:19:50 +02:00
vf_threshold.c avfilter/vf_threshold: Move ff_threshold_init into a header 2022-05-06 05:19:50 +02:00
videodsp.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
vorbisdsp.c tests/checkasm: add a test for VorbisDSPContext 2022-09-19 21:28:23 -03:00
vp8dsp.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
vp9dsp.c checkasm/vp9dsp: rename the iszero function to is_zero 2021-06-08 13:11:22 -03:00