loadVec
private fn
auto loadVec(T)(const(T)[] src) @trusted pure nothrowLoads one core.simd vector from a possibly unaligned element position through an aligned staging buffer (a plain cast(V*) dereference promises the vector's natural alignment, which element offsets inside sealed buffers do not).
Parameters
T | the element type |
src | the source, at least one vector of elements |
Returns
the loaded vector.