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

Method load

Source/astcenc_vecmathlib_sve_8.h:190–194  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

188 * @brief Factory that returns a vector loaded from unaligned memory.
189 */
190 static ASTCENC_SIMD_INLINE vint8 load(const uint8_t* p)
191 {
192 svuint8_8_t data = svld1_u8(svptrue_b8(), p);
193 return vint8(svreinterpret_s32_u8(data));
194 }
195
196 /**
197 * @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