summaryrefslogtreecommitdiff
path: root/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorPreston Gurd <preston.gurd@intel.com>2013-09-13 19:23:28 +0000
committerPreston Gurd <preston.gurd@intel.com>2013-09-13 19:23:28 +0000
commit94dc6540a8f3aaadb43dda50e49fc79141fae8ed (patch)
tree909ea42f4259ad0a03ffd2add982988f3c0185be /lib/Support/Host.cpp
parent0df68423f9567b3d3eafb3b26668f783b07f687f (diff)
downloadllvm-94dc6540a8f3aaadb43dda50e49fc79141fae8ed.tar.gz
llvm-94dc6540a8f3aaadb43dda50e49fc79141fae8ed.tar.bz2
llvm-94dc6540a8f3aaadb43dda50e49fc79141fae8ed.tar.xz
Adds support for Atom Silvermont (SLM) - -march=slm
Implements Instruction scheduler latencies for Silvermont, using latencies from the Intel Silvermont Optimization Guide. Auto detects SLM. Turns on post RA scheduler when generating code for SLM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190717 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Host.cpp')
-rw-r--r--lib/Support/Host.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp
index 59ca1ba7c9..12df08c6c0 100644
--- a/lib/Support/Host.cpp
+++ b/lib/Support/Host.cpp
@@ -265,7 +265,8 @@ std::string sys::getHostCPUName() {
case 54: // 32 nm Atom Midview
return "atom";
- case 55: // Intel Atom Silvermont processors
+ // Atom Silvermont codes from the Intel software optimization guide.
+ case 55:
case 74:
case 77:
return "slm";