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

Function VecSub

TSSimd.h:723–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

721 }
722
723 inline vec_float VecSub(const vec_float& v1, const vec_float& v2)
724 {
725 #if defined(TERATHON_SSE)
726
727 return (_mm_sub_ps(v1, v2));
728
729 #elif defined(TERATHON_NEON)
730
731 return (vsubq_f32(v1, v2));
732
733 #endif
734 }
735
736 inline vec_float operator -(const vec_float& v1, const vec_float& v2)
737 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected