diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-06-12 22:38:37 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-06-12 22:38:37 -0400 |
commit | 2eb5b62af9141d3298decb64244a65617576d43c (patch) | |
tree | 38502594fe10f61934f0e0534c03fec576d39bfb | |
parent | ccd85c75dbba4e5d744e8dd61fe2649b47f7350c (diff) | |
download | vecmathlib-2eb5b62af9141d3298decb64244a65617576d43c.zip vecmathlib-2eb5b62af9141d3298decb64244a65617576d43c.tar.gz |
Correct operator&
-rw-r--r-- | vec_float_neon.h | 2 |
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); } |