From aec009739fc6168b77c00631afa6d21b3f2dbd8e Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Thu, 9 Dec 2010 19:21:43 +0100 Subject: [PATCH] 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 --- mythtv/libs/libmythsoundtouch/cpu_detect.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mythtv/libs/libmythsoundtouch/cpu_detect.h b/mythtv/libs/libmythsoundtouch/cpu_detect.h index 48f24ab5090..f6624fa84ea 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. ///