Hi Andrew,

I just spotted that this define was missing.

OK for mainline?

Tobias
gcn.h: Add builtin_define ("__gfx1030")

gcc/ChangeLog:

	* config/gcn/gcn.h (TARGET_CPU_CPP_BUILTINS): Add
	builtin_define ("__gfx1030").

diff --git a/gcc/config/gcn/gcn.h b/gcc/config/gcn/gcn.h
index c350cbb0545..54868b72f90 100644
--- a/gcc/config/gcn/gcn.h
+++ b/gcc/config/gcn/gcn.h
@@ -43,6 +43,8 @@
 	builtin_define ("__gfx908__");                                         \
       else if (TARGET_GFX90a)                                                  \
 	builtin_define ("__gfx90a__");                                         \
+      else if (TARGET_GFX1030)                                                 \
+	builtin_define ("__gfx1030");                                          \
   } while (0)
 
 #define ASSEMBLER_DIALECT (TARGET_RDNA2 ? 1 : 0)

Reply via email to