[PATCH v2] build: reduce use of AVX compiler flags
Bruce Richardson
bruce.richardson at intel.com
Thu May 29 12:33:08 CEST 2025
On Tue, May 27, 2025 at 05:24:56PM +0100, Bruce Richardson wrote:
> When doing a build for a target that already has the instruction sets
> for AVX2/AVX512 enabled, skip emitting the AVX compiler flags, or the
> skylake-avx512 '-march' flags, as they are unnecessary. Instead, when
> the default flags produce the desired output, just use them unmodified,
> and don't bother adding in extra enabling flags for AVX2 or AVX-512.
>
> Depends-on: series-35006 ("doc/linux_gsg: update recommended compiler versions")
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
>
> V2: dropped the doc update for the minimum meson version. Based on
Mistake here in the update log - that should read "compiler version" not
"meson version"
More information about the dev
mailing list