[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
This commit is contained in:
Craig Topper 2017-07-08 06:44:35 +00:00
parent 2ace153a82
commit 1f9d3c0612
1 changed files with 1 additions and 1 deletions

View File

@ -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
}