diff options
author | Preston Gurd <preston.gurd@intel.com> | 2013-09-13 19:23:28 +0000 |
---|---|---|
committer | Preston Gurd <preston.gurd@intel.com> | 2013-09-13 19:23:28 +0000 |
commit | 94dc6540a8f3aaadb43dda50e49fc79141fae8ed (patch) | |
tree | 909ea42f4259ad0a03ffd2add982988f3c0185be /lib/Support | |
parent | 0df68423f9567b3d3eafb3b26668f783b07f687f (diff) | |
download | external_llvm-94dc6540a8f3aaadb43dda50e49fc79141fae8ed.zip external_llvm-94dc6540a8f3aaadb43dda50e49fc79141fae8ed.tar.gz external_llvm-94dc6540a8f3aaadb43dda50e49fc79141fae8ed.tar.bz2 |
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')
-rw-r--r-- | lib/Support/Host.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index 59ca1ba..12df08c 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"; |