aboutsummaryrefslogtreecommitdiff
path: root/src/vectors-4-SSE.h
diff options
context:
space:
mode:
authorsvn_bwardell <svn_bwardell@105869f7-3296-0410-a4ea-f4349344b45a>2011-08-07 12:42:40 +0000
committersvn_bwardell <svn_bwardell@105869f7-3296-0410-a4ea-f4349344b45a>2011-08-07 12:42:40 +0000
commit921173d2d46e1a69b681ec8aab0fbe5429da760a (patch)
tree0ebb4421af2cdf222f4c6ceb71141dfbdcf08919 /src/vectors-4-SSE.h
parentb81bc1b4cf480afbeb4cf97e6b95cbd29402fc9c (diff)
Make definition of vec_architecture for SSE and default more explicit.
git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/Vectors/trunk@22 105869f7-3296-0410-a4ea-f4349344b45a
Diffstat (limited to 'src/vectors-4-SSE.h')
-rw-r--r--src/vectors-4-SSE.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/vectors-4-SSE.h b/src/vectors-4-SSE.h
index 7948032..4bda22b 100644
--- a/src/vectors-4-SSE.h
+++ b/src/vectors-4-SSE.h
@@ -17,7 +17,13 @@
-#define vec4_architecture "SSE"
+#ifdef __SSE4_1__
+#define vec4_architecture "SSE4.1 (32-bit precision)"
+#elif defined(__SSE4A__)
+#define vec4_architecture "SSE4A (32-bit precision)"
+#else
+#define vec4_architecture "SSE (32-bit precision)"
+#endif
// Vector type corresponding to CCTK_REAL
#define CCTK_REAL4_VEC __m128