| 743 | // uses vector as indexes into a table |
| 744 | // that contains 32 elements of float32. |
| 745 | NPY_FINLINE npyv_f32 npyv_lut32_f32(const float *table, npyv_u32 idx) |
| 746 | { return _mm256_i32gather_ps(table, idx, 4); } |
| 747 | NPY_FINLINE npyv_u32 npyv_lut32_u32(const npy_uint32 *table, npyv_u32 idx) |
| 748 | { return npyv_reinterpret_u32_f32(npyv_lut32_f32((const float*)table, idx)); } |
| 749 | NPY_FINLINE npyv_s32 npyv_lut32_s32(const npy_int32 *table, npyv_u32 idx) |
no outgoing calls
no test coverage detected