[AVX512]: knl target was added

This commit is contained in:
Vsevolod Livinskiy
2015-04-24 09:44:23 +03:00
committed by Anton Mitrokhin
parent f5c90dbd43
commit 35222694e5
4 changed files with 59 additions and 15 deletions

View File

@@ -126,7 +126,7 @@ lGetSystemISA() {
else if ((info2[1] & (1 << 26)) != 0 && // AVX512 PF
(info2[1] & (1 << 27)) != 0 && // AVX512 ER
(info2[1] & (1 << 28)) != 0) { // AVX512 CDI
return "KNL";
return "KNL_AVX512";
}
// If it's unknown AVX512 target, fall through and use AVX2
// or whatever is available in the machine.