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

Function dot_s

Source/astcenc_vecmathlib_common_4.h:297–301  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

295 * @brief Return the dot product for the full 4 lanes, returning scalar.
296 */
297ASTCENC_SIMD_INLINE float dot_s(vfloat4 a, vfloat4 b)
298{
299 vfloat4 m = a * b;
300 return hadd_s(m);
301}
302
303/**
304 * @brief Return the dot product for the full 4 lanes, returning vector.

Callers

nothing calls this directly

Calls 1

hadd_sFunction · 0.70

Tested by

no test coverage detected