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

Function VecDiv

TSSimd.h:853–866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

851 }
852
853 inline vec_float VecDiv(const vec_float& v1, const vec_float& v2)
854 {
855 #if defined(TERATHON_SSE)
856
857 return (_mm_div_ps(v1, v2));
858
859 #elif defined(TERATHON_NEON)
860
861 vec_float f = vrecpeq_f32(v2);
862 f = vmulq_f32(f, vrecpsq_f32(v2, f));
863 return (vmulq_f32(v1, f));
864
865 #endif
866 }
867
868 inline vec_float operator /(const vec_float& v1, const vec_float& v2)
869 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected