[FFmpeg-devel] [PATCH v5] gcc: Don't disable '-ftree-vectorize' if gcc version higher than 13.

Martin Storsjö martin at martin.st
Thu Jul 10 14:35:10 EEST 2025


On Thu, 10 Jul 2025, Jiawei wrote:

> Hi Martin,
>
> Is there any progress for this patch, should I resend it to the mailing list 
> again?

When I posted the updated version of the patch, the patchwork test runners 
noticed that this patch causes test failures on Loongarch. So modern 
versions of GCC still do have vectorization bugs, at least on some 
architectures.

I'm unsure if we should allow it everywhere, and just single out loongarch 
as a case where it is known broken, or if we should only let GCC enable it 
on the major architectures that we've tested.

In either case, we should isolate the compiler bugs on loongarch and 
report them, as well, so that they have a chance of getting the 
vectorization to work properly.

// Martin



More information about the ffmpeg-devel mailing list