diff options
author | Erik Schnetter <schnetter@gmail.com> | 2014-10-10 15:09:04 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2014-10-10 15:09:04 -0400 |
commit | 293067dda9228c8114f7b3cf8cdd70a6c8477f25 (patch) | |
tree | 0aa1d55288e8af851f63cacbc4453ea7c89ab97b | |
parent | 237eb9ea7292b369bb8ef426869784679900e193 (diff) | |
download | vecmathlib-293067dda9228c8114f7b3cf8cdd70a6c8477f25.zip vecmathlib-293067dda9228c8114f7b3cf8cdd70a6c8477f25.tar.gz |
Optimize AVX isignbit
-rw-r--r-- | vec_avx_double4.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/vec_avx_double4.h b/vec_avx_double4.h index 37fd73b..2699a43 100644 --- a/vec_avx_double4.h +++ b/vec_avx_double4.h @@ -358,7 +358,7 @@ namespace vecmathlib { } intvec_t abs() const; - boolvec_t isignbit() const; + boolvec_t isignbit() const { return as_bool(); } intvec_t max(intvec_t x) const; intvec_t min(intvec_t x) const; }; @@ -735,11 +735,6 @@ namespace vecmathlib { return r; } - inline boolvec<double,4> intvec<double,4>::isignbit() const - { - return MF::vml_isignbit(*this); - } - inline intvec<double,4> intvec<double,4>::max(intvec_t x) const { return MF::vml_max(*this, x); |