From: Zhiyong Yang <zhiyong.yang@intel.com>
To: dev@dpdk.org
Cc: bruce.richardson@intel.com, Zhiyong Yang <zhiyong.yang@intel.com>
Subject: [PATCH v2] test: add check for AVX512F
Date: Tue, 19 Sep 2017 10:25:31 +0800 [thread overview]
Message-ID: <20170919022531.28083-1-zhiyong.yang@intel.com> (raw)
In-Reply-To: <20170908074454.37149-1-zhiyong.yang@intel.com>
The CPUs which support AVX512 have been released. Add support for
checking AVX512F instruction set.
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
---
Changes in V2:
reword the title and commit message according to Bruce's comments.
test/test/test_cpuflags.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/test/test/test_cpuflags.c b/test/test/test_cpuflags.c
index 0e5ebe788..08c166139 100644
--- a/test/test/test_cpuflags.c
+++ b/test/test/test_cpuflags.c
@@ -171,6 +171,9 @@ test_cpuflags(void)
printf("Check for AVX2:\t\t");
CHECK_FOR_FLAG(RTE_CPUFLAG_AVX2);
+ printf("Check for AVX512F:\t");
+ CHECK_FOR_FLAG(RTE_CPUFLAG_AVX512F);
+
printf("Check for TRBOBST:\t");
CHECK_FOR_FLAG(RTE_CPUFLAG_TRBOBST);
--
2.13.3
next prev parent reply other threads:[~2017-09-19 2:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-08 7:44 [PATCH] test: support to check AVX512F Zhiyong Yang
2017-09-18 15:07 ` Bruce Richardson
2017-09-19 2:12 ` Yang, Zhiyong
2017-09-19 2:25 ` Zhiyong Yang [this message]
2017-10-09 14:40 ` [PATCH v2] test: add check for AVX512F Thomas Monjalon
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=20170919022531.28083-1-zhiyong.yang@intel.com \
--to=zhiyong.yang@intel.com \
--cc=bruce.richardson@intel.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.