svn commit: r292890 - in head/sys/x86: include x86

Konstantin Belousov kib at FreeBSD.org
Tue Dec 29 22:14:22 UTC 2015


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 */


More information about the svn-src-all mailing list