uses vector as indexes into a table that contains 16 elements of float64.
| 752 | // uses vector as indexes into a table |
| 753 | // that contains 16 elements of float64. |
| 754 | NPY_FINLINE npyv_f64 npyv_lut16_f64(const double *table, npyv_u64 idx) |
| 755 | { return _mm256_i64gather_pd(table, idx, 8); } |
| 756 | NPY_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)); } |
| 758 | NPY_FINLINE npyv_s64 npyv_lut16_s64(const npy_int64 *table, npyv_u64 idx) |
no outgoing calls
no test coverage detected