loadVec

private fnauto loadVec(T)(const(T)[] src) @trusted pure nothrow

Loads 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

Tthe element type
srcthe source, at least one vector of elements

Returns

the loaded vector.