[X86] Family 6 model 29 is a Penryn based processor not a Nehalem based processor.
authorCraig Topper <craig.topper@gmail.com>
Mon, 30 Mar 2015 06:31:03 +0000 (06:31 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 30 Mar 2015 06:31:03 +0000 (06:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233514 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Host.cpp

index a50e8437bdf93c42b86292d3c4638068bcd138bc..984070e11c3d38716b1a184cd79ac85c82c969cf 100644 (file)
@@ -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.