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

Function npyv_loadn_s32

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

* Non-contiguous Load ***************************/

Source from the content-addressed store, hash-verified

51 * Non-contiguous Load
52 ***************************/
53NPY_FINLINE npyv_s32 npyv_loadn_s32(const npy_int32 *ptr, npy_intp stride)
54{
55 int32x4_t a = vdupq_n_s32(0);
56 a = vld1q_lane_s32((const int32_t*)ptr, a, 0);
57 a = vld1q_lane_s32((const int32_t*)ptr + stride, a, 1);
58 a = vld1q_lane_s32((const int32_t*)ptr + stride*2, a, 2);
59 a = vld1q_lane_s32((const int32_t*)ptr + stride*3, a, 3);
60 return a;
61}
62
63NPY_FINLINE npyv_u32 npyv_loadn_u32(const npy_uint32 *ptr, npy_intp stride)
64{

Callers 3

npyv_loadn_u32Function · 0.70
npyv_loadn_f32Function · 0.70
npyv_loadn_till_s32Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected