summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-07-08 06:44:35 +0000
committerCraig Topper <craig.topper@intel.com>2017-07-08 06:44:35 +0000
commit1f9d3c0612b57016760ccb10df009e5ac188c5a5 (patch)
tree7d57b7150f00843954ebb956d216b8c1fe561981 /llvm/lib/Support
parent2ace153a821a8576db24eeeb9e9a73c7db6e9876 (diff)
downloadbcm5719-llvm-1f9d3c0612b57016760ccb10df009e5ac188c5a5.tar.gz
bcm5719-llvm-1f9d3c0612b57016760ccb10df009e5ac188c5a5.zip
[X86] Correct the BDVER4 model numbers to include 0x70-0x7f.
According to wikipedia and some other googling suggests these should also be considered as BDVER4. llvm-svn: 307466
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/Host.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index 42b71ad206f..a552a1e82a7 100644
--- 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 >= 0x50 && Model <= 0x6f) {
+ if (Model >= 0x60 && Model <= 0x7f) {
*Subtype = AMDFAM15H_BDVER4;
break; // "bdver4"; 50h-6Fh: Excavator
}
OpenPOWER on IntegriCloud