* Non-contiguous Load ***************************/
| 51 | * Non-contiguous Load |
| 52 | ***************************/ |
| 53 | NPY_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 | |
| 63 | NPY_FINLINE npyv_u32 npyv_loadn_u32(const npy_uint32 *ptr, npy_intp stride) |
| 64 | { |
no outgoing calls
no test coverage detected