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

Function VecMaxScalar

TSSimd.h:671–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

669 }
670
671 inline vec_float VecMaxScalar(const vec_float& v1, const vec_float& v2)
672 {
673 #if defined(TERATHON_SSE)
674
675 return (_mm_max_ss(v1, v2));
676
677 #elif defined(TERATHON_NEON)
678
679 return (vmaxq_f32(v1, v2));
680
681 #endif
682 }
683
684 inline vec_float VecAdd(const vec_float& v1, const vec_float& v2)
685 {

Callers 4

FmaxFunction · 0.85
FmaxZeroFunction · 0.85
SaturateFunction · 0.85
ClampFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected