From 92650bdff060ccfe00cd81752e526c9733889ccc Mon Sep 17 00:00:00 2001 From: Anton Mitrokhin Date: Thu, 30 Apr 2015 15:38:38 +0300 Subject: [PATCH] [AVX512]: add knl cpu to the list of knl backwards compatibility list --- ispc.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ispc.cpp b/ispc.cpp index a6d6d2f5..3596e171 100644 --- a/ispc.cpp +++ b/ispc.cpp @@ -347,7 +347,7 @@ public: #endif #if !defined(LLVM_3_2) && !defined(LLVM_3_3) && !defined(LLVM_3_4) && !defined(LLVM_3_5) && !defined(LLVM_3_6)// LLVM 3.7+ - compat[CPU_KNL] = Set(CPU_Generic, CPU_Bonnell, CPU_Penryn, + compat[CPU_KNL] = Set(CPU_KNL, CPU_Generic, CPU_Bonnell, CPU_Penryn, CPU_Core2, CPU_Nehalem, CPU_Silvermont, CPU_SandyBridge, CPU_IvyBridge, CPU_Haswell, CPU_Broadwell, CPU_None); @@ -1125,7 +1125,8 @@ Target::SupportedTargets() { "avx1.1-i32x8, avx1.1-i32x16, avx1.1-i64x4 " "avx2-i32x8, avx2-i32x16, avx2-i64x4, " "generic-x1, generic-x4, generic-x8, generic-x16, " - "generic-x32, generic-x64, *-generic-x16" + "generic-x32, generic-x64, *-generic-x16, " + "knl-avx512" #ifdef ISPC_ARM_ENABLED ", neon-i8x16, neon-i16x8, neon-i32x4" #endif