diff options
author | Bob Wilson <bob.wilson@apple.com> | 2011-07-08 22:09:35 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2011-07-08 22:09:35 +0000 |
commit | 26fc025e62eda1aca0099aace66110bb10b77f79 (patch) | |
tree | 0aa681ba38dcc0890ee21f0c61f83cad8c659973 /lib/Support/Host.cpp | |
parent | e2e86f6bca1c34490e97edf5ab2bb36e9bd4f799 (diff) |
Recognize Intel CPUs with Family=6 and Model=44.
According to Intel Application Note 485, this value is used for
"Intel Core i7 and Intel Xeon processor". Just include it with the other
"corei7-avx" entries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Host.cpp')
-rw-r--r-- | lib/Support/Host.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index 4299aa4e93..2829de06d6 100644 --- a/lib/Support/Host.cpp +++ b/lib/Support/Host.cpp @@ -215,6 +215,7 @@ std::string sys::getHostCPUName() { case 37: // Intel Core i7, laptop version. return "corei7"; case 42: // SandyBridge + case 44: case 45: return "corei7-avx"; |