Recognize the RDRAND instruction feature.
Submitted by: Michael Fuckner michael fuckner net MFC after: 3 days
This commit is contained in:
parent
3bc546156a
commit
24b943fa1c
@ -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 */
|
||||
);
|
||||
}
|
||||
|
@ -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 */
|
||||
);
|
||||
}
|
||||
|
@ -153,6 +153,7 @@
|
||||
#define CPUID2_OSXSAVE 0x08000000
|
||||
#define CPUID2_AVX 0x10000000
|
||||
#define CPUID2_F16C 0x20000000
|
||||
#define CPUID2_RDRAND 0x40000000
|
||||
#define CPUID2_HV 0x80000000
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user