aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston Gurd <preston.gurd@intel.com>2012-07-19 19:05:37 +0000
committerPreston Gurd <preston.gurd@intel.com>2012-07-19 19:05:37 +0000
commitfd012b2e040ad0335c5163e85fbee4869328ad14 (patch)
tree161dec18d61c8a62c903e45f938a332407a1f565
parent5b50701b1cebe3b3589f22f76bff2d9fc1601581 (diff)
Adds the family codes for the Midview Atom processors so that the
Atom buildbot will auto-detect Atom. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160521 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Support/Host.cpp5
-rw-r--r--lib/Target/X86/X86Subtarget.cpp2
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp
index 367ab6bfd4..9a2c39d72e 100644
--- a/lib/Support/Host.cpp
+++ b/lib/Support/Host.cpp
@@ -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";
diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp
index 6ceacc898e..e6e9c56114 100644
--- a/lib/Target/X86/X86Subtarget.cpp
+++ b/lib/Target/X86/X86Subtarget.cpp
@@ -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;