[FFmpeg-devel] [PATCH] swscale/x86/rgb2rgb: add SSE2 shuffle_bytes functions

Rémi Denis-Courmont remi at remlab.net
Sun Jun 9 19:05:34 EEST 2024


Le sunnuntaina 9. kesäkuuta 2024, 18.36.35 EEST James Almer a écrit :
> I obviously don't have that kind of information. You'd need to look at
> things like Steam's, Firefox's or Chrome's hardware surveys.

As discussed on IRC yesterday, Steam claims that 106.85% of processors support
SSE2 (and as many SSE3) but "only" 106.63% support SSSE3 (seriously). What
100% are, I don't know. AVX2 is close with 99.83% but no cigar.

In any case, there is a tiny but observable gap between SSE2 and SSSE3 there.

> >> It was easy to write and i don't feel particularly interested enough to
> >> argue, so if you think it's not worth adding, i can just remove the
> >> mmxext version and skip adding anything.
> > 
> > I think we should not optimize for CPUs that do not even have x86-64 v2.
> 
> What is x86-64 v2?

See
https://developers.redhat.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the ffmpeg-devel mailing list