Skip to content
Snippets Groups Projects
Commit 655fdcd2 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Better check for GCC vector intrinsics.

Former-commit-id: 3efcce5b920a9c0f0b9c712e6c5c94f1cabdc8b4
parent a90cd435
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
/* Need to check whether compiler supports this (IBM does not) /* Need to check whether compiler supports this (IBM does not)
This will prevent the macros to be defined and switch off This will prevent the macros to be defined and switch off
explicit vectorization if the compiled does not support it */ explicit vectorization if the compiled does not support it */
#ifndef __xlc__ #ifdef __GNUC__
/* Include the header file with the intrinsics (GCC, ICC, Clang). */ /* Include the header file with the intrinsics (GCC, ICC, Clang). */
#include <immintrin.h> #include <immintrin.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment