RE: [RFC PATCH] build: reduce use of AVX compiler flags

2025-04-09 Thread Varghese, Vipin
[Public] Snipped > > > > > > > > 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 de

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

2025-04-09 Thread Bruce Richardson
On Wed, Apr 09, 2025 at 09:53:47AM +, Varghese, Vipin wrote: > [Public] > > Snipped > > > > > > 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' fla

RE: [RFC PATCH] build: reduce use of AVX compiler flags

2025-04-09 Thread Varghese, Vipin
[Public] Snipped > > > > 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

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

2025-03-26 Thread Stephen Hemminger
On Wed, 26 Mar 2025 19:06:58 +0100 Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Wednesday, 26 March 2025 17.22 > > > > On Tue, Mar 25, 2025 at 05:22:15PM +, Bruce Richardson wrote: > > > When doing a build for a target that already has the i

RE: [RFC PATCH] build: reduce use of AVX compiler flags

2025-03-26 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Wednesday, 26 March 2025 17.22 > > On Tue, Mar 25, 2025 at 05:22:15PM +, Bruce Richardson wrote: > > When doing a build for a target that already has the instruction sets > > for AVX2/AVX512 enabled, skip emitting the AVX com

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

2025-03-26 Thread Bruce Richardson
On Tue, Mar 25, 2025 at 05:22:15PM +, 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

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

2025-03-25 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. Depends-on: seri