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:43:34 +0000
committersvn_bwardell <svn_bwardell@105869f7-3296-0410-a4ea-f4349344b45a>2011-08-07 12:43:34 +0000
commit1de8147816444a98f77eccebcb88df358a36876d (patch)
tree960d59a18a383473320ab57698a3bf463aa21276 /src/vectors-4-SSE.h
parentf02ccb2663070e74d780bb2e01b0df502bdad8b5 (diff)
Rename kifthen to kifpos as it more accurately reflects what it actually does.
git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/Vectors/trunk@24 105869f7-3296-0410-a4ea-f4349344b45a
Diffstat (limited to 'src/vectors-4-SSE.h')
-rw-r--r--src/vectors-4-SSE.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vectors-4-SSE.h b/src/vectors-4-SSE.h
index 4bda22b..d04d0b7 100644
--- a/src/vectors-4-SSE.h
+++ b/src/vectors-4-SSE.h
@@ -307,7 +307,7 @@ static const union {
// Choice [sign(x)>0 ? y : z]
#ifdef __SSE4_1__
-# define k4ifthen(x,y,z) (_mm_blendv_ps(y,z,x))
+# define k4ifpos(x,y,z) (_mm_blendv_ps(y,z,x))
#else
#include <math.h>
#ifdef __cplusplus
@@ -315,7 +315,7 @@ static const union {
#else
#define SGN(x) signbit(x)
#endif
-# define k4ifthen(x,y,z) \
+# define k4ifpos(x,y,z) \
({ \
CCTK_REAL4_VEC const xx=(x_); \
CCTK_REAL4_VEC const x=xx; \