Skip to content

CxxUtils: vectorization helper

Scott Snyder requested to merge ssnyder/athena:vec.CxxUtils-20200312 into master

Add a nice alias vec<T, N> for gcc/clang's built-in vectorized types, with a fallback to a (mostly) compatible C++ class for other compilers.

Also provide a few helpers: vec_type_t, vec_size(), and vbroadcast().

Merge request reports

Loading