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
This commit is contained in:
Preston Gurd 2012-07-19 19:05:37 +00:00
parent 5b50701b1c
commit fd012b2e04
2 changed files with 3 additions and 4 deletions

View 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";

View 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;