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

Function dot3

Source/astcenc_vecmathlib_common_4.h:324–329  ·  view source on GitHub ↗

* @brief Return the dot product for the bottom 3 lanes, returning vector. */

Source from the content-addressed store, hash-verified

322 * @brief Return the dot product for the bottom 3 lanes, returning vector.
323 */
324ASTCENC_SIMD_INLINE vfloat4 dot3(vfloat4 a, vfloat4 b)
325{
326 vfloat4 m = a * b;
327 float d3 = hadd_rgb_s(m);
328 return vfloat4(d3, d3, d3, 0.0f);
329}
330
331#endif
332

Callers

nothing calls this directly

Calls 2

hadd_rgb_sFunction · 0.85
vfloat4Class · 0.70

Tested by

no test coverage detected