You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#defineSIMDPP_ARCH_X86_AVX2
#include<simdpp/simd.h>voidsum(double* out, doubleconst* lhs, doubleconst* rhs) {
usingvec_t = simdpp::float64<1>;
auto l = simdpp::load_u<vec_t>(lhs);
auto r = simdpp::load_u<vec_t>(rhs);
simdpp::store_u(out, l + r);
}
will load and write 4 doubles instead of a single one, which may result in an unexpected buffer overflow. is this the intended behavior?