MCPcopy Create free account
hub / github.com/RenderKit/embree / supportedTargetList

Function supportedTargetList

common/sys/sysinfo.cpp:441–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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////////////////////////////////////////////////////////////////////////////////

Callers 1

printMethod · 0.85

Calls 1

hasISAFunction · 0.70

Tested by

no test coverage detected