Adds the family codes for the Midview Atom processors so that the
authorPreston Gurd <preston.gurd@intel.com>
Thu, 19 Jul 2012 19:05:37 +0000 (19:05 +0000)
committerPreston Gurd <preston.gurd@intel.com>
Thu, 19 Jul 2012 19:05:37 +0000 (19:05 +0000)
Atom buildbot will auto-detect Atom.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160521 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Host.cpp
lib/Target/X86/X86Subtarget.cpp

index 367ab6bfd4ebec1d2a41fdf09bcae856dec4122e..9a2c39d72e3f4beac60a1e084b8060d8e3160ab1 100644 (file)
@@ -249,9 +249,8 @@ std::string sys::getHostCPUName() {
       case 28: // Most 45 nm Intel Atom processors
       case 38: // 45 nm Atom Lincroft
       case 39: // 32 nm Atom Medfield
-      // re-enable when buildbot will pass all atom tests
-      //case 53: // 32 nm Atom Midview
-      //case 54: // 32 nm Atom Midview
+      case 53: // 32 nm Atom Midview
+      case 54: // 32 nm Atom Midview
         return "atom";
 
       default: return (Em64T) ? "x86-64" : "i686";
index 6ceacc898e2fbaa6314505c9f060cb5b8b903627..e6e9c56114f90b393d99872d2dbd350ad153e23c 100644 (file)
@@ -255,7 +255,7 @@ void X86Subtarget::AutoDetectSubtargetFeatures() {
     // Set processor type. Currently only Atom is detected.
     if (Family == 6 &&
         (Model == 28 || Model == 38 || Model == 39
-         /*|| Model == 53 || Model == 54*/)) {
+         || Model == 53 || Model == 54)) {
       X86ProcFamily = IntelAtom;
 
       UseLeaForSP = true;