Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2015 22:14:21 +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: r292890 - in head/sys/x86: include x86
Message-ID:  <201512292214.tBTMELG1001590@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Tue Dec 29 22:14:21 2015
New Revision: 292890
URL: https://svnweb.freebsd.org/changeset/base/292890

Log:
  Add standard extended feature bit 6 from the Intel SDM rev. 57, which
  indicates that data-pointer in the saved x87 FPU state is only updated
  on FPU exceptions.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

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	Tue Dec 29 21:54:43 2015	(r292889)
+++ head/sys/x86/include/specialreg.h	Tue Dec 29 22:14:21 2015	(r292890)
@@ -335,6 +335,7 @@
 #define	CPUID_STDEXT_BMI1	0x00000008
 #define	CPUID_STDEXT_HLE	0x00000010
 #define	CPUID_STDEXT_AVX2	0x00000020
+#define	CPUID_STDEXT_FDP_EXC	0x00000040
 #define	CPUID_STDEXT_SMEP	0x00000080
 #define	CPUID_STDEXT_BMI2	0x00000100
 #define	CPUID_STDEXT_ERMS	0x00000200

Modified: head/sys/x86/x86/identcpu.c
==============================================================================
--- head/sys/x86/x86/identcpu.c	Tue Dec 29 21:54:43 2015	(r292889)
+++ head/sys/x86/x86/identcpu.c	Tue Dec 29 22:14:21 2015	(r292890)
@@ -932,6 +932,8 @@ printcpuinfo(void)
 				       "\005HLE"
 				       /* Advanced Vector Instructions 2 */
 				       "\006AVX2"
+				       /* FDP_EXCPTN_ONLY */
+				       "\007FDPEXC"
 				       /* Supervisor Mode Execution Prot. */
 				       "\010SMEP"
 				       /* Bit Manipulation Instructions */



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