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

Function dot

Source/astcenc_vecmathlib_common_4.h:306–310  ·  view source on GitHub ↗

* @brief Return the dot product for the full 4 lanes, returning vector. */

Source from the content-addressed store, hash-verified

304 * @brief Return the dot product for the full 4 lanes, returning vector.
305 */
306ASTCENC_SIMD_INLINE vfloat4 dot(vfloat4 a, vfloat4 b)
307{
308 vfloat4 m = a * b;
309 return vfloat4(hadd_s(m));
310}
311
312/**
313 * @brief Return the dot product for the bottom 3 lanes, returning scalar.

Callers

nothing calls this directly

Calls 2

vfloat4Class · 0.70
hadd_sFunction · 0.70

Tested by

no test coverage detected