1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Add support for autodetection of ADM bdver2.

llvm-svn: 176130
This commit is contained in:
Roman Divacky 2013-02-26 22:41:01 +00:00
parent 42d2b4e31b
commit a9e4367232

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";
}