name new CPUID bits from AMD

This commit is contained in:
Stanislav Shwartsman 2012-11-10 11:00:09 +00:00
parent ab57eb3615
commit 64f9c12bbc

View File

@ -390,7 +390,9 @@ typedef bx_cpuid_t* (*bx_create_cpuid_method)(BX_CPU_C *cpu);
// [20:20] reserved
// [21:21] TBM: trailing bit manipulation instruction support
// [22:22] Topology extensions support
// [31:23] reserved
// [23:23] PerfCtrExtCore: core performance counter extensions support
// [24:24] PerfCtrExtNB: NB performance counter extensions support
// [31:25] reserved
#define BX_CPUID_EXT2_LAHF_SAHF (1 << 0)
#define BX_CPUID_EXT2_CMP_LEGACY (1 << 1)
@ -415,6 +417,8 @@ typedef bx_cpuid_t* (*bx_create_cpuid_method)(BX_CPU_C *cpu);
#define BX_CPUID_EXT2_RESERVED20 (1 << 20)
#define BX_CPUID_EXT2_TBM (1 << 21)
#define BX_CPUID_EXT2_TOPOLOGY_EXTENSIONS (1 << 22)
#define BX_CPUID_EXT2_PERFCTR_EXT_CORE (1 << 23)
#define BX_CPUID_EXT2_PERFCTR_EXT_NB (1 << 24)
// CPUID defines - SVM features CPUID[0x8000000A].EDX
// ----------------------------