[llvm-commits] [llvm] r160521 - in /llvm/trunk/lib: Support/Host.cpp Target/X86/X86Subtarget.cpp
Preston Gurd
preston.gurd at intel.com
Thu Jul 19 12:05:38 PDT 2012
Author: pgurd
Date: Thu Jul 19 14:05:37 2012
New Revision: 160521
URL: http://llvm.org/viewvc/llvm-project?rev=160521&view=rev
Log:
Adds the family codes for the Midview Atom processors so that the
Atom buildbot will auto-detect Atom.
Modified:
llvm/trunk/lib/Support/Host.cpp
llvm/trunk/lib/Target/X86/X86Subtarget.cpp
Modified: llvm/trunk/lib/Support/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Host.cpp?rev=160521&r1=160520&r2=160521&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Host.cpp (original)
+++ llvm/trunk/lib/Support/Host.cpp Thu Jul 19 14:05:37 2012
@@ -249,9 +249,8 @@
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";
Modified: llvm/trunk/lib/Target/X86/X86Subtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Subtarget.cpp?rev=160521&r1=160520&r2=160521&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Subtarget.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86Subtarget.cpp Thu Jul 19 14:05:37 2012
@@ -255,7 +255,7 @@
// 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;
More information about the llvm-commits
mailing list