Commit 655fdcd2 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Better check for GCC vector intrinsics.

Former-commit-id: 3efcce5b920a9c0f0b9c712e6c5c94f1cabdc8b4
parent a90cd435
......@@ -26,7 +26,7 @@
/* 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 */
#ifndef __xlc__
#ifdef __GNUC__
/* Include the header file with the intrinsics (GCC, ICC, Clang). */
#include <immintrin.h>
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