From 329953ebc3e4bb45c31a085f38b63e53ad99ba84 Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Thu, 12 Feb 2015 17:49:31 +0000 Subject: [PATCH] GSdx: Linux: Enable SSE4.2, SSE4.1 and SSE3 builds --- plugins/GSdx/stdafx.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/GSdx/stdafx.h b/plugins/GSdx/stdafx.h index 16c80c9480..cda44482f1 100644 --- a/plugins/GSdx/stdafx.h +++ b/plugins/GSdx/stdafx.h @@ -279,6 +279,16 @@ struct aligned_free_second {template void operator()(T& p) {_aligned_fr #define _M_SSE 0x501 #elif defined(__AVX__) #define _M_SSE 0x500 +#elif defined(__SSE4_2__) + #define _M_SSE 0x402 +#elif defined(__SSE4_1__) + #define _M_SSE 0x401 +#elif defined(__SSSE3__) + #define _M_SSE 0x301 +#elif defined(__SSE2__) + #define _M_SSE 0x200 +#elif defined(__SSE__) + #define _M_SSE 0x100 #endif #endif