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

Function VecSmearW

TSSimd.h:400–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398 }
399
400 inline vec_float VecSmearW(const vec_float& v)
401 {
402 #if defined(TERATHON_SSE)
403
404 return (_mm_shuffle_ps(v, v, _MM_SHUFFLE(3, 3, 3, 3)));
405
406 #elif defined(TERATHON_NEON)
407
408 return (vdupq_n_f32(vgetq_lane_f32(v, 3)));
409
410 #endif
411 }
412
413 #if defined(TERATHON_SSE)
414

Callers 5

TransformMethod · 0.85
VecDot4DFunction · 0.85
VecPlaneDotPoint3DFunction · 0.85
InverseMethod · 0.85
InverseUnitDetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected