diff options
Diffstat (limited to 'instantiations.cc')
-rw-r--r-- | instantiations.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/instantiations.cc b/instantiations.cc index aca2447..5e64ef2 100644 --- a/instantiations.cc +++ b/instantiations.cc @@ -35,6 +35,10 @@ namespace vecmathlib { template realvec<float,1> round(realvec<float,1> x); #endif +#ifdef VECMATHLIB_HAVE_VEC_FLOAT_1 + template intvec<float,8> popcount(intvec<float,8>); +#endif + #ifdef VECMATHLIB_HAVE_VEC_DOUBLE_1 template realvec<double,1> exp(realvec<double,1> x); template realvec<double,1> log(realvec<double,1> x); @@ -68,6 +72,7 @@ namespace vecmathlib { template realvec<double,4> set_elt<realvec<double,4>,1>(realvec<double,4> x, realvec<double,4>::real_t a); template realvec<double,4> set_elt<realvec<double,4>,2>(realvec<double,4> x, realvec<double,4>::real_t a); template realvec<double,4> set_elt<realvec<double,4>,3>(realvec<double,4> x, realvec<double,4>::real_t a); + template intvec<double,4> popcount(intvec<double,4>); #endif } |