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

Function VecAdd

TSSimd.h:684–695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682 }
683
684 inline vec_float VecAdd(const vec_float& v1, const vec_float& v2)
685 {
686 #if defined(TERATHON_SSE)
687
688 return (_mm_add_ps(v1, v2));
689
690 #elif defined(TERATHON_NEON)
691
692 return (vaddq_f32(v1, v2));
693
694 #endif
695 }
696
697 inline vec_float operator +(const vec_float& v1, const vec_float& v2)
698 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected