Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 2017 21:32:50 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r327118 - in head/sys/x86: include x86
Message-ID:  <201712232132.vBNLWoJr088557@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"
 				       );
 			}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712232132.vBNLWoJr088557>