summaryrefslogtreecommitdiff
path: root/gcc/config/gcn
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@codesourcery.com>2020-02-03 15:02:22 +0000
committerAndrew Stubbs <ams@codesourcery.com>2020-02-03 17:23:18 +0000
commit591f869ad70ba2b5cf1d8a8b57529142cc0d0554 (patch)
treebc964976f6ae43ea9e75385fadfcc3a5e3eca247 /gcc/config/gcn
parent3539fc1317267b30eb7c4ad48d52f4e46b3a198a (diff)
Remove gfx801 "carrizo" support
2020-02-03 Andrew Stubbs <ams@codesourcery.com> gcc/ * config.gcc: Remove "carrizo" support. * config/gcn/gcn-opts.h (processor_type): Likewise. * config/gcn/gcn.c (gcn_omp_device_kind_arch_isa): Likewise. * config/gcn/gcn.opt (gpu_type): Likewise. * config/gcn/t-omp-device: Likewise. libgomp/ * plugin/plugin-gcn.c (EF_AMDGPU_MACH_AMDGCN_GFX801): Remove. (gcn_gfx801_s): Remove. (isa_hsa_name): Remove gfx801. (isa_gcc_name): Remove gfx801/carizzo. (isa_code): Remove gfx801.
Diffstat (limited to 'gcc/config/gcn')
-rw-r--r--gcc/config/gcn/gcn-opts.h1
-rw-r--r--gcc/config/gcn/gcn.c2
-rw-r--r--gcc/config/gcn/gcn.opt7
-rw-r--r--gcc/config/gcn/t-omp-device2
4 files changed, 3 insertions, 9 deletions
diff --git a/gcc/config/gcn/gcn-opts.h b/gcc/config/gcn/gcn-opts.h
index aac06e3484e..385d2be8675 100644
--- a/gcc/config/gcn/gcn-opts.h
+++ b/gcc/config/gcn/gcn-opts.h
@@ -20,7 +20,6 @@
/* Which processor to generate code or schedule for. */
enum processor_type
{
- PROCESSOR_CARRIZO,
PROCESSOR_FIJI,
PROCESSOR_VEGA
};
diff --git a/gcc/config/gcn/gcn.c b/gcc/config/gcn/gcn.c
index 16c3aa2567e..5bcad7d1d41 100644
--- a/gcc/config/gcn/gcn.c
+++ b/gcc/config/gcn/gcn.c
@@ -2571,8 +2571,6 @@ gcn_omp_device_kind_arch_isa (enum omp_device_kind_arch_isa trait,
case omp_device_arch:
return strcmp (name, "gcn") == 0;
case omp_device_isa:
- if (strcmp (name, "carrizo") == 0)
- return gcn_arch == PROCESSOR_CARRIZO;
if (strcmp (name, "fiji") == 0)
return gcn_arch == PROCESSOR_FIJI;
if (strcmp (name, "gfx900") == 0)
diff --git a/gcc/config/gcn/gcn.opt b/gcc/config/gcn/gcn.opt
index 3b3d441ded9..04c73d64630 100644
--- a/gcc/config/gcn/gcn.opt
+++ b/gcc/config/gcn/gcn.opt
@@ -26,9 +26,6 @@ Name(gpu_type) Type(enum processor_type)
GCN GPU type to use:
EnumValue
-Enum(gpu_type) String(carrizo) Value(PROCESSOR_CARRIZO)
-
-EnumValue
Enum(gpu_type) String(fiji) Value(PROCESSOR_FIJI)
EnumValue
@@ -38,11 +35,11 @@ EnumValue
Enum(gpu_type) String(gfx906) Value(PROCESSOR_VEGA)
march=
-Target RejectNegative Joined ToLower Enum(gpu_type) Var(gcn_arch) Init(PROCESSOR_CARRIZO)
+Target RejectNegative Joined ToLower Enum(gpu_type) Var(gcn_arch) Init(PROCESSOR_FIJI)
Specify the name of the target GPU.
mtune=
-Target RejectNegative Joined ToLower Enum(gpu_type) Var(gcn_tune) Init(PROCESSOR_CARRIZO)
+Target RejectNegative Joined ToLower Enum(gpu_type) Var(gcn_tune) Init(PROCESSOR_FIJI)
Specify the name of the target GPU.
m32
diff --git a/gcc/config/gcn/t-omp-device b/gcc/config/gcn/t-omp-device
index 288f7f065cb..d9809d5f455 100644
--- a/gcc/config/gcn/t-omp-device
+++ b/gcc/config/gcn/t-omp-device
@@ -1,4 +1,4 @@
omp-device-properties-gcn: $(srcdir)/config/gcn/gcn.c
echo kind: gpu > $@
echo arch: gcn >> $@
- echo isa: carrizo fiji gfx900 gfx906 >> $@
+ echo isa: fiji gfx900 gfx906 >> $@