From: Andre Muezerie <andremue@linux.microsoft.com>
To: andremue@linux.microsoft.com
Cc: dev@dpdk.org
Subject: [PATCH v2 3/5] config: create top level variable cc_avx2_flags
Date: Tue, 25 Feb 2025 17:06:54 -0800 [thread overview]
Message-ID: <1740532016-6789-4-git-send-email-andremue@linux.microsoft.com> (raw)
In-Reply-To: <1740532016-6789-1-git-send-email-andremue@linux.microsoft.com>
Top level variable cc_avx2_flags was created and set according to the
compiler used. It is used in lower level directories.
Signed-off-by: Andre Muezerie <andremue@linux.microsoft.com>
---
config/x86/meson.build | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/config/x86/meson.build b/config/x86/meson.build
index 47a5b0c04a..941d4d921f 100644
--- a/config/x86/meson.build
+++ b/config/x86/meson.build
@@ -1,6 +1,12 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017-2020 Intel Corporation
+if is_ms_compiler
+ cc_avx2_flags = ['/arch:AVX2']
+else
+ cc_avx2_flags = ['-mavx2']
+endif
+
# get binutils version for the workaround of Bug 97
binutils_ok = true
if is_linux or cc.get_id() == 'gcc'
--
2.48.1.vfs.0.0
next prev parent reply other threads:[~2025-02-26 1:07 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-24 21:01 [PATCH 0/6] allow faster instruction sets to be used with MSVC Andre Muezerie
2025-02-24 21:01 ` [PATCH 1/6] eal: make compatible with instruction set updates for MSVC Andre Muezerie
2025-02-24 21:01 ` [PATCH 2/6] eal: only use numbers as align parameters " Andre Muezerie
2025-02-24 21:01 ` [PATCH 3/6] config: allow faster instruction sets to be used with MSVC Andre Muezerie
2025-02-25 14:28 ` Bruce Richardson
2025-02-26 2:01 ` Andre Muezerie
2025-02-26 9:44 ` Bruce Richardson
2025-02-24 21:01 ` [PATCH 4/6] drivers/net: make compatible with instruction set updates for MSVC Andre Muezerie
2025-02-25 9:06 ` Bruce Richardson
2025-02-25 16:44 ` Andre Muezerie
2025-02-24 21:01 ` [PATCH 5/6] acl: " Andre Muezerie
2025-02-25 9:03 ` Bruce Richardson
2025-02-25 16:37 ` Andre Muezerie
2025-02-25 17:21 ` Bruce Richardson
2025-02-25 17:23 ` Andre Muezerie
2025-02-24 21:01 ` [PATCH 6/6] member: " Andre Muezerie
2025-02-26 1:06 ` [PATCH v2 0/5] allow faster instruction sets to be used with MSVC Andre Muezerie
2025-02-26 1:06 ` [PATCH v2 1/5] eal: make compatible with instruction set updates for MSVC Andre Muezerie
2025-02-26 9:50 ` Bruce Richardson
2025-02-26 1:06 ` [PATCH v2 2/5] eal: only use numbers as align parameters " Andre Muezerie
2025-02-26 9:51 ` Bruce Richardson
2025-02-26 10:15 ` Konstantin Ananyev
2025-02-26 1:06 ` Andre Muezerie [this message]
2025-02-26 9:52 ` [PATCH v2 3/5] config: create top level variable cc_avx2_flags Bruce Richardson
2025-02-26 1:06 ` [PATCH v2 4/5] drivers/net: make compatible with instruction set updates for MSVC Andre Muezerie
2025-02-26 9:53 ` Bruce Richardson
2025-02-26 1:06 ` [PATCH v2 5/5] acl: " Andre Muezerie
2025-02-26 9:54 ` Bruce Richardson
2025-02-26 21:21 ` [PATCH v3 0/3] allow faster instruction sets to be used with MSVC Andre Muezerie
2025-02-26 21:21 ` [PATCH v3 1/3] eal: make compatible with instruction set updates for MSVC Andre Muezerie
2025-02-26 21:21 ` [PATCH v3 2/3] eal: only use numbers as align parameters " Andre Muezerie
2025-02-27 8:39 ` Konstantin Ananyev
2025-02-26 21:21 ` [PATCH v3 3/3] config: create top level variable cc_avx2_flags Andre Muezerie
2025-03-06 13:57 ` [PATCH v3 0/3] allow faster instruction sets to be used with MSVC 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=1740532016-6789-4-git-send-email-andremue@linux.microsoft.com \
--to=andremue@linux.microsoft.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.