[FFmpeg-devel] [PATCH 5/7] lavc/me_cmp: R-V V vsse vsad

Rémi Denis-Courmont remi at remlab.net
Thu Feb 22 12:50:37 EET 2024



Le 22 février 2024 05:04:58 GMT+02:00, flow gg <hlefthleft at gmail.com> a écrit :
>.macro vabsaddu dst src tmp
>        - vneg.v          \tmp, \src
>        - vmax.vv         \tmp, \src, \tmp
>        + vfabs.v             \tmp, \src
>        vwaddu.wv       \dst, \dst, \tmp
>.endm
>
>After making this change, the tests did not pass. I'm not quite clear on
>how to understand the differences..

Well yeah, it was a stupid idea, but I'm sad that there's no integer absolute value instruction.


More information about the ffmpeg-devel mailing list