summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-07-07 13:47:00 -0400
committerErik Schnetter <schnetter@gmail.com>2013-07-07 13:47:00 -0400
commit613ed55feefb069aa13172e4ed29445149b124bd (patch)
tree906f9a383bbbc15546f217be0d914ee6a829ab43
parent41fd9214b0ff3f49825dfd258d74b09686eba5b6 (diff)
downloadvecmathlib-613ed55feefb069aa13172e4ed29445149b124bd.zip
vecmathlib-613ed55feefb069aa13172e4ed29445149b124bd.tar.gz
Do not use 0b syntax for binary values -- this is not supported by IBM's xlC
-rw-r--r--vec_qpx_double4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vec_qpx_double4.h b/vec_qpx_double4.h
index 2d5593d..3ed6f90 100644
--- a/vec_qpx_double4.h
+++ b/vec_qpx_double4.h
@@ -538,7 +538,7 @@ namespace vecmathlib {
real_t sum() const
{
// return (*this)[0] + (*this)[1] + (*this)[2] + (*this)[3];
- realvec_t c1 = vec_logical(v, v, 0b1111);
+ realvec_t c1 = vec_logical(v, v, 0xf);
realvec_t x = vec_xxmadd(v, c1, v);
return x[0] + x[2];
}
OpenPOWER on IntegriCloud