MCPcopy Create free account
hub / github.com/coreutils/coreutils / avx512_supported

Function avx512_supported

src/wc.c:152–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150
151#ifdef USE_AVX512_WC_LINECOUNT
152static bool
153avx512_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

Callers 1

wc_linesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected