diff options
author | Kevin Greenan <kmgreen2@gmail.com> | 2014-08-23 11:14:11 -0700 |
---|---|---|
committer | Kevin Greenan <kmgreen2@gmail.com> | 2014-08-23 11:14:11 -0700 |
commit | 87d7e8fbb08205cb739235cfb5524c85e1d884c2 (patch) | |
tree | b8f1b21b08b7bf0b052ecf24c10a7caa46d9e2dc | |
parent | c25310f215bc97a37944339d331b000ba806d505 (diff) | |
parent | 6f160921dca0e61f90bbc1fe42e9ee1b4b90676e (diff) | |
download | gf-complete-87d7e8fbb08205cb739235cfb5524c85e1d884c2.tar.gz |
Merged in beol/gf-complete (pull request #23)
On CPU that doesn't support SSE4.2 instructions set, this will fail
-rw-r--r-- | include/gf_complete.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 <stdint.h> #ifdef INTEL_SSE4 - #include <nmmintrin.h> + #ifdef __SSE4_2__ + #include <nmmintrin.h> + #endif + #ifdef __SSE4_1__ + #include <smmintrin.h> + #endif #endif #ifdef INTEL_SSSE3 |