From 2586c96893c94ddbe9ba0492eeda316f75ce4787 Mon Sep 17 00:00:00 2001 From: kib Date: Tue, 5 Jan 2016 13:05:38 +0000 Subject: [PATCH] MFC r292890: Add standard extended feature bit 6 from the Intel SDM rev. 57. --- sys/x86/include/specialreg.h | 1 + sys/x86/x86/identcpu.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h index 1de4f1fbf775..5e7658b32700 100644 --- a/sys/x86/include/specialreg.h +++ b/sys/x86/include/specialreg.h @@ -334,6 +334,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 diff --git a/sys/x86/x86/identcpu.c b/sys/x86/x86/identcpu.c index 62a39f239b0a..1544509f152c 100644 --- a/sys/x86/x86/identcpu.c +++ b/sys/x86/x86/identcpu.c @@ -894,6 +894,8 @@ printcpuinfo(void) "\005HLE" /* Advanced Vector Instructions 2 */ "\006AVX2" + /* FDP_EXCPTN_ONLY */ + "\007FDPEXC" /* Supervisor Mode Execution Prot. */ "\010SMEP" /* Bit Manipulation Instructions */