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

Function gatherf

Source/astcenc_vecmathlib_avx2_8.h:920–923  ·  view source on GitHub ↗

* @brief Load a vector of gathered results from an array; */

Source from the content-addressed store, hash-verified

918 * @brief Load a vector of gathered results from an array;
919 */
920ASTCENC_SIMD_INLINE vfloat8 gatherf(const float* base, vint8 indices)
921{
922 return vfloat8(_mm256_i32gather_ps(base, indices.m, 4));
923}
924
925/**
926 * @brief Load a vector of gathered results from an array using byte indices from memory

Callers 1

Calls 1

vfloat8Class · 0.70

Tested by

no test coverage detected