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
69505297
Commit
69505297
authored
Sep 18, 2015
by
Matthieu Schaller
Browse files
Checking for GCC is not enough. Need to check for Intel architecture as well.
Former-commit-id: 9eae353a722be8b430c83f86f3efeefd83c736cb
parent
655fdcd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/vector.h
View file @
69505297
...
...
@@ -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
def
ined(
__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
...
...
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