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

2025-06-27 Thread Thomas Monjalon
> > 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 > > x86-64-v4 '-march' flags, as they are unnecessary. Instead, when the > > default flags > > produce the desired output, just use them unmodified, a

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

2025-06-24 Thread Bruce Richardson
On Wed, Jun 11, 2025 at 11:53:10AM +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 > x86-64-v4 '-march' flags, as they are unnecessary. Instead, when > the default flags pr

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

2025-06-12 Thread Varghese, Vipin
[Public] > -Original Message- > From: Bruce Richardson > Sent: Wednesday, June 11, 2025 4:23 PM > To: dev@dpdk.org > Cc: Varghese, Vipin ; Bruce Richardson > > Subject: [PATCH v5] build: reduce use of AVX compiler flags > > Caution: This message originated f

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

2025-06-11 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 x86-64-v4 '-march' flags, as they are unnecessary. Instead, when the default flags produce the desired output, just use them unmodified, and don't bother addin