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

Function npyv_storen2_u32

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

/ 64-bit store over 32-bit stride

Source from the content-addressed store, hash-verified

178
179//// 64-bit store over 32-bit stride
180NPY_FINLINE void npyv_storen2_u32(npy_uint32 *ptr, npy_intp stride, npyv_u32 a)
181{
182 *(npy_uint64*)ptr = vec_extract((npyv_u64)a, 0);
183 *(npy_uint64*)(ptr + stride) = vec_extract((npyv_u64)a, 1);
184}
185NPY_FINLINE void npyv_storen2_s32(npy_int32 *ptr, npy_intp stride, npyv_s32 a)
186{ npyv_storen2_u32((npy_uint32*)ptr, stride, (npyv_u32)a); }
187#if NPY_SIMD_F32

Callers 2

npyv_storen2_s32Function · 0.70
npyv_storen2_f32Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected