[PATCH] D17090: Identify cpu family 6 and model 94 as "skl" in getHostCPUName

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 10 12:40:56 PST 2016


sanjoy created this revision.
sanjoy added reviewers: craig.topper, delena.
sanjoy added a subscriber: llvm-commits.
Herald added a subscriber: mcrosier.

I'm trying to compile on an "Intel(R) Xeon(R) CPU E3-1220 v5 @ 3.00GHz"
which has cpu family 6 and model 94.  It only has avx2 (and not avx512),
and thus probably(?) counts as a SkylakeClientProc == "skl" and not
SkylakeServerProc == "skylake".

http://reviews.llvm.org/D17090

Files:
  lib/Support/Host.cpp

Index: lib/Support/Host.cpp
===================================================================
--- lib/Support/Host.cpp
+++ lib/Support/Host.cpp
@@ -373,8 +373,9 @@
 
       // Skylake:
       case 78:
-      case 94:
         return "skylake";
+      case 94:
+        return "skl";
 
       case 28: // Most 45 nm Intel Atom processors
       case 38: // 45 nm Atom Lincroft


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17090.47506.patch
Type: text/x-patch
Size: 378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160210/fb939478/attachment.bin>


More information about the llvm-commits mailing list