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

Michael Niedermayer michael at niedermayer.cc
Sat Jul 12 00:41:28 EEST 2025


Hi Martin

On Thu, Jul 10, 2025 at 02:35:10PM +0300, Martin Storsjö wrote:
> 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.

I think for architectures where there is an active maintainer,
that maintainer should decide.

For architectures where there is noone looking after them, its
safer to leave it disabled. Otherwsie users could be having
complex to debug issues to deal with and noone in ffmpeg able to
replicate

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250711/b9e153ae/attachment.sig>


More information about the ffmpeg-devel mailing list