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

Function npyv_loadn2_u32

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

/ 64-bit load over 32-bit stride

Source from the content-addressed store, hash-verified

96
97//// 64-bit load over 32-bit stride
98NPY_FINLINE npyv_u32 npyv_loadn2_u32(const npy_uint32 *ptr, npy_intp stride)
99{
100 return vcombine_u32(
101 vld1_u32((const uint32_t*)ptr), vld1_u32((const uint32_t*)ptr + stride)
102 );
103}
104NPY_FINLINE npyv_s32 npyv_loadn2_s32(const npy_int32 *ptr, npy_intp stride)
105{ return npyv_reinterpret_s32_u32(npyv_loadn2_u32((const npy_uint32*)ptr, stride)); }
106NPY_FINLINE npyv_f32 npyv_loadn2_f32(const float *ptr, npy_intp stride)

Callers 2

npyv_loadn2_s32Function · 0.70
npyv_loadn2_f32Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected