summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Grunau <jgrunau@mythtv.org>2010-12-09 18:21:43 (GMT)
committer Janne Grunau <jgrunau@mythtv.org>2010-12-09 18:27:49 (GMT)
commitaec009739fc6168b77c00631afa6d21b3f2dbd8e (patch)
treeadd1305261649c7b89641ee9a4c07990161e3eca
parentee57332927393d071d7b3f1788476f07c77f7e82 (diff)
fix CPU flags in libmythsoundtouch
SSE3 and SSE2 were defined to the same value, which results in calling SSE3 code on cpus without SSE3 unit. Fixes #8740
-rw-r--r--mythtv/libs/libmythsoundtouch/cpu_detect.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/mythtv/libs/libmythsoundtouch/cpu_detect.h b/mythtv/libs/libmythsoundtouch/cpu_detect.h
index 48f24ab..f6624fa 100644
--- a/mythtv/libs/libmythsoundtouch/cpu_detect.h
+++ b/mythtv/libs/libmythsoundtouch/cpu_detect.h
@@ -51,10 +51,10 @@
#define MM_SSE 0x0008 /* SSE functions */
#define MM_SSE2 0x0010 /* PIV SSE2 functions */
#define MM_3DNOWEXT 0x0020 /* AMD 3DNowExt */
-#define MM_SSE3 0x0010 /* SSE3 functions */
-#define MM_SSSE3 0x0010 /* SSSE3 functions */
-#define MM_SSE4 0x0010 /* SSE4.1 functions */
-#define MM_SSE42 0x0010 /* SSE4.2 functions */
+#define MM_SSE3 0x0040 /* SSE3 functions */
+#define MM_SSSE3 0x0080 /* SSSE3 functions */
+#define MM_SSE4 0x0100 /* SSE4.1 functions */
+#define MM_SSE42 0x0200 /* SSE4.2 functions */
/// Checks which instruction set extensions are supported by the CPU.
///