summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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