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

Function VecStoreY

TSSimd.h:519–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517 }
518
519 inline void VecStoreY(const vec_float& v, float *ptr)
520 {
521 #if defined(TERATHON_SSE4)
522
523 *ptr = v[1];
524
525 #elif defined(TERATHON_SSE)
526
527 _mm_store_ss(ptr, _mm_shuffle_ps(v, v, _MM_SHUFFLE(1, 1, 1, 1)));
528
529 #elif defined(TERATHON_NEON)
530
531 vst1q_lane_f32(ptr, v, 1);
532
533 #endif
534 }
535
536 inline void VecStoreZ(const vec_float& v, float *ptr)
537 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected