[FFmpeg-devel] [PATCH v3 1/9] lavc/vp9dsp: R-V ipred vert

Rémi Denis-Courmont remi at remlab.net
Tue May 14 20:00:16 EEST 2024


Le tiistaina 14. toukokuuta 2024, 7.45.29 EEST flow gg a écrit :
> I am locally using:
>     if (bpp == 8 && (flags & AV_CPU_FLAG_RVI) && (flags &
> AV_CPU_FLAG_RVB_ADDR)) {

There is no point testing the I flag if you test any other flag. The I flag is 
always set (since we don't, and probably never will, support RV32E) and only 
exists for the benefit of checkasm.

> this performs better on k230/banana_f3 than C.

It also performs better than C on SiFive U74, even though that design has 
veeeeeery slow unaligned access (emulated in SBI). Of course, it could just be 
that checkasm only tests aligned accesses and unaligned accesses are legal, 
hence my earlier question.

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the ffmpeg-devel mailing list