projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ace153
)
[X86] Correct the BDVER4 model numbers to include 0x70-0x7f.
author
Craig Topper
<craig.topper@intel.com>
Sat, 8 Jul 2017 06:44:35 +0000
(06:44 +0000)
committer
Craig Topper
<craig.topper@intel.com>
Sat, 8 Jul 2017 06:44:35 +0000
(06:44 +0000)
According to wikipedia and some other googling suggests these should also be considered as BDVER4.
llvm-svn: 307466
llvm/lib/Support/Host.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/Host.cpp
b/llvm/lib/Support/Host.cpp
index
42b71ad
..
a552a1e
100644
(file)
--- a/
llvm/lib/Support/Host.cpp
+++ b/
llvm/lib/Support/Host.cpp
@@
-915,7
+915,7
@@
static void getAMDProcessorTypeAndSubtype(unsigned Family, unsigned Model,
*Subtype = AMD_BTVER1;
break; // "btver1"
}
- if (Model >= 0x
50 && Model <= 0x6
f) {
+ if (Model >= 0x
60 && Model <= 0x7
f) {
*Subtype = AMDFAM15H_BDVER4;
break; // "bdver4"; 50h-6Fh: Excavator
}