aboutsummaryrefslogtreecommitdiff
path: root/src/vectors-4-SSE.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vectors-4-SSE.h')
-rw-r--r--src/vectors-4-SSE.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vectors-4-SSE.h b/src/vectors-4-SSE.h
index bdbc10d..0f8c74d 100644
--- a/src/vectors-4-SSE.h
+++ b/src/vectors-4-SSE.h
@@ -730,7 +730,7 @@ CCTK_REAL4_VEC k4ifthen(CCTK_BOOLEAN4_VEC const x,
// This assumes that all logical operations always return either
// lfalse or ltrue, and nothing "in between"
// (z & ~mask) | (y & mask) where imask = ~mask
- return _mm_or_ps(_mm_and_ps(I2RI(x), y), _mm_andnot_ps(I2R(x), z));
+ return _mm_or_ps(_mm_and_ps(I2R(x), y), _mm_andnot_ps(I2R(x), z));
#endif
}