summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2018-02-23 19:43:50 -0300
committerLuiz Souza <luiz@netgate.com>2018-02-23 19:43:50 -0300
commit0d254cbf5fb8b0bebf20ae325244a682d52966aa (patch)
tree31773ce07691d67788330c4e2681623268d19f7c
parent5eb256fe165c6037cc5a8564ef05b24836d97ffb (diff)
downloadFreeBSD-src-0d254cbf5fb8b0bebf20ae325244a682d52966aa.zip
FreeBSD-src-0d254cbf5fb8b0bebf20ae325244a682d52966aa.tar.gz
Revert "Revert "MFC r327118:""
This reverts commit 7eddfe2723939683f87c79dac52507b6878a4017.
-rw-r--r--sys/x86/include/specialreg.h1
-rw-r--r--sys/x86/x86/identcpu.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h
index 10bc4e7b..589e665 100644
--- a/sys/x86/include/specialreg.h
+++ b/sys/x86/include/specialreg.h
@@ -362,6 +362,7 @@
#define CPUID_STDEXT_AVX512CD 0x10000000
#define CPUID_STDEXT_SHA 0x20000000
#define CPUID_STDEXT_AVX512BW 0x40000000
+#define CPUID_STDEXT_AVX512VL 0x80000000
/*
* CPUID instruction 7 Structured Extended Features, leaf 0 ecx info
diff --git a/sys/x86/x86/identcpu.c b/sys/x86/x86/identcpu.c
index ab7214c..dd2863b 100644
--- a/sys/x86/x86/identcpu.c
+++ b/sys/x86/x86/identcpu.c
@@ -961,6 +961,7 @@ printcpuinfo(void)
"\035AVX512CD"
"\036SHA"
"\037AVX512BW"
+ "\040AVX512VL"
);
}
OpenPOWER on IntegriCloud