[FFmpeg-devel] [PATCH v3] gcc: Don't disable '-ftree-vectorize' if gcc version higher than 13.
Martin Storsjö
martin at martin.st
Thu Jun 12 14:08:20 EEST 2025
On Thu, 12 Jun 2025, Jiawei wrote:
> This patch modifies the FFmpeg build system to allow gcc use '-ftree-vectorize'
> option in newer releases.
>
> Modern GCC versions can be benefit when using the `-ftree-vectorize` flag.
> Through it can optimizations in loop analysis and SIMD code generation.
>
> Version log:
> Only allow GCC versions >= 13 to use -ftree-vectorize.
> Modify the commit description.
>
> Disscussion see:
> https://patchwork.ffmpeg.org/project/ffmpeg/patch/20250521061750.54882-1-jiawei@iscas.ac.cn/
>
Thanks for removing the somewhat misleading references to AVX, SVE and
RVV.
But please do include the references to the earlier reverted attempt at
reenabling this - that is key to why this may work better now than it did
last time.
// Martin
More information about the ffmpeg-devel
mailing list