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

Function npyv_storen_s32

numpy/core/src/common/simd/neon/memory.h:123–129  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

121 ***************************/
122//// 32
123NPY_FINLINE void npyv_storen_s32(npy_int32 *ptr, npy_intp stride, npyv_s32 a)
124{
125 vst1q_lane_s32((int32_t*)ptr, a, 0);
126 vst1q_lane_s32((int32_t*)ptr + stride, a, 1);
127 vst1q_lane_s32((int32_t*)ptr + stride*2, a, 2);
128 vst1q_lane_s32((int32_t*)ptr + stride*3, a, 3);
129}
130NPY_FINLINE void npyv_storen_u32(npy_uint32 *ptr, npy_intp stride, npyv_u32 a)
131{ npyv_storen_s32((npy_int32*)ptr, stride, npyv_reinterpret_s32_u32(a)); }
132NPY_FINLINE void npyv_storen_f32(float *ptr, npy_intp stride, npyv_f32 a)

Callers 2

npyv_storen_u32Function · 0.70
npyv_storen_f32Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected