pixman: Branch 'master'
Matt Turner
mattst88 at kemper.freedesktop.org
Tue Nov 12 13:03:09 PST 2013
pixman/pixman-x86.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8487dfbcd056eff066939dc253fcf361b391592a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Nov 12 12:59:42 2013 -0800
Fix the SSSE3 CPUID detection.
SSSE3 is detected by bit 9 of ECX, but we were checking bit 9 of EDX
which is APIC leading to SSSE3 routines being called on CPUs without
SSSE3.
Reviewed-by: Matt Turner <mattst88 at gmail.com>
diff --git a/pixman/pixman-x86.c b/pixman/pixman-x86.c
index 6527760..05297c4 100644
--- a/pixman/pixman-x86.c
+++ b/pixman/pixman-x86.c
@@ -170,7 +170,7 @@ detect_cpu_features (void)
features |= X86_SSE;
if (d & (1 << 26))
features |= X86_SSE2;
- if (d & (1 << 9))
+ if (c & (1 << 9))
features |= X86_SSSE3;
/* Check for AMD specific features */
More information about the xorg-commit
mailing list