/ 64-bit load over 32-bit stride
| 344 | |
| 345 | //// 64-bit load over 32-bit stride |
| 346 | NPY_FINLINE npyv_s32 npyv_loadn2_till_s32(const npy_int32 *ptr, npy_intp stride, npy_uintp nlane, |
| 347 | npy_int32 fill_lo, npy_int32 fill_hi) |
| 348 | { |
| 349 | assert(nlane > 0); |
| 350 | if (nlane == 1) { |
| 351 | npyv_s32 r = npyv_set_s32(ptr[0], ptr[1], fill_lo, fill_hi); |
| 352 | #if NPY_SIMD_GUARD_PARTIAL_LOAD |
| 353 | volatile npyv_s32 workaround = r; |
| 354 | r = vec_or(workaround, r); |
| 355 | #endif |
| 356 | return r; |
| 357 | } |
| 358 | return npyv_loadn2_s32(ptr, stride); |
| 359 | } |
| 360 | NPY_FINLINE npyv_s32 npyv_loadn2_tillz_s32(const npy_int32 *ptr, npy_intp stride, npy_uintp nlane) |
| 361 | { |
| 362 | assert(nlane > 0); |
nothing calls this directly
no test coverage detected