summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-08-30 14:05:32 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-08-30 14:05:32 +0000
commit8f429384b57475647064722842c071caaaea1882 (patch)
tree4a620a53a52b1c97a018026830a7d2dd1b75fdc1 /llvm/lib/Support
parentfcdab16d244324482d8cd52fd047a7de1c51d486 (diff)
downloadbcm5719-llvm-8f429384b57475647064722842c071caaaea1882.tar.gz
bcm5719-llvm-8f429384b57475647064722842c071caaaea1882.zip
X86: Add a description of the Intel Atom Silvermont CPU.
Currently this is just the atom model with SSE4.2 enabled. llvm-svn: 189669
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/Host.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index ad0ac93b6bd..59ca1ba7c9d 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/lib/Support/Host.cpp
@@ -265,6 +265,11 @@ std::string sys::getHostCPUName() {
case 54: // 32 nm Atom Midview
return "atom";
+ case 55: // Intel Atom Silvermont processors
+ case 74:
+ case 77:
+ return "slm";
+
default: return (Em64T) ? "x86-64" : "i686";
}
case 15: {
OpenPOWER on IntegriCloud