From 4766afb923cc9718a46119776ce2c47de644df8c Mon Sep 17 00:00:00 2001 From: kib Date: Tue, 26 Dec 2017 09:57:15 +0000 Subject: MFC r327118: Add missed AVX512VL (128 and 256 bit vector length) extension identification bit. (cherry picked from commit 67e50e43299002bef26a498b82129fa9dd48f9a6) --- sys/x86/include/specialreg.h | 1 + sys/x86/x86/identcpu.c | 1 + 2 files changed, 2 insertions(+) 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" ); } -- cgit v1.1