| 150 | |
| 151 | #ifdef USE_AVX512_WC_LINECOUNT |
| 152 | static bool |
| 153 | avx512_supported (void) |
| 154 | { |
| 155 | bool avx512_enabled = (cpu_supports ("avx512f") |
| 156 | && cpu_supports ("avx512bw")); |
| 157 | |
| 158 | if (debug) |
| 159 | error (0, 0, (avx512_enabled |
| 160 | ? _("using avx512 hardware support") |
| 161 | : _("avx512 support not detected"))); |
| 162 | |
| 163 | return avx512_enabled; |
| 164 | } |
| 165 | #endif |
| 166 | |
| 167 | #ifdef USE_NEON_WC_LINECOUNT |