projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44401b7
)
Add support for detecting some corei7-class Xeons.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Wed, 26 Sep 2012 18:21:47 +0000
(18:21 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Wed, 26 Sep 2012 18:21:47 +0000
(18:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164714
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Host.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/Host.cpp
b/lib/Support/Host.cpp
index a13b9e2f87fdf108e67f5283b4c7c9a2a4a57a05..9ee3f2db9256731d82b399f29def0639a95f56a1 100644
(file)
--- a/
lib/Support/Host.cpp
+++ b/
lib/Support/Host.cpp
@@
-234,6
+234,8
@@
std::string sys::getHostCPUName() {
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.
+ case 46: // Nehalem EX
+ case 47: // Westmere EX
return "corei7";
// SandyBridge: