Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit aec009739fc6168b77c00631afa6d21b3f2dbd8e 1 parent ee57332
@jannau jannau authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 mythtv/libs/libmythsoundtouch/cpu_detect.h
View
8 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.
///
Please sign in to comment.
Something went wrong with that request. Please try again.