MCPcopy Create free account
hub / github.com/numpy/numpy / npyv_storen_u32

Function npyv_storen_u32

numpy/core/src/common/simd/vec/memory.h:155–161  ·  view source on GitHub ↗

* Non-contiguous Store ***************************/ / 32

Source from the content-addressed store, hash-verified

153 ***************************/
154//// 32
155NPY_FINLINE void npyv_storen_u32(npy_uint32 *ptr, npy_intp stride, npyv_u32 a)
156{
157 ptr[stride * 0] = vec_extract(a, 0);
158 ptr[stride * 1] = vec_extract(a, 1);
159 ptr[stride * 2] = vec_extract(a, 2);
160 ptr[stride * 3] = vec_extract(a, 3);
161}
162NPY_FINLINE void npyv_storen_s32(npy_int32 *ptr, npy_intp stride, npyv_s32 a)
163{ npyv_storen_u32((npy_uint32*)ptr, stride, (npyv_u32)a); }
164#if NPY_SIMD_F32

Callers 2

npyv_storen_s32Function · 0.70
npyv_storen_f32Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected