simdpp::load_u

From libsimdpp-docs
< mem
template<class V>
V load_u( void* ptr );
_DETAIL_ load_u( void* ptr );

Performs an unaligned load from memory. ptr must be aligned to the element size of the vector that is being loaded.

The first overload loads to given non-mask vector type.

The second overloads returns a value of unspecified type with which any non-mask vector can be initialized. E.g. uint32<4> x = load(pointer);

Parameters[edit]

ptr - pointer to location to load data from

Return value[edit]

(1) Vector that contains value loaded from address ptr.

(2) An value of unspecified type that can initialize a vector.

See also[edit]