x86 cpu features: add MOVBE reporting and flag
The check is glimpsed from Linux and OpenSolaris. MOVBE instruction is found in Intel Atom processors.
This commit is contained in:
parent
e4808c4b2d
commit
71224c78d4
@ -259,7 +259,7 @@ printcpuinfo(void)
|
||||
"\024SSE4.1"
|
||||
"\025SSE4.2"
|
||||
"\026x2APIC" /* xAPIC Extensions */
|
||||
"\027<b22>"
|
||||
"\027MOVBE"
|
||||
"\030POPCNT"
|
||||
"\031<b24>"
|
||||
"\032<b25>"
|
||||
|
@ -129,6 +129,7 @@
|
||||
#define CPUID2_SSE41 0x00080000
|
||||
#define CPUID2_SSE42 0x00100000
|
||||
#define CPUID2_X2APIC 0x00200000
|
||||
#define CPUID2_MOVBE 0x00400000
|
||||
#define CPUID2_POPCNT 0x00800000
|
||||
|
||||
/*
|
||||
|
@ -746,7 +746,7 @@ printcpuinfo(void)
|
||||
"\024SSE4.1"
|
||||
"\025SSE4.2"
|
||||
"\026x2APIC" /* xAPIC Extensions */
|
||||
"\027<b22>"
|
||||
"\027MOVBE"
|
||||
"\030POPCNT"
|
||||
"\031<b24>"
|
||||
"\032<b25>"
|
||||
|
@ -126,6 +126,7 @@
|
||||
#define CPUID2_SSE41 0x00080000
|
||||
#define CPUID2_SSE42 0x00100000
|
||||
#define CPUID2_X2APIC 0x00200000
|
||||
#define CPUID2_MOVBE 0x00400000
|
||||
#define CPUID2_POPCNT 0x00800000
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user