diff options
-rw-r--r-- | src/vectors-4-SSE.h | 4 | ||||
-rw-r--r-- | src/vectors-8-SSE2.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/vectors-4-SSE.h b/src/vectors-4-SSE.h index e6ff34e..e420140 100644 --- a/src/vectors-4-SSE.h +++ b/src/vectors-4-SSE.h @@ -391,8 +391,8 @@ static const k4const_t k4one = { f: { 1.0f, 1.0f, 1.0f, 1.0f, }}; #define k4tan(x) K4REPL(tanf,x) #define k4tanh(x) K4REPL(tanhf,x) -static const k4const_t k4lfalse_ = {{ +0U, +0U, +0U, +0U, }}; -static const k4const_t k4ltrue_ = {{ -1U, -1U, -1U, -1U, }}; +static const k4const_t k4lfalse_ = {{ 0U, 0U, 0U, 0U, }}; +static const k4const_t k4ltrue_ = {{ ~0U, ~0U, ~0U, ~0U, }}; #define k4lfalse (k4lfalse_.vf) #define k4ltrue (k4ltrue_.vf) #define k4lnot(x) (_mm_xor_ps(k4ltrue,x)) diff --git a/src/vectors-8-SSE2.h b/src/vectors-8-SSE2.h index cfefbce..6dfe89f 100644 --- a/src/vectors-8-SSE2.h +++ b/src/vectors-8-SSE2.h @@ -1,4 +1,4 @@ -// Vectorise using Intel's or AMD's SSE2 + // Use the type __m128d directly, without introducing a wrapper class // Use macros instead of inline functions |