cpu_avx512icl.cpp 416 B

1234567891011121314
  1. #if defined __AVX512__ || defined __AVX512F__
  2. #include <immintrin.h>
  3. void test()
  4. {
  5. __m512i a, b, c;
  6. a = _mm512_popcnt_epi8(a); // BITALG
  7. a = _mm512_shrdv_epi64(a, b, c); // VBMI2
  8. a = _mm512_popcnt_epi64(a); // VPOPCNTDQ
  9. a = _mm512_dpwssd_epi32(a, b, c); // VNNI
  10. }
  11. #else
  12. #error "AVX512-ICL is not supported"
  13. #endif
  14. int main() { return 0; }