aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2011-07-08 22:09:35 +0000
committerBob Wilson <bob.wilson@apple.com>2011-07-08 22:09:35 +0000
commit26fc025e62eda1aca0099aace66110bb10b77f79 (patch)
tree0aa681ba38dcc0890ee21f0c61f83cad8c659973 /lib/Support/Host.cpp
parente2e86f6bca1c34490e97edf5ab2bb36e9bd4f799 (diff)
downloadexternal_llvm-26fc025e62eda1aca0099aace66110bb10b77f79.zip
external_llvm-26fc025e62eda1aca0099aace66110bb10b77f79.tar.gz
external_llvm-26fc025e62eda1aca0099aace66110bb10b77f79.tar.bz2
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.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp
index 4299aa4..2829de0 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";