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

Method load

Source/astcenc_vecmathlib_neon_4.h:276–281  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

274 * @brief Factory that returns a vector loaded from unaligned memory.
275 */
276 static ASTCENC_SIMD_INLINE vint4 load(const uint8_t* p)
277 {
278 vint4 data;
279 std::memcpy(&data.m, p, 4 * sizeof(int));
280 return data;
281 }
282
283 /**
284 * @brief Factory that returns a vector loaded from 16B aligned memory.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected