From cd74dccaf1208375cb7ee68146c07606c5366a02 Mon Sep 17 00:00:00 2001 From: oparviai Date: Sun, 30 Jul 2017 09:28:06 +0000 Subject: [PATCH] Disable MMX integer optimizations in X64 compilation --- include/STTypes.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/STTypes.h b/include/STTypes.h index 7888c4e..3ed12d9 100644 --- a/include/STTypes.h +++ b/include/STTypes.h @@ -143,8 +143,10 @@ namespace soundtouch #endif // SOUNDTOUCH_FLOAT_SAMPLES #ifdef SOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS - // Allow MMX optimizations - #define SOUNDTOUCH_ALLOW_MMX 1 + // Allow MMX optimizations (not available in X64 mode) + #if (!_M_X64) + #define SOUNDTOUCH_ALLOW_MMX 1 + #endif #endif #else