Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
655fdcd2
Commit
655fdcd2
authored
Sep 18, 2015
by
Matthieu Schaller
Browse files
Better check for GCC vector intrinsics.
Former-commit-id: 3efcce5b920a9c0f0b9c712e6c5c94f1cabdc8b4
parent
a90cd435
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/vector.h
View file @
655fdcd2
...
...
@@ -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 */
#if
n
def __
xlc
__
#ifdef __
GNUC
__
/* Include the header file with the intrinsics (GCC, ICC, Clang). */
#include
<immintrin.h>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment