| 206 | } // namespace |
| 207 | |
| 208 | bool DetectDotprod() { |
| 209 | #ifdef __linux__ |
| 210 | if (IsLinuxAuxvMethodAvailable()) { |
| 211 | return DetectDotprodByLinuxAuxvMethod(); |
| 212 | } |
| 213 | #endif |
| 214 | |
| 215 | return DetectDotprodBySigIllMethod(); |
| 216 | } |
| 217 | |
| 218 | #else |
| 219 | bool DetectDotprod() { return false; } |
no test coverage detected