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

Function store_nbytes

Source/astcenc_vecmathlib_sse_4.h:658–662  ·  view source on GitHub ↗

* @brief Store lowest N (vector width) bytes into an unaligned address. */

Source from the content-addressed store, hash-verified

656 * @brief Store lowest N (vector width) bytes into an unaligned address.
657 */
658ASTCENC_SIMD_INLINE void store_nbytes(vint4 a, uint8_t* p)
659{
660 // Cast due to missing intrinsics
661 _mm_store_ss(reinterpret_cast<float*>(p), _mm_castsi128_ps(a.m));
662}
663
664/**
665 * @brief Pack low 8 bits of N (vector width) lanes into bottom of vector.

Callers 1

pack_and_store_low_bytesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected