diff options
author | Preston Gurd <preston.gurd@intel.com> | 2012-05-02 21:38:46 +0000 |
---|---|---|
committer | Preston Gurd <preston.gurd@intel.com> | 2012-05-02 21:38:46 +0000 |
commit | 79bbe855cd3443bc646b2aedb2973c9968ca3b7f (patch) | |
tree | eb214496b78c85929265094f6f07b95148802434 /lib/Support/Host.cpp | |
parent | 363e4b90c0a8dfca87ac847001158c743491c06f (diff) |
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
Diffstat (limited to 'lib/Support/Host.cpp')
-rw-r--r-- | lib/Support/Host.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index a5e0cb061c..6d42780cc2 100644 --- a/lib/Support/Host.cpp +++ b/lib/Support/Host.cpp @@ -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"; |