[llvm] r307466 - [X86] Correct the BDVER4 model numbers to include 0x70-0x7f.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 7 23:44:35 PDT 2017
Author: ctopper
Date: Fri Jul 7 23:44:35 2017
New Revision: 307466
URL: http://llvm.org/viewvc/llvm-project?rev=307466&view=rev
Log:
[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.
Modified:
llvm/trunk/lib/Support/Host.cpp
Modified: llvm/trunk/lib/Support/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Host.cpp?rev=307466&r1=307465&r2=307466&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Host.cpp (original)
+++ llvm/trunk/lib/Support/Host.cpp Fri Jul 7 23:44:35 2017
@@ -915,7 +915,7 @@ static void getAMDProcessorTypeAndSubtyp
*Subtype = AMD_BTVER1;
break; // "btver1"
}
- if (Model >= 0x50 && Model <= 0x6f) {
+ if (Model >= 0x60 && Model <= 0x7f) {
*Subtype = AMDFAM15H_BDVER4;
break; // "bdver4"; 50h-6Fh: Excavator
}
More information about the llvm-commits
mailing list