MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / load

Method load

Source/astcenc_vecmathlib_avx2_8.h:193–196  ·  view source on GitHub ↗

* @brief Factory that returns a vector loaded from unaligned memory. */

Source from the content-addressed store, hash-verified

191 * @brief Factory that returns a vector loaded from unaligned memory.
192 */
193 static ASTCENC_SIMD_INLINE vint8 load(const uint8_t* p)
194 {
195 return vint8(_mm256_lddqu_si256(reinterpret_cast<const __m256i*>(p)));
196 }
197
198 /**
199 * @brief Factory that returns a vector loaded from 32B aligned memory.

Callers

nothing calls this directly

Calls 1

vint8Class · 0.70

Tested by

no test coverage detected