From: Bruce Richardson <bruce.richardson@intel.com>
To: David Marchand <david.marchand@redhat.com>
Cc: <dev@dpdk.org>
Subject: Re: [PATCH v4 00/11] remove component-specific logic for AVX builds
Date: Tue, 25 Mar 2025 13:12:16 +0000 [thread overview]
Message-ID: <Z-KrsMZ8753hjN71@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <CAJFAV8ynP9_b7DV=xR_s_b4u5Vkzh9G8ZGHEe8wQ6htGhqvwsQ@mail.gmail.com>
On Tue, Mar 25, 2025 at 08:46:35AM +0100, David Marchand wrote:
> Hello Bruce,
>
> On Wed, Mar 19, 2025 at 7:09 PM Bruce Richardson
> <bruce.richardson@intel.com> wrote:
> >
> > On Wed, Mar 19, 2025 at 05:29:30PM +0000, Bruce Richardson wrote:
> > > A number of libs and drivers had special optimized AVX2 and AVX512 code
> > > paths for performance reasons, and these tended to have copy-pasted
> > > logic to build those files. Centralise that logic in the main
> > > drivers/ and lib/ meson.build files to avoid duplication.
> > >
> > > v4: rebase on latest main branch
> > > minor fixes following feedback
> > > limit use of -march=skylake-avx512 to when we don't already have a
> > > -march flag supporting AVX512.
> > > v3: add patch for event/dlb2 AVX512 handling.
> > > add common code for libraries as well as drivers.
> > > v2: add patch 4 to remove use of unnecessary CC_AVX2_SUPPORT flag
> > >
> > A related follow-up to this patchset. Checking with "godbolt.org", it
> > appears that both clang 3.6[1] and gcc 5[2] (the minimum called out compiler
> > versions in our docs[1]) support the set of AVX-512 compiler flags we use.
> > Therefore, it seems we can simplify our code further by removing the
> > "cc_has_avx512" variable.
>
> What about https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90028 ?
>
Yep, still needs to be handled, something I only realised after sending the
email.
> You'll need to send a new revision for this series in any case, since
> patch 9 broke the crc stuff in the net library.
> https://inbox.dpdk.org/dev/CAJFAV8w9wYPN+30Hv=batMvP=0M4momKZgmNDFixXbd-9u8t6w@mail.gmail.com/
>
Yes, I saw that and just started looking at it last evening. Will hopefully
get a new revision out soon.
/Bruce
next prev parent reply other threads:[~2025-03-25 13:12 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-14 17:23 [PATCH 0/3] remove driver-specific " Bruce Richardson
2025-03-14 17:23 ` [PATCH 1/3] build: add generalized AVX handling for drivers Bruce Richardson
2025-03-14 17:23 ` [PATCH 2/3] net/intel: use common AVX build code Bruce Richardson
2025-03-14 17:23 ` [PATCH 3/3] drivers/net: build use common AVX handling Bruce Richardson
2025-03-14 17:31 ` David Marchand
2025-03-14 17:37 ` Bruce Richardson
2025-03-14 17:44 ` [PATCH v2 0/4] remove driver-specific logic for AVX builds Bruce Richardson
2025-03-14 17:44 ` [PATCH v2 1/4] build: add generalized AVX handling for drivers Bruce Richardson
2025-03-14 17:44 ` [PATCH v2 2/4] net/intel: use common AVX build code Bruce Richardson
2025-03-14 17:44 ` [PATCH v2 3/4] drivers/net: build use common AVX handling Bruce Richardson
2025-03-14 17:44 ` [PATCH v2 4/4] drivers/net: remove AVX2 build-time define Bruce Richardson
2025-03-17 9:47 ` David Marchand
2025-03-17 9:50 ` [PATCH v2 0/4] remove driver-specific logic for AVX builds David Marchand
2025-03-18 11:51 ` Bruce Richardson
2025-03-18 17:34 ` [PATCH v3 00/11] remove component-specific " Bruce Richardson
2025-03-18 17:34 ` [PATCH v3 01/11] build: add generalized AVX handling for drivers Bruce Richardson
2025-03-18 17:34 ` [PATCH v3 02/11] net/intel: use common AVX build code Bruce Richardson
2025-03-19 10:11 ` David Marchand
2025-03-19 11:17 ` Bruce Richardson
2025-03-18 17:34 ` [PATCH v3 03/11] drivers/net: build use common AVX handling Bruce Richardson
2025-03-18 17:34 ` [PATCH v3 04/11] drivers/net: remove AVX2 build-time define Bruce Richardson
2025-03-18 17:42 ` Ajit Khaparde
2025-03-18 17:34 ` [PATCH v3 05/11] event/dlb2: build using common AVX handling Bruce Richardson
2025-03-18 17:34 ` [PATCH v3 06/11] build: add generalized AVX handling for libs Bruce Richardson
2025-03-18 17:35 ` [PATCH v3 07/11] acl: use common AVX build handling Bruce Richardson
2025-03-19 10:16 ` David Marchand
2025-03-19 10:26 ` Bruce Richardson
2025-03-19 10:40 ` David Marchand
2025-03-19 10:59 ` Bruce Richardson
2025-03-18 17:35 ` [PATCH v3 08/11] fib: " Bruce Richardson
2025-03-18 17:35 ` [PATCH v3 09/11] net: simplify build-time logic for x86 Bruce Richardson
2025-03-19 10:24 ` David Marchand
2025-03-18 17:35 ` [PATCH v3 10/11] net: use common AVX512 build code Bruce Richardson
2025-03-18 17:35 ` [PATCH v3 11/11] member: use common AVX512 build support Bruce Richardson
2025-03-19 10:27 ` [PATCH v3 00/11] remove component-specific logic for AVX builds David Marchand
2025-03-19 17:29 ` [PATCH v4 " Bruce Richardson
2025-03-19 17:29 ` [PATCH v4 01/11] drivers: add generalized AVX build handling Bruce Richardson
2025-03-19 17:29 ` [PATCH v4 02/11] net/intel: use common AVX build code Bruce Richardson
2025-03-19 17:29 ` [PATCH v4 03/11] drivers/net: build use common AVX handling Bruce Richardson
2025-03-19 17:29 ` [PATCH v4 04/11] drivers/net: remove AVX2 build-time define Bruce Richardson
2025-03-19 17:29 ` [PATCH v4 05/11] event/dlb2: build using common AVX handling Bruce Richardson
2025-03-19 17:29 ` [PATCH v4 06/11] lib: add generalized AVX build handling Bruce Richardson
2025-03-19 17:29 ` [PATCH v4 07/11] acl: use common " Bruce Richardson
2025-03-19 17:29 ` [PATCH v4 08/11] fib: " Bruce Richardson
2025-03-19 17:29 ` [PATCH v4 09/11] net: simplify build-time logic for x86 Bruce Richardson
2025-03-20 7:46 ` David Marchand
2025-03-19 17:29 ` [PATCH v4 10/11] net: use common AVX512 build code Bruce Richardson
2025-03-19 17:29 ` [PATCH v4 11/11] member: use common AVX512 build support Bruce Richardson
2025-03-19 18:08 ` [PATCH v4 00/11] remove component-specific logic for AVX builds Bruce Richardson
2025-03-25 7:46 ` David Marchand
2025-03-25 13:12 ` Bruce Richardson [this message]
2025-03-27 8:00 ` David Marchand
2025-03-25 16:02 ` [PATCH v5 " Bruce Richardson
2025-03-25 16:02 ` [PATCH v5 01/11] drivers: add generalized AVX build handling Bruce Richardson
2025-03-25 16:02 ` [PATCH v5 02/11] net/intel: use common AVX build code Bruce Richardson
2025-03-25 16:02 ` [PATCH v5 03/11] drivers/net: build use common AVX handling Bruce Richardson
2025-03-25 16:02 ` [PATCH v5 04/11] drivers/net: remove AVX2 build-time define Bruce Richardson
2025-03-25 16:02 ` [PATCH v5 05/11] event/dlb2: build using common AVX handling Bruce Richardson
2025-03-25 16:02 ` [PATCH v5 06/11] lib: add generalized AVX build handling Bruce Richardson
2025-03-25 16:02 ` [PATCH v5 07/11] acl: use common " Bruce Richardson
2025-03-25 16:02 ` [PATCH v5 08/11] fib: " Bruce Richardson
2025-03-25 16:02 ` [PATCH v5 09/11] net: simplify build-time logic for x86 Bruce Richardson
2025-03-25 16:02 ` [PATCH v5 10/11] net: use common AVX512 build code Bruce Richardson
2025-03-25 16:02 ` [PATCH v5 11/11] member: use common AVX512 build support Bruce Richardson
2025-03-26 9:20 ` [PATCH v5 00/11] remove component-specific logic for AVX builds Konstantin Ananyev
2025-03-26 10:12 ` David Marchand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z-KrsMZ8753hjN71@bricha3-mobl1.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).