* @brief Run-time detection if the host CPU supports SSE 4.1 extension. * * @return @c true if supported, @c false if not. */
| 174 | * @return @c true if supported, @c false if not. |
| 175 | */ |
| 176 | static 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 |
no test coverage detected