svn commit: r327118 - in head/sys/x86: include x86
Konstantin Belousov
kib at FreeBSD.org
Sat Dec 23 21:32:52 UTC 2017
Author: kib
Date: Sat Dec 23 21:32:50 2017
New Revision: 327118
URL: https://svnweb.freebsd.org/changeset/base/327118
Log:
Add missed AVX512VL (128 and 256 bit vector length) extension
identification bit.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Modified:
head/sys/x86/include/specialreg.h
head/sys/x86/x86/identcpu.c
Modified: head/sys/x86/include/specialreg.h
==============================================================================
--- head/sys/x86/include/specialreg.h Sat Dec 23 21:04:32 2017 (r327117)
+++ head/sys/x86/include/specialreg.h Sat Dec 23 21:32:50 2017 (r327118)
@@ -409,6 +409,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
Modified: head/sys/x86/x86/identcpu.c
==============================================================================
--- head/sys/x86/x86/identcpu.c Sat Dec 23 21:04:32 2017 (r327117)
+++ head/sys/x86/x86/identcpu.c Sat Dec 23 21:32:50 2017 (r327118)
@@ -963,6 +963,7 @@ printcpuinfo(void)
"\035AVX512CD"
"\036SHA"
"\037AVX512BW"
+ "\040AVX512VL"
);
}
More information about the svn-src-all
mailing list