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

Function npyv_lut16_f64

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

uses vector as indexes into a table that contains 16 elements of float64.

Source from the content-addressed store, hash-verified

752// uses vector as indexes into a table
753// that contains 16 elements of float64.
754NPY_FINLINE npyv_f64 npyv_lut16_f64(const double *table, npyv_u64 idx)
755{ return _mm256_i64gather_pd(table, idx, 8); }
756NPY_FINLINE npyv_u64 npyv_lut16_u64(const npy_uint64 *table, npyv_u64 idx)
757{ return npyv_reinterpret_u64_f64(npyv_lut16_f64((const double*)table, idx)); }
758NPY_FINLINE npyv_s64 npyv_lut16_s64(const npy_int64 *table, npyv_u64 idx)

Callers 2

npyv_lut16_u64Function · 0.70
npyv_lut16_s64Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected