* @brief Run-time detection if the host CPU supports F16C extension. * * @return @c true if supported, @c false if not. */
| 157 | * @return @c true if supported, @c false if not. |
| 158 | */ |
| 159 | static 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 |
no test coverage detected