Add support for autodetection of ADM bdver2.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176130 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Roman Divacky 2013-02-26 22:41:01 +00:00
parent d61c840fcd
commit ebbb359dd6

View File

@ -331,7 +331,10 @@ std::string sys::getHostCPUName() {
case 20:
return "btver1";
case 21:
return "bdver1";
if (Model <= 15)
return "bdver1";
else if (Model <= 31)
return "bdver2";
default:
return "generic";
}