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

Function npyv_loadn2_f64

numpy/core/src/common/simd/avx2/memory.h:115–119  ·  view source on GitHub ↗

/ 128-bit load over 64-bit stride

Source from the content-addressed store, hash-verified

113
114//// 128-bit load over 64-bit stride
115NPY_FINLINE npyv_f64 npyv_loadn2_f64(const double *ptr, npy_intp stride)
116{
117 __m256d a = npyv_loadl_f64(ptr);
118 return _mm256_insertf128_pd(a, _mm_loadu_pd(ptr + stride), 1);
119}
120NPY_FINLINE npyv_u64 npyv_loadn2_u64(const npy_uint64 *ptr, npy_intp stride)
121{ return _mm256_castpd_si256(npyv_loadn2_f64((const double*)ptr, stride)); }
122NPY_FINLINE npyv_s64 npyv_loadn2_s64(const npy_int64 *ptr, npy_intp stride)

Callers 2

npyv_loadn2_u64Function · 0.70
npyv_loadn2_s64Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected