MCPcopy Create free account
hub / github.com/MegEngine/MegCC / GiSt1Float32

Function GiSt1Float32

immigration/include/gi_float.h:366–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364#endif
365
366GI_FORCEINLINE void GiSt1Float32(float* ptr, float32x2_t val) {
367#if defined(GI_NEON_INTRINSICS)
368 return vst1_f32(ptr, val);
369#elif defined(GI_SSE2_INTRINSICS)
370 *(ptr) = val.m64_f32[0];
371 *(ptr + 1) = val.m64_f32[1];
372 return;
373#elif defined(GI_RVV_INTRINSICS)
374 return vse32_v_f32m1(ptr, val, 2);
375#else
376 *(ptr) = val[0];
377 *(ptr + 1) = val[1];
378 return;
379#endif
380}
381
382#if defined(GI_NEON_INTRINSICS)
383#define GiExtqFloat32(a, b, n) vextq_f32(a, b, n)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected