From 6f160921dca0e61f90bbc1fe42e9ee1b4b90676e Mon Sep 17 00:00:00 2001 From: Leo Laksmana Date: Sat, 23 Aug 2014 18:08:31 +0800 Subject: On CPU that doesn't support SSE4.2 instructions set, this will fail because incorrect header is included. smmintrin.h => SSE4.1 nmmintrin.h => SSE4.2 --- include/gf_complete.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/gf_complete.h b/include/gf_complete.h index 8e1e641..5806625 100644 --- a/include/gf_complete.h +++ b/include/gf_complete.h @@ -13,7 +13,12 @@ #include #ifdef INTEL_SSE4 - #include + #ifdef __SSE4_2__ + #include + #endif + #ifdef __SSE4_1__ + #include + #endif #endif #ifdef INTEL_SSSE3 -- cgit v1.2.1