summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target-i386/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 51f571c5f..a18dd20a2 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -1468,7 +1468,7 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index,
/* svm */
*ecx &= ~4UL;
/* 3dnow */
- *edx = ~0xc0000000;
+ *edx &= ~0xc0000000;
}
break;
case 0x80000002: