summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-06-12 22:38:37 -0400
committerErik Schnetter <schnetter@gmail.com>2013-06-12 22:38:37 -0400
commit2eb5b62af9141d3298decb64244a65617576d43c (patch)
tree38502594fe10f61934f0e0534c03fec576d39bfb
parentccd85c75dbba4e5d744e8dd61fe2649b47f7350c (diff)
downloadvecmathlib-2eb5b62af9141d3298decb64244a65617576d43c.zip
vecmathlib-2eb5b62af9141d3298decb64244a65617576d43c.tar.gz
Correct operator&
-rw-r--r--vec_float_neon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vec_float_neon.h b/vec_float_neon.h
index 848ff62..f2f1d93 100644
--- a/vec_float_neon.h
+++ b/vec_float_neon.h
@@ -187,7 +187,7 @@ namespace vecmathlib {
intvec operator~() const { return vmvn_s32(v); }
- intvec operator&(intvec x) const { return vadd_s32(v, x.v); }
+ intvec operator&(intvec x) const { return vand_s32(v, x.v); }
intvec operator|(intvec x) const { return vorr_s32(v, x.v); }
intvec operator^(intvec x) const { return veor_s32(v, x.v); }
OpenPOWER on IntegriCloud