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

Function npyv_storen2_u32

numpy/core/src/common/simd/sse/memory.h:161–165  ·  view source on GitHub ↗

/ 64-bit store over 32-bit stride

Source from the content-addressed store, hash-verified

159
160//// 64-bit store over 32-bit stride
161NPY_FINLINE void npyv_storen2_u32(npy_uint32 *ptr, npy_intp stride, npyv_u32 a)
162{
163 _mm_storel_pd((double*)ptr, _mm_castsi128_pd(a));
164 _mm_storeh_pd((double*)(ptr + stride), _mm_castsi128_pd(a));
165}
166NPY_FINLINE void npyv_storen2_s32(npy_int32 *ptr, npy_intp stride, npyv_s32 a)
167{ npyv_storen2_u32((npy_uint32*)ptr, stride, a); }
168NPY_FINLINE void npyv_storen2_f32(float *ptr, npy_intp stride, npyv_f32 a)

Callers 2

npyv_storen2_s32Function · 0.70
npyv_storen2_f32Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected