mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-15 12:09:51 +00:00
Basic/Targets.cpp: Add polaris10 and polaris11 gpus
Differential Revision: https://reviews.llvm.org/D23746 llvm-svn: 280120
This commit is contained in:
parent
8899d52c18
commit
c37d69f1ee
@ -2110,21 +2110,23 @@ public:
|
||||
|
||||
static GPUKind parseAMDGCNName(StringRef Name) {
|
||||
return llvm::StringSwitch<GPUKind>(Name)
|
||||
.Case("tahiti", GK_SOUTHERN_ISLANDS)
|
||||
.Case("pitcairn", GK_SOUTHERN_ISLANDS)
|
||||
.Case("verde", GK_SOUTHERN_ISLANDS)
|
||||
.Case("oland", GK_SOUTHERN_ISLANDS)
|
||||
.Case("hainan", GK_SOUTHERN_ISLANDS)
|
||||
.Case("bonaire", GK_SEA_ISLANDS)
|
||||
.Case("kabini", GK_SEA_ISLANDS)
|
||||
.Case("kaveri", GK_SEA_ISLANDS)
|
||||
.Case("hawaii", GK_SEA_ISLANDS)
|
||||
.Case("mullins", GK_SEA_ISLANDS)
|
||||
.Case("tonga", GK_VOLCANIC_ISLANDS)
|
||||
.Case("iceland", GK_VOLCANIC_ISLANDS)
|
||||
.Case("carrizo", GK_VOLCANIC_ISLANDS)
|
||||
.Case("fiji", GK_VOLCANIC_ISLANDS)
|
||||
.Case("stoney", GK_VOLCANIC_ISLANDS)
|
||||
.Case("tahiti", GK_SOUTHERN_ISLANDS)
|
||||
.Case("pitcairn", GK_SOUTHERN_ISLANDS)
|
||||
.Case("verde", GK_SOUTHERN_ISLANDS)
|
||||
.Case("oland", GK_SOUTHERN_ISLANDS)
|
||||
.Case("hainan", GK_SOUTHERN_ISLANDS)
|
||||
.Case("bonaire", GK_SEA_ISLANDS)
|
||||
.Case("kabini", GK_SEA_ISLANDS)
|
||||
.Case("kaveri", GK_SEA_ISLANDS)
|
||||
.Case("hawaii", GK_SEA_ISLANDS)
|
||||
.Case("mullins", GK_SEA_ISLANDS)
|
||||
.Case("tonga", GK_VOLCANIC_ISLANDS)
|
||||
.Case("iceland", GK_VOLCANIC_ISLANDS)
|
||||
.Case("carrizo", GK_VOLCANIC_ISLANDS)
|
||||
.Case("fiji", GK_VOLCANIC_ISLANDS)
|
||||
.Case("stoney", GK_VOLCANIC_ISLANDS)
|
||||
.Case("polaris10", GK_VOLCANIC_ISLANDS)
|
||||
.Case("polaris11", GK_VOLCANIC_ISLANDS)
|
||||
.Default(GK_NONE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user