[AVX512]: new .ll file for knl target

This commit is contained in:
Anton Mitrokhin
2015-04-30 17:03:35 +03:00
parent 92650bdff0
commit 3eccce5e4f
3 changed files with 554 additions and 1 deletions

View File

@@ -1328,6 +1328,21 @@ DefineStdlib(SymbolTable *symbolTable, llvm::LLVMContext *ctx, llvm::Module *mod
}
break;
}
case Target::KNL_AVX512: {
switch (g->target->getVectorWidth()) {
case 16:
if (runtime32) {
EXPORT_MODULE(builtins_bitcode_knl_32bit);
}
else {
EXPORT_MODULE(builtins_bitcode_knl_64bit);
}
break;
default:
FATAL("logic error in DefineStdlib");
}
break;
}
case Target::GENERIC: {
switch (g->target->getVectorWidth()) {
case 4: