Commit 69505297 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Checking for GCC is not enough. Need to check for Intel architecture as well.


Former-commit-id: 9eae353a722be8b430c83f86f3efeefd83c736cb
parent 655fdcd2
......@@ -26,9 +26,9 @@
/* Need to check whether compiler supports this (IBM does not)
This will prevent the macros to be defined and switch off
explicit vectorization if the compiled does not support it */
#ifdef __GNUC__
#if defined(__GNUC__) && defined(__i386__)
/* Include the header file with the intrinsics (GCC, ICC, Clang). */
/* Include the header file with the intrinsics for Intel architecture. */
#include <immintrin.h>
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment