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:24:55 (GMT)
commit49e8e9f5c5792ff68e2c27a269f84f778dc03753 (patch)
tree072afce06f8acc5632c008fc1a91be638cb081a5
parent3ff02fd3368c6fee67d04e059fb46b2c30dce9f6 (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.
///