mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Change the Intel Atom detection code to recognize
Lincroft and Medfield. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156025 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
363e4b90c0
commit
79bbe855cd
@ -234,8 +234,9 @@ std::string sys::getHostCPUName() {
|
||||
case 58:
|
||||
return "core-avx-i";
|
||||
|
||||
case 28: // Intel Atom processor. All processors are manufactured using
|
||||
// the 45 nm process
|
||||
case 28: // Most 45 nm Intel Atom processors
|
||||
case 38: // 45 nm Atom Lincroft
|
||||
case 39: // 32 nm Atom Medfield
|
||||
return "atom";
|
||||
|
||||
default: return "i686";
|
||||
|
@ -253,7 +253,8 @@ void X86Subtarget::AutoDetectSubtargetFeatures() {
|
||||
}
|
||||
|
||||
// Set processor type. Currently only Atom is detected.
|
||||
if (Family == 6 && Model == 28) {
|
||||
if (Family == 6 &&
|
||||
(Model == 28 || Model == 38 || Model == 39)) {
|
||||
X86ProcFamily = IntelAtom;
|
||||
|
||||
UseLeaForSP = true;
|
||||
|
Loading…
Reference in New Issue
Block a user