OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f988e53
)
Later models likely to have Yonah like attributes.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 16 Jun 2006 21:58:49 +0000
(21:58 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 16 Jun 2006 21:58:49 +0000
(21:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28843
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86Subtarget.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86Subtarget.cpp
b/lib/Target/X86/X86Subtarget.cpp
index
cafa09c
..
2c2acec
100644
(file)
--- a/
lib/Target/X86/X86Subtarget.cpp
+++ b/
lib/Target/X86/X86Subtarget.cpp
@@
-90,7
+90,8
@@
static const char *GetCurrentX86CPU() {
case 9:
case 13: return "pentium-m";
case 14: return "yonah";
- default: return "i686";
+ default:
+ return (Model > 14) ? "yonah" : "i686";
}
case 15: {
switch (Model) {