2019-06-06 Andrew Stubbs <ams@codesourcery.com>
gcc/
* config.gcc (amdgcn-*-*): Allow --with-arch=gfx906.
* config/gcn/gcn.opt (gpu_type): Add gfx906.
* config/gcn/t-gcn-hsa (MULTILIB_OPTIONS): Add gfx906 multilib.
(MULTILIB_DIRNAMES): Rename gcn5 to gfx900.
Add gfx906.
From-SVN: r272007
+2019-06-06 Andrew Stubbs <ams@codesourcery.com>
+
+ * config.gcc (amdgcn-*-*): Allow --with-arch=gfx906.
+ * config/gcn/gcn.opt (gpu_type): Add gfx906.
+ * config/gcn/t-gcn-hsa (MULTILIB_OPTIONS): Add gfx906 multilib.
+ (MULTILIB_DIRNAMES): Rename gcn5 to gfx900.
+ Add gfx906.
+
2019-06-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR tree-optimization/90332
for which in arch tune; do
eval "val=\$with_$which"
case ${val} in
- "" | carrizo | fiji | gfx900 )
+ "" | carrizo | fiji | gfx900 | gfx906 )
# OK
;;
*)
EnumValue
Enum(gpu_type) String(gfx900) Value(PROCESSOR_VEGA)
+EnumValue
+Enum(gpu_type) String(gfx906) Value(PROCESSOR_VEGA)
+
march=
Target RejectNegative Joined ToLower Enum(gpu_type) Var(gcn_arch) Init(PROCESSOR_CARRIZO)
Specify the name of the target GPU.
gcn-run$(exeext): gcn-run.o
+$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $< -ldl
-MULTILIB_OPTIONS = march=gfx900
-MULTILIB_DIRNAMES = gcn5
+MULTILIB_OPTIONS = march=gfx900 march=gfx906
+MULTILIB_DIRNAMES = gfx900 gfx906
PASSES_EXTRA += $(srcdir)/config/gcn/gcn-passes.def
gcn-tree.o: $(srcdir)/config/gcn/gcn-tree.c