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

Function cpu_supports_sse41

Source/astcenccli_entry.cpp:176–184  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

174 * @return @c true if supported, @c false if not.
175 */
176static bool cpu_supports_sse41()
177{
178 if (!g_init)
179 {
180 detect_cpu_isa();
181 }
182
183 return g_cpu_has_sse41;
184}
185#endif
186
187#if ASTCENC_AVX >= 2

Callers 1

validate_cpu_isaFunction · 0.85

Calls 1

detect_cpu_isaFunction · 0.85

Tested by

no test coverage detected