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 a78893f..848ff62 100644
--- a/vec_float_neon.h
+++ b/vec_float_neon.h
@@ -223,7 +223,7 @@ namespace vecmathlib {
boolvec_t signbit() const
{
//return *this < IV(I(0));
- return vshr_n_s32(v, FP::bits-1);
+ return intvec(vshr_n_s32(v, FP::bits-1)).as_bool();
}
boolvec_t operator==(intvec const& x) const { return vceq_s32(v, x.v); }
OpenPOWER on IntegriCloud