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