|
From: <sv...@va...> - 2009-07-12 13:19:15
|
Author: sewardj
Date: 2009-07-12 14:19:04 +0100 (Sun, 12 Jul 2009)
New Revision: 10434
Log:
Fix identification of sse3 on amd64s. Previously it was identifying
ssse3, not sse3 (sigh).
Modified:
trunk/coregrind/m_machine.c
Modified: trunk/coregrind/m_machine.c
===================================================================
--- trunk/coregrind/m_machine.c 2009-07-12 13:17:18 UTC (rev 10433)
+++ trunk/coregrind/m_machine.c 2009-07-12 13:19:04 UTC (rev 10434)
@@ -414,7 +414,7 @@
have_sse1 = (edx & (1<<25)) != 0; /* True => have sse insns */
have_sse2 = (edx & (1<<26)) != 0; /* True => have sse2 insns */
- have_sse3 = (ecx & (1<<9)) != 0; /* True => have sse3 insns */
+ have_sse3 = (ecx & (1<<0)) != 0; /* True => have sse3 insns */
/* cmpxchg8b is a minimum requirement now; if we don't have it we
must simply give up. But all CPUs since Pentium-I have it, so
|