cpu_avx512knl.cpp 326 B

12345678910111213141516
  1. #if defined __AVX512__ || defined __AVX512F__
  2. #include <immintrin.h>
  3. void test()
  4. {
  5. int* base;
  6. __m512i idx;
  7. __mmask16 m16;
  8. __m512 f;
  9. _mm512_mask_prefetch_i32gather_ps(idx, m16, base, 1, _MM_HINT_T1);
  10. f = _mm512_rsqrt28_ps(f);
  11. }
  12. #else
  13. #error "AVX512-KNL is not supported"
  14. #endif
  15. int main() { return 0; }