Recognize the RDRAND instruction feature.

Submitted by:	Michael Fuckner  michael fuckner net
MFC after:	3 days
This commit is contained in:
jhb 2012-04-09 15:20:16 +00:00
parent 3bc546156a
commit 24b943fa1c
3 changed files with 3 additions and 2 deletions

View File

@ -303,7 +303,7 @@ printcpuinfo(void)
"\034OSXSAVE" /* OS-Enabled State Management*/
"\035AVX" /* Advanced Vector Extensions */
"\036F16C" /* Half-precision conversions */
"\037<b30>"
"\037RDRAND" /* RDRAND Instruction */
"\040HV" /* Hypervisor */
);
}

View File

@ -779,7 +779,7 @@ printcpuinfo(void)
"\034OSXSAVE" /* OS-Enabled State Management*/
"\035AVX" /* Advanced Vector Extensions */
"\036F16C" /* Half-precision conversions */
"\037<b30>"
"\037RDRAND" /* RDRAND Instruction */
"\040HV" /* Hypervisor */
);
}

View File

@ -153,6 +153,7 @@
#define CPUID2_OSXSAVE 0x08000000
#define CPUID2_AVX 0x10000000
#define CPUID2_F16C 0x20000000
#define CPUID2_RDRAND 0x40000000
#define CPUID2_HV 0x80000000
/*