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

Function VecConvertInt32

TSSimd.h:2382–2393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2380 }
2381
2382 inline vec_int32 VecConvertInt32(const vec_float& v)
2383 {
2384 #if defined(TERATHON_SSE)
2385
2386 return (_mm_cvtps_epi32(v));
2387
2388 #elif defined(TERATHON_NEON)
2389
2390 return (vcvtq_s32_f32(v));
2391
2392 #endif
2393 }
2394
2395 inline vec_int32 VecInt32Add(const vec_int32& v1, const vec_int32& v2)
2396 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected