Commit e5843bc81619d62e95ac714e0d3b403944cfb978

Authored by bellard
1 parent d3c61721

enable MMX for x86_64 too


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1220 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
target-i386/helper2.c
@@ -108,8 +108,8 @@ CPUX86State *cpu_x86_init(void) @@ -108,8 +108,8 @@ CPUX86State *cpu_x86_init(void)
108 CPUID_CX8 | CPUID_PGE | CPUID_CMOV); 108 CPUID_CX8 | CPUID_PGE | CPUID_CMOV);
109 #ifdef TARGET_X86_64 109 #ifdef TARGET_X86_64
110 /* currently not enabled for std i386 because not fully tested */ 110 /* currently not enabled for std i386 because not fully tested */
111 - env->cpuid_features |= CPUID_APIC | CPUID_FXSR | CPUID_PAE |  
112 - CPUID_SSE | CPUID_SSE2; 111 + env->cpuid_features |= CPUID_FXSR | CPUID_MMX | CPUID_SSE | CPUID_SSE2;
  112 + env->cpuid_features |= CPUID_APIC | CPUID_PAE;
113 #endif 113 #endif
114 } 114 }
115 cpu_single_env = env; 115 cpu_single_env = env;