MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / VecMadd

Function VecMadd

TSSimd.h:801–812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

799 }
800
801 inline vec_float VecMadd(const vec_float& v1, const vec_float& v2, const vec_float& v3)
802 {
803 #if defined(TERATHON_SSE)
804
805 return (_mm_add_ps(_mm_mul_ps(v1, v2), v3));
806
807 #elif defined(TERATHON_NEON)
808
809 return (vfmaq_f32(v3, v1, v2));
810
811 #endif
812 }
813
814 inline vec_float VecMaddScalar(const vec_float& v1, const vec_float& v2, const vec_float& v3)
815 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected