summaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-12 22:46:19 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-12 22:46:19 +0000
commite5843bc81619d62e95ac714e0d3b403944cfb978 (patch)
tree4bc19a88c85e9fd9ebe13c1a3949d53baea507ff /target-i386
parentd3c617219b663c7cbcd443922c3ee070d16ee613 (diff)
downloadqemu-e5843bc81619d62e95ac714e0d3b403944cfb978.tar.gz
enable MMX for x86_64 too
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1220 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/helper2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/helper2.c b/target-i386/helper2.c
index 2811cd707f..2a15ec737d 100644
--- a/target-i386/helper2.c
+++ b/target-i386/helper2.c
@@ -108,8 +108,8 @@ CPUX86State *cpu_x86_init(void)
CPUID_CX8 | CPUID_PGE | CPUID_CMOV);
#ifdef TARGET_X86_64
/* currently not enabled for std i386 because not fully tested */
- env->cpuid_features |= CPUID_APIC | CPUID_FXSR | CPUID_PAE |
- CPUID_SSE | CPUID_SSE2;
+ env->cpuid_features |= CPUID_FXSR | CPUID_MMX | CPUID_SSE | CPUID_SSE2;
+ env->cpuid_features |= CPUID_APIC | CPUID_PAE;
#endif
}
cpu_single_env = env;