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:
57b0fb7
)
Add support for detection of Intel SandyBridge.
author
Roman Divacky
<rdivacky@freebsd.org>
Tue, 5 Apr 2011 20:25:36 +0000
(20:25 +0000)
committer
Roman Divacky
<rdivacky@freebsd.org>
Tue, 5 Apr 2011 20:25:36 +0000
(20:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128920
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 4dacf9691d6efe8de3493047c334ce801961b765..911c64accec389587805493321114fd42841b2c7 100644
(file)
--- a/
lib/Support/Host.cpp
+++ b/
lib/Support/Host.cpp
@@
-214,6
+214,8
@@
std::string sys::getHostCPUName() {
// As found in a Summer 2010 model iMac.
case 37: // Intel Core i7, laptop version.
return "corei7";
+ case 42: // SandyBridge
+ return "sandybridge";
case 28: // Intel Atom processor. All processors are manufactured using
// the 45 nm process