MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / cpu_supports_f16c

Function cpu_supports_f16c

Source/astcenccli_entry.cpp:159–167  ·  view source on GitHub ↗

* @brief Run-time detection if the host CPU supports F16C extension. * * @return @c true if supported, @c false if not. */

Source from the content-addressed store, hash-verified

157 * @return @c true if supported, @c false if not.
158 */
159static bool cpu_supports_f16c()
160{
161 if (!g_init)
162 {
163 detect_cpu_isa();
164 }
165
166 return g_cpu_has_f16c;
167}
168#endif
169
170#if ASTCENC_SSE >= 41

Callers 1

validate_cpu_isaFunction · 0.85

Calls 1

detect_cpu_isaFunction · 0.85

Tested by

no test coverage detected