diff options
author | Avi Kivity <avi@redhat.com> | 2009-05-10 07:37:56 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-10 04:48:52 -0400 |
commit | 069ebaa4644521e8e80b6849ace4dee53f93f55e (patch) | |
tree | 6272aa6fb7c7dfb20d2bc6b54f9119e48a7fa46d /arch/x86 | |
parent | 7faa4ee1c777a5f8e8373430cfd9cb6172aa3503 (diff) |
x86: Add cpu features MOVBE and POPCNT
Add cpu feature bit support for the MOVBE and POPCNT instructions.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/include/asm/cpufeature.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpufeature.h index bb83b1c397aa..9c63bf37ad53 100644 --- a/arch/x86/include/asm/cpufeature.h +++ b/arch/x86/include/asm/cpufeature.h | |||
@@ -115,6 +115,8 @@ | |||
115 | #define X86_FEATURE_XMM4_1 (4*32+19) /* "sse4_1" SSE-4.1 */ | 115 | #define X86_FEATURE_XMM4_1 (4*32+19) /* "sse4_1" SSE-4.1 */ |
116 | #define X86_FEATURE_XMM4_2 (4*32+20) /* "sse4_2" SSE-4.2 */ | 116 | #define X86_FEATURE_XMM4_2 (4*32+20) /* "sse4_2" SSE-4.2 */ |
117 | #define X86_FEATURE_X2APIC (4*32+21) /* x2APIC */ | 117 | #define X86_FEATURE_X2APIC (4*32+21) /* x2APIC */ |
118 | #define X86_FEATURE_MOVBE (4*32+22) /* MOVBE instruction */ | ||
119 | #define X86_FEATURE_POPCNT (4*32+23) /* POPCNT instruction */ | ||
118 | #define X86_FEATURE_AES (4*32+25) /* AES instructions */ | 120 | #define X86_FEATURE_AES (4*32+25) /* AES instructions */ |
119 | #define X86_FEATURE_XSAVE (4*32+26) /* XSAVE/XRSTOR/XSETBV/XGETBV */ | 121 | #define X86_FEATURE_XSAVE (4*32+26) /* XSAVE/XRSTOR/XSETBV/XGETBV */ |
120 | #define X86_FEATURE_OSXSAVE (4*32+27) /* "" XSAVE enabled in the OS */ | 122 | #define X86_FEATURE_OSXSAVE (4*32+27) /* "" XSAVE enabled in the OS */ |