[FFmpeg-devel] [PATCH 3/3] lavc/svq1enc: R-V V ssd_int8_vs_int16

flow gg hlefthleft at gmail.com
Tue Jan 16 20:46:32 EET 2024


Okay, I updated it in the reply

Rémi Denis-Courmont <remi at remlab.net> 于2024年1月17日周三 02:04写道:

> +        vsetvli      t0, a2, e8, m2, tu, ma
> +        vle8.v       v0, (a0)
> +        sub          a2, a2, t0
> +        vsetvli      zero, t0, e16, m4, tu, ma
> +        vle16.v      v8, (a1)
> +        vsetvli      zero, t0, e8, m2, tu, ma
> +        vwsub.wv     v16, v8, v0
> +        vsetvli      zero, t0, e16, m4, tu, ma
>
> It looks to me like the second vsetvli is unnecessary, and consequently
> the
> third as well. As for the later ones, please use `vsetvli zero, zero` if
> you
> intend to change SEW while preserving VL and the LMUL:SEW ratio.
>
> --
> 雷米‧德尼-库尔蒙
> http://www.remlab.net/
>
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lavc-svq1enc-R-V-V-ssd_int8_vs_int16.patch
Type: text/x-patch
Size: 5506 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240117/6f3bede5/attachment.bin>


More information about the ffmpeg-devel mailing list