[llvm] r233514 - [X86] Family 6 model 29 is a Penryn based processor not a Nehalem based processor.

Craig Topper craig.topper at gmail.com
Sun Mar 29 23:31:04 PDT 2015


Author: ctopper
Date: Mon Mar 30 01:31:03 2015
New Revision: 233514

URL: http://llvm.org/viewvc/llvm-project?rev=233514&view=rev
Log:
[X86] Family 6 model 29 is a Penryn based processor not a Nehalem based processor.

Modified:
    llvm/trunk/lib/Support/Host.cpp

Modified: llvm/trunk/lib/Support/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Host.cpp?rev=233514&r1=233513&r2=233514&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Host.cpp (original)
+++ llvm/trunk/lib/Support/Host.cpp Mon Mar 30 01:31:03 2015
@@ -324,13 +324,13 @@ StringRef sys::getHostCPUName() {
                // 17h. All processors are manufactured using the 45 nm process.
                //
                // 45nm: Penryn , Wolfdale, Yorkfield (XE)
+      case 29: // Intel Xeon processor MP. All processors are manufactured using
+               // the 45 nm process.
         // Not all Penryn processors support SSE 4.1 (such as the Pentium brand)
         return HasSSE41 ? "penryn" : "core2";
 
       case 26: // Intel Core i7 processor and Intel Xeon processor. All
                // processors are manufactured using the 45 nm process.
-      case 29: // Intel Xeon processor MP. All processors are manufactured using
-               // the 45 nm process.
       case 30: // Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz.
                // As found in a Summer 2010 model iMac.
       case 37: // Intel Core i7, laptop version.





More information about the llvm-commits mailing list