aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-03-25 11:24:08 +0100
committerRichard Biener <rguenther@suse.de>2024-03-25 15:54:37 +0100
commit78b56a12dd028b9b4051422c6bad6260055e4465 (patch)
treecdb59d1da29191c01b5f2bb91cd045b305c537b9 /libgcc
parent44863af22d2c3168fb73d00cc58f393a35d3070d (diff)
downloadgcc-78b56a12dd028b9b4051422c6bad6260055e4465.zip
gcc-78b56a12dd028b9b4051422c6bad6260055e4465.tar.gz
gcc-78b56a12dd028b9b4051422c6bad6260055e4465.tar.bz2
amdgcn: Add gfx1036 target
Add support for the gfx1036 RDNA2 APU integrated graphics devices. The ROCm documentation warns that these may not be supported, but it seems to work at least partially. gcc/ChangeLog: * config.gcc (amdgcn): Add gfx1036 entries. * config/gcn/gcn-hsa.h (NO_XNACK): Likewise. (gcn_local_sym_hash): Likewise. * config/gcn/gcn-opts.h (enum processor_type): Likewise. (TARGET_GFX1036): New macro. * config/gcn/gcn.cc (gcn_option_override): Handle gfx1036. (gcn_omp_device_kind_arch_isa): Likewise. (output_file_start): Likewise. * config/gcn/gcn.h (TARGET_CPU_CPP_BUILTINS): Add __gfx1036__. (TARGET_CPU_CPP_BUILTINS): Rename __gfx1030 to __gfx1030__. * config/gcn/gcn.opt: Add gfx1036. * config/gcn/mkoffload.cc (EF_AMDGPU_MACH_AMDGCN_GFX1036): New. (main): Handle gfx1036. * config/gcn/t-omp-device: Add gfx1036 isa. * doc/install.texi (amdgcn): Add gfx1036. * doc/invoke.texi (-march): Likewise. libgomp/ChangeLog: * plugin/plugin-gcn.c (EF_AMDGPU_MACH): GFX1036. (gcn_gfx1103_s): New. (isa_hsa_name): Handle gfx1036. (isa_code): Likewise. (max_isa_vgprs): Likewise.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions