Support for more AVX512 ISA was added in various compiler releases. For
example in GCC, increasing AVX512 ISA support was added in GCC 4.9, 5
and then 7. Depending on the GCC version, none, some or all of the
AVX512 code in OVS can be built. This patchset adds support for the
"some" case, where currently, we build all or none of the AVX512 code.

For my testing on Ubuntu 20.04, the below steps were very helpful for
installing and switching between different GCC versions.
https://askubuntu.com/a/1313032

v2:
* Add a commit to fix a typo present on OVS master code VMBI -> VBMI.
* Don't register vbmi specialized mfex impls unless VBMI is actually
  available.
  * This required some re-ordering of the mfex impl lists.


Cian Ferriter (5):
  dpif-netdev-private-extract: Fix typo VMBI -> VBMI.
  dpif-netdev-extract: Remove ISA compiler target for mfex.
  acinclude: Add seperate check for AVX512BW and AVX512DQ ISA.
  acinclude: Add seperate check for AVX512VBMI ISA.
  acinclude: Add seperate check for AVX512VPOPCNTDQ ISA.

 acinclude.m4                           | 45 +++++++++++++++++++++++++-
 configure.ac                           |  3 ++
 lib/automake.mk                        | 12 ++++---
 lib/dpif-netdev-extract-avx512.c       | 25 +++++++++++---
 lib/dpif-netdev-lookup-avx512-gather.c | 10 +++++-
 lib/dpif-netdev-lookup.c               |  3 +-
 lib/dpif-netdev-private-extract.c      | 44 +++++++++++++------------
 lib/dpif-netdev-private-extract.h      | 18 +++++++----
 8 files changed, 120 insertions(+), 40 deletions(-)

-- 
2.25.1

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to