diff options
author | Jason Hu <jia-cheng.hu@intel.com> | 2015-04-27 20:51:15 +0800 |
---|---|---|
committer | Jason Hu <jia-cheng.hu@intel.com> | 2015-04-27 21:04:11 +0800 |
commit | 89035162e1125d75e1353e806a37f2c754e1273e (patch) | |
tree | e45decf7df053f444f9d9725265cf50ceb0ff71a | |
parent | 8ad041ca19643d26ab0978bc568cf2cbcbff9425 (diff) | |
download | qemu-android-89035162e1125d75e1353e806a37f2c754e1273e.tar.gz |
make the instruction sets of IA cpu comply with spec
per ABI specified in ndk/docs/Programmers_Guide/html/
md_3__key__topics__c_p_u__support__chapter_1-section_8__a_b_is.html#sa
x86: add ssse3, remove popcnt
x86_64: add sse43, sse41 and ssse3
Change-Id: Iede00d5ab58b16513c2dbfa698ae2b865ad9be5b
Signed-off-by: Jason Hu <jia-cheng.hu@intel.com>
-rw-r--r-- | target-i386/cpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-i386/cpu.c b/target-i386/cpu.c index e9df33e5c3..c8dcb51711 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -669,6 +669,7 @@ static X86CPUDefinition builtin_x86_defs[] = { CPUID_MTRR | CPUID_CLFLUSH | CPUID_MCA | CPUID_PSE36, .features[FEAT_1_ECX] = + CPUID_EXT_SSE42 | CPUID_EXT_SSE41 |CPUID_EXT_SSSE3 | CPUID_EXT_SSE3 | CPUID_EXT_CX16 | CPUID_EXT_POPCNT, .features[FEAT_8000_0001_EDX] = (PPRO_FEATURES & CPUID_EXT2_AMD_ALIASES) | @@ -773,7 +774,7 @@ static X86CPUDefinition builtin_x86_defs[] = { .features[FEAT_1_EDX] = PPRO_FEATURES, .features[FEAT_1_ECX] = - CPUID_EXT_SSE3 | CPUID_EXT_POPCNT, + CPUID_EXT_SSE3 | CPUID_EXT_SSSE3, .xlevel = 0x80000004, }, { |