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 | eff24111b923490a4f7a4aab07ebc039f66d0485 (patch) | |
tree | 9ed2a26d5cbf5c4d23a2f04f93a74af5d965fd6a /llvm/lib/Support/Host.cpp | |
parent | 3c68b626e71e01adf189d9792b119795848abf8c (diff) | |
download | bcm5719-llvm-eff24111b923490a4f7a4aab07ebc039f66d0485.tar.gz bcm5719-llvm-eff24111b923490a4f7a4aab07ebc039f66d0485.zip |
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.
llvm-svn: 134750
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
-rw-r--r-- | llvm/lib/Support/Host.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp index 4299aa4e931..2829de06d6d 100644 --- a/llvm/lib/Support/Host.cpp +++ b/llvm/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"; |