From fd012b2e040ad0335c5163e85fbee4869328ad14 Mon Sep 17 00:00:00 2001 From: Preston Gurd Date: Thu, 19 Jul 2012 19:05:37 +0000 Subject: [PATCH] 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 --- lib/Support/Host.cpp | 5 ++--- lib/Target/X86/X86Subtarget.cpp | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index 367ab6bfd4e..9a2c39d72e3 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 6ceacc898e2..e6e9c56114f 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; -- 2.34.1