[FFmpeg-devel] gcc: Remove auto-vectorization limitation.
Niklas Haas
ffmpeg at haasn.xyz
Tue Jun 3 19:14:16 EEST 2025
On Fri, 30 May 2025 09:58:48 +0300 Rémi Denis-Courmont <remi at remlab.net> wrote:
>
> That will harm performance on x87, whence fminf() and co are function calls rather than single instructions. What we actually should do is define separate macros for integer vs float vs double.
We have an open bug in swscale on 32-bit platforms where the use of x87 causes
non-bitexact results in 32-bit platforms, resolved by setting -mfpu=sse at
build time.
Maybe we should think about setting this flag globally?
>
> But there are hundreds of use sites to patch. To be bluntly honest, I don't have the motivation to carry that tedious repetitive work out in my free time.
>
> Br,
> _______________________________________________
> 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".
More information about the ffmpeg-devel
mailing list