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:
Preston Gurd
2012-05-02 21:38:46 +00:00
parent 363e4b90c0
commit 79bbe855cd
2 changed files with 5 additions and 3 deletions

View File

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