[FFmpeg-devel] [PATCH 2/4] lavc/rv34dsp: R-V V rv34_inv_transform_dc

Rémi Denis-Courmont remi at remlab.net
Fri Feb 9 23:13:41 EET 2024


Le keskiviikkona 7. helmikuuta 2024, 2.12.22 EET flow gg a écrit :
> My carelessness.. fixed it in the reply.

I know I said to avoid scalar multiplications, but this may be taking it a 
little too far. Either this works:
   slli t1, t0, 9
   sh2add t0, t0, t0
   sub t0, t1, t0
or just:
   li t1, 13 * 13 * 3
   mul t0, t0, t1

Also the second vsetvl seems pointless, unless you specifically meant that the 
pointer was aligned to 32 bits?

-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the ffmpeg-devel mailing list