summaryrefslogtreecommitdiffstats
path: root/vec_mic_double8.h
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-08-19 11:58:46 -0400
committerErik Schnetter <schnetter@gmail.com>2013-08-19 11:58:46 -0400
commitc25c5b7f9b5cc8bccfd81a22b27c67c7726e7f32 (patch)
treeac6bad2c702f61a768dcecf8e3a1c1533eeb2441 /vec_mic_double8.h
parent990bf1b7406316685351097cbb609f406e9828f8 (diff)
downloadvecmathlib-c25c5b7f9b5cc8bccfd81a22b27c67c7726e7f32.zip
vecmathlib-c25c5b7f9b5cc8bccfd81a22b27c67c7726e7f32.tar.gz
Add potential optimization for SSE/AVX all/any functions
Diffstat (limited to 'vec_mic_double8.h')
-rw-r--r--vec_mic_double8.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vec_mic_double8.h b/vec_mic_double8.h
index b77562b..b043d8c 100644
--- a/vec_mic_double8.h
+++ b/vec_mic_double8.h
@@ -97,7 +97,7 @@ namespace vecmathlib {
boolvec operator!=(boolvec x) const { return _mm512_kxor(v, x.v); }
bool all() const { return _mm512_kortestc(v, v); }
- bool any() const { return ! _mm512_kortestz(v, v); }
+ bool any() const { return ! bool(_mm512_kortestz(v, v)); }
OpenPOWER on IntegriCloud