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

2025-06-10 Thread Varghese, Vipin
[AMD Official Use Only - AMD Internal Distribution Only] > -Original Message- > From: Bruce Richardson > Sent: Tuesday, June 10, 2025 8:37 PM > To: Varghese, Vipin > Cc: dev@dpdk.org; Song, Keesang > Subject: Re: [PATCH v4] build: reduce use of AVX compiler flags

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

2025-06-10 Thread Bruce Richardson
On Tue, Jun 10, 2025 at 02:52:24PM +, Varghese, Vipin wrote: > [Public] > > Snipped > > > > > > > In above log I get `2 instances of march`; logs `-march=native -mrtm > > > -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format- > > truncation -Wno-address-of-packed-member - > > DRTE_LOG_D

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

2025-06-10 Thread Varghese, Vipin
[Public] Snipped > > > > In above log I get `2 instances of march`; logs `-march=native -mrtm > > -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format- > truncation -Wno-address-of-packed-member - > DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.i40e -DCC_AVX512_SUPPORT - > march=skylake-avx512`. > > > >

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

2025-06-10 Thread Bruce Richardson
On Tue, Jun 10, 2025 at 01:02:12PM +, Varghese, Vipin wrote: > [Public] > > Hi Bruce, > > Snipped > > > > > > > > > > > > > Hi Bruce, we have reviewed this internally and tested the same. > > > > > > We would like > > > > > your thought for the following. > > > > > > > > > > > > - Before pat

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

2025-06-10 Thread Varghese, Vipin
[Public] Hi Bruce, Snipped > > > > > > > > > > Hi Bruce, we have reviewed this internally and tested the same. > > > > > We would like > > > > your thought for the following. > > > > > > > > > > - Before patch: we were directly setting AVX512 falgs for F, BW, > > > > > DQ, VL > > > > > - new pat

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

2025-06-09 Thread Bruce Richardson
gt; > > Sent: Monday, June 9, 2025 1:28 PM > > > To: Varghese, Vipin > > > Cc: dev@dpdk.org; Song, Keesang > > > Subject: Re: [PATCH v4] build: reduce use of AVX compiler flags > > > > > > Caution: This message originated from an External Source.

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

2025-06-09 Thread Bruce Richardson
dpdk.org; Song, Keesang > > Subject: Re: [PATCH v4] build: reduce use of AVX compiler flags > > > > Caution: This message originated from an External Source. Use proper caution > > when opening attachments, clicking links, or responding. > > > > > >

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

2025-06-09 Thread Varghese, Vipin
[AMD Official Use Only - AMD Internal Distribution Only] > -Original Message- > From: Bruce Richardson > Sent: Monday, June 9, 2025 1:28 PM > To: Varghese, Vipin > Cc: dev@dpdk.org; Song, Keesang > Subject: Re: [PATCH v4] build: reduce use of AVX compiler flags

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

2025-06-09 Thread Bruce Richardson
On Mon, Jun 09, 2025 at 06:02:02AM +, 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' flags, as they are unne

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

2025-06-08 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 desired output, just use

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

2025-05-30 Thread Bruce Richardson
On Thu, May 29, 2025 at 04:42:19PM +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 v4] build: reduce use of AVX compiler flags

2025-05-29 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