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

Function avx2_supported

src/wc.c:138–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137#ifdef USE_AVX2_WC_LINECOUNT
138static bool
139avx2_supported (void)
140{
141 bool avx2_enabled = cpu_supports ("avx2");
142 if (debug)
143 error (0, 0, (avx2_enabled
144 ? _("using avx2 hardware support")
145 : _("avx2 support not detected")));
146
147 return avx2_enabled;
148}
149#endif
150
151#ifdef USE_AVX512_WC_LINECOUNT

Callers 1

wc_linesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected