Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
655fdcd2
Commit
655fdcd2
authored
9 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/vector.h
+1
-1
1 addition, 1 deletion
src/vector.h
with
1 addition
and
1 deletion
src/vector.h
+
1
−
1
View file @
655fdcd2
...
@@ -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 */
#if
n
def __
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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment