Author: post
Date: 2010-11-29 11:46:41 +0100 (Mon, 29 Nov 2010)
New Revision: 3651
Modified:
trunk/librawstudio/rs-utils.c
Log:
Correct detection of sse4.1 and sse4.2 (thanks to sean darcy)
Modified: trunk/librawstudio/rs-utils.c
===================================================================
--- trunk/librawstudio/rs-utils.c 2010-11-28 19:50:03 UTC (rev 3650)
+++ trunk/librawstudio/rs-utils.c 2010-11-29 10:46:41 UTC (rev 3651)
@@ -277,9 +277,9 @@
cpuflags |= RS_CPU_FLAG_SSE3;
if (ecx & 0x00000200)
cpuflags |= RS_CPU_FLAG_SSSE3;
- if (ecx & 0x00040000)
+ if (ecx & 0x00080000)
cpuflags |= RS_CPU_FLAG_SSE4_1;
- if (ecx & 0x00080000)
+ if (ecx & 0x00100000)
cpuflags |= RS_CPU_FLAG_SSE4_2;
}
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit