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:
Andriy Gapon 2009-11-30 11:11:08 +00:00
parent e4808c4b2d
commit 71224c78d4
4 changed files with 4 additions and 2 deletions

View File

@ -259,7 +259,7 @@ printcpuinfo(void)
"\024SSE4.1"
"\025SSE4.2"
"\026x2APIC" /* xAPIC Extensions */
"\027<b22>"
"\027MOVBE"
"\030POPCNT"
"\031<b24>"
"\032<b25>"

View File

@ -129,6 +129,7 @@
#define CPUID2_SSE41 0x00080000
#define CPUID2_SSE42 0x00100000
#define CPUID2_X2APIC 0x00200000
#define CPUID2_MOVBE 0x00400000
#define CPUID2_POPCNT 0x00800000
/*

View File

@ -746,7 +746,7 @@ printcpuinfo(void)
"\024SSE4.1"
"\025SSE4.2"
"\026x2APIC" /* xAPIC Extensions */
"\027<b22>"
"\027MOVBE"
"\030POPCNT"
"\031<b24>"
"\032<b25>"

View File

@ -126,6 +126,7 @@
#define CPUID2_SSE41 0x00080000
#define CPUID2_SSE42 0x00100000
#define CPUID2_X2APIC 0x00200000
#define CPUID2_MOVBE 0x00400000
#define CPUID2_POPCNT 0x00800000
/*