mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
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:
@@ -249,9 +249,8 @@ std::string sys::getHostCPUName() {
|
|||||||
case 28: // Most 45 nm Intel Atom processors
|
case 28: // Most 45 nm Intel Atom processors
|
||||||
case 38: // 45 nm Atom Lincroft
|
case 38: // 45 nm Atom Lincroft
|
||||||
case 39: // 32 nm Atom Medfield
|
case 39: // 32 nm Atom Medfield
|
||||||
// re-enable when buildbot will pass all atom tests
|
case 53: // 32 nm Atom Midview
|
||||||
//case 53: // 32 nm Atom Midview
|
case 54: // 32 nm Atom Midview
|
||||||
//case 54: // 32 nm Atom Midview
|
|
||||||
return "atom";
|
return "atom";
|
||||||
|
|
||||||
default: return (Em64T) ? "x86-64" : "i686";
|
default: return (Em64T) ? "x86-64" : "i686";
|
||||||
|
@@ -255,7 +255,7 @@ void X86Subtarget::AutoDetectSubtargetFeatures() {
|
|||||||
// Set processor type. Currently only Atom is detected.
|
// Set processor type. Currently only Atom is detected.
|
||||||
if (Family == 6 &&
|
if (Family == 6 &&
|
||||||
(Model == 28 || Model == 38 || Model == 39
|
(Model == 28 || Model == 38 || Model == 39
|
||||||
/*|| Model == 53 || Model == 54*/)) {
|
|| Model == 53 || Model == 54)) {
|
||||||
X86ProcFamily = IntelAtom;
|
X86ProcFamily = IntelAtom;
|
||||||
|
|
||||||
UseLeaForSP = true;
|
UseLeaForSP = true;
|
||||||
|
Reference in New Issue
Block a user