Re: [PATCH v2] build: reduce use of AVX compiler flags

2025-05-29 Thread Bruce Richardson
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 fla

Re: [PATCH v2] build: reduce use of AVX compiler flags

2025-05-29 Thread Bruce Richardson
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 fla

[PATCH v2] build: reduce use of AVX compiler flags

2025-05-27 Thread Bruce Richardson
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