summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic
diff options
context:
space:
mode:
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2018-02-09 07:02:28 +0000
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2018-02-09 07:02:28 +0000
commit76854e7daa41c711c157c9db72a5591dc54410a9 (patch)
tree1a8660b9f3153d43a2dcaecb60cef7debc85f1c9 /clang/lib/Basic
parent85696ad91de00dd24ea44dea3dd73968909b806e (diff)
downloadbcm5719-llvm-76854e7daa41c711c157c9db72a5591dc54410a9.tar.gz
bcm5719-llvm-76854e7daa41c711c157c9db72a5591dc54410a9.zip
AMDGPU/GCN: Bring processors in sync with AMDGPUUsage
- Remove gfx800 - Remove gfx804 - Remove gfx901 - Remove gfx903 Differential Revision: https://reviews.llvm.org/D40045 llvm-svn: 324714
Diffstat (limited to 'clang/lib/Basic')
-rw-r--r--clang/lib/Basic/Targets/AMDGPU.h70
1 files changed, 42 insertions, 28 deletions
diff --git a/clang/lib/Basic/Targets/AMDGPU.h b/clang/lib/Basic/Targets/AMDGPU.h
index 38794eef2b9..050676ed1e0 100644
--- a/clang/lib/Basic/Targets/AMDGPU.h
+++ b/clang/lib/Basic/Targets/AMDGPU.h
@@ -69,51 +69,65 @@ class LLVM_LIBRARY_VISIBILITY AMDGPUTargetInfo final : public TargetInfo {
AMDGPUTargetInfo::GPUKind Kind;
};
- static constexpr NameGPUKind R600Names[25] = {
+ static constexpr NameGPUKind R600Names[26] = {
{{"r600"}, GK_R600},
- {{"rv610"}, GK_R600},
- {{"rv620"}, GK_R600},
{{"rv630"}, GK_R600},
{{"rv635"}, GK_R600},
+ {{"r630"}, GK_R600},
{{"rs780"}, GK_R600},
{{"rs880"}, GK_R600},
+ {{"rv610"}, GK_R600},
+ {{"rv620"}, GK_R600},
{{"rv670"}, GK_R600_DOUBLE_OPS},
{{"rv710"}, GK_R700},
{{"rv730"}, GK_R700},
{{"rv740"}, GK_R700_DOUBLE_OPS},
{{"rv770"}, GK_R700_DOUBLE_OPS},
- {{"palm"}, GK_EVERGREEN},
{{"cedar"}, GK_EVERGREEN},
+ {{"palm"}, GK_EVERGREEN},
+ {{"cypress"}, GK_EVERGREEN_DOUBLE_OPS},
+ {{"hemlock"}, GK_EVERGREEN_DOUBLE_OPS},
+ {{"juniper"}, GK_EVERGREEN},
+ {{"redwood"}, GK_EVERGREEN},
{{"sumo"}, GK_EVERGREEN},
{{"sumo2"}, GK_EVERGREEN},
- {{"redwood"}, GK_EVERGREEN},
- {{"juniper"}, GK_EVERGREEN},
- {{"hemlock"}, GK_EVERGREEN_DOUBLE_OPS},
- {{"cypress"}, GK_EVERGREEN_DOUBLE_OPS},
{{"barts"}, GK_NORTHERN_ISLANDS},
- {{"turks"}, GK_NORTHERN_ISLANDS},
{{"caicos"}, GK_NORTHERN_ISLANDS},
- {{"cayman"}, GK_CAYMAN},
+ {{"turks"}, GK_NORTHERN_ISLANDS},
{{"aruba"}, GK_CAYMAN},
+ {{"cayman"}, GK_CAYMAN},
};
- static constexpr NameGPUKind AMDGCNNames[33] = {
- {{"gfx600"}, GK_GFX6}, {{"tahiti"}, GK_GFX6},
- {{"gfx601"}, GK_GFX6}, {{"pitcairn"}, GK_GFX6},
- {{"verde"}, GK_GFX6}, {{"oland"}, GK_GFX6},
- {{"hainan"}, GK_GFX6}, {{"gfx700"}, GK_GFX7},
- {{"bonaire"}, GK_GFX7}, {{"kaveri"}, GK_GFX7},
- {{"gfx701"}, GK_GFX7}, {{"hawaii"}, GK_GFX7},
- {{"gfx702"}, GK_GFX7}, {{"gfx703"}, GK_GFX7},
- {{"kabini"}, GK_GFX7}, {{"mullins"}, GK_GFX7},
- {{"gfx800"}, GK_GFX8}, {{"iceland"}, GK_GFX8},
- {{"gfx801"}, GK_GFX8}, {{"carrizo"}, GK_GFX8},
- {{"gfx802"}, GK_GFX8}, {{"tonga"}, GK_GFX8},
- {{"gfx803"}, GK_GFX8}, {{"fiji"}, GK_GFX8},
- {{"polaris10"}, GK_GFX8}, {{"polaris11"}, GK_GFX8},
- {{"gfx804"}, GK_GFX8}, {{"gfx810"}, GK_GFX8},
- {{"stoney"}, GK_GFX8}, {{"gfx900"}, GK_GFX9},
- {{"gfx901"}, GK_GFX9}, {{"gfx902"}, GK_GFX9},
- {{"gfx903"}, GK_GFX9},
+ static constexpr NameGPUKind AMDGCNNames[30] = {
+ {{"gfx600"}, GK_GFX6},
+ {{"tahiti"}, GK_GFX6},
+ {{"gfx601"}, GK_GFX6},
+ {{"hainan"}, GK_GFX6},
+ {{"oland"}, GK_GFX6},
+ {{"pitcairn"}, GK_GFX6},
+ {{"verde"}, GK_GFX6},
+ {{"gfx700"}, GK_GFX7},
+ {{"kaveri"}, GK_GFX7},
+ {{"gfx701"}, GK_GFX7},
+ {{"hawaii"}, GK_GFX7},
+ {{"gfx702"}, GK_GFX7},
+ {{"gfx703"}, GK_GFX7},
+ {{"kabini"}, GK_GFX7},
+ {{"mullins"}, GK_GFX7},
+ {{"gfx704"}, GK_GFX7},
+ {{"bonaire"}, GK_GFX7},
+ {{"gfx801"}, GK_GFX8},
+ {{"carrizo"}, GK_GFX8},
+ {{"gfx802"}, GK_GFX8},
+ {{"iceland"}, GK_GFX8},
+ {{"tonga"}, GK_GFX8},
+ {{"gfx803"}, GK_GFX8},
+ {{"fiji"}, GK_GFX8},
+ {{"polaris10"}, GK_GFX8},
+ {{"polaris11"}, GK_GFX8},
+ {{"gfx810"}, GK_GFX8},
+ {{"stoney"}, GK_GFX8},
+ {{"gfx900"}, GK_GFX9},
+ {{"gfx902"}, GK_GFX9},
};
bool hasFP64 : 1;
OpenPOWER on IntegriCloud