| 439 | } |
| 440 | |
| 441 | std::string supportedTargetList (int features) |
| 442 | { |
| 443 | std::string v; |
| 444 | if (hasISA(features,SSE)) v += "SSE "; |
| 445 | if (hasISA(features,SSE2)) v += "SSE2 "; |
| 446 | if (hasISA(features,SSE3)) v += "SSE3 "; |
| 447 | if (hasISA(features,SSSE3)) v += "SSSE3 "; |
| 448 | if (hasISA(features,SSE41)) v += "SSE4.1 "; |
| 449 | if (hasISA(features,SSE42)) v += "SSE4.2 "; |
| 450 | if (hasISA(features,AVX)) v += "AVX "; |
| 451 | if (hasISA(features,AVXI)) v += "AVXI "; |
| 452 | if (hasISA(features,AVX2)) v += "AVX2 "; |
| 453 | if (hasISA(features,AVX512)) v += "AVX512 "; |
| 454 | |
| 455 | if (hasISA(features,NEON)) v += "NEON "; |
| 456 | if (hasISA(features,NEON_2X)) v += "2xNEON "; |
| 457 | return v; |
| 458 | } |
| 459 | } |
| 460 | |
| 461 | //////////////////////////////////////////////////////////////////////////////// |