Re: [FFmpeg-devel] [PATCH] lavc/vc1dsp: fix R-V V vector lengths

2023-12-16 Thread Martin Storsjö
On Sat, 16 Dec 2023, Rémi Denis-Courmont wrote: The 8x4 and 4x4 use a needlessly large multiplier (unless/until we care about embedded 64-bit-vector hardware). This is merely suboptimal. The 8x4 case also uses an incorrect vector length, which leads to incorrect behaviour on

[FFmpeg-devel] [PATCH] lavc/vc1dsp: fix R-V V vector lengths

2023-12-16 Thread Rémi Denis-Courmont
The 8x4 and 4x4 use a needlessly large multiplier (unless/until we care about embedded 64-bit-vector hardware). This is merely suboptimal. The 8x4 case also uses an incorrect vector length, which leads to incorrect behaviour on future/hypothetical hardware with 256-bit or larger vectors.