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

Function VecStoreW

TSSimd.h:553–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551 }
552
553 inline void VecStoreW(const vec_float& v, float *ptr)
554 {
555 #if defined(TERATHON_SSE4)
556
557 *ptr = v[3];
558
559 #elif defined(TERATHON_SSE)
560
561 _mm_store_ss(ptr, _mm_shuffle_ps(v, v, _MM_SHUFFLE(3, 3, 3, 3)));
562
563 #elif defined(TERATHON_NEON)
564
565 vst1q_lane_f32(ptr, v, 3);
566
567 #endif
568 }
569
570 inline void VecStore3D(const vec_float& v, float *ptr)
571 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected