aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-08-25 18:05:56 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-08-25 18:05:56 +0000
commitcf847bfa6f01645d023fbc959c207259ecb48391 (patch)
tree3785ef9973c74fad5c5b10aa971eb174a5c8c7e3 /lib/Support/Host.cpp
parentb9ca5124f8a5d593f57cbd0566867578a51d7055 (diff)
downloadexternal_llvm-cf847bfa6f01645d023fbc959c207259ecb48391.zip
external_llvm-cf847bfa6f01645d023fbc959c207259ecb48391.tar.gz
external_llvm-cf847bfa6f01645d023fbc959c207259ecb48391.tar.bz2
Intel family 6 model 44 is Gulftown/Westmere-EP and doesn't have AVX.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138573 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Host.cpp')
-rw-r--r--lib/Support/Host.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp
index c525a12..a19e4b4 100644
--- a/lib/Support/Host.cpp
+++ b/lib/Support/Host.cpp
@@ -213,13 +213,13 @@ std::string sys::getHostCPUName() {
case 30: // Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz.
// As found in a Summer 2010 model iMac.
case 37: // Intel Core i7, laptop version.
+ case 44: // Intel Core i7 processor and Intel Xeon processor. All
+ // processors are manufactured using the 32 nm process.
return "corei7";
// SandyBridge:
case 42: // Intel Core i7 processor. All processors are manufactured
// using the 32 nm process.
- case 44: // Intel Core i7 processor and Intel Xeon processor. All
- // processors are manufactured using the 32 nm process.
case 45:
return "corei7-avx";