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

Function VecStoreZ

TSSimd.h:536–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534 }
535
536 inline void VecStoreZ(const vec_float& v, float *ptr)
537 {
538 #if defined(TERATHON_SSE4)
539
540 *ptr = v[2];
541
542 #elif defined(TERATHON_SSE)
543
544 _mm_store_ss(ptr, _mm_shuffle_ps(v, v, _MM_SHUFFLE(2, 2, 2, 2)));
545
546 #elif defined(TERATHON_NEON)
547
548 vst1q_lane_f32(ptr, v, 2);
549
550 #endif
551 }
552
553 inline void VecStoreW(const vec_float& v, float *ptr)
554 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected