diff mbox series

gcn.h: Add builtin_define ("__gfx1030")

Message ID f09b2f16-ea11-45d9-b74c-a983be908e91@net-b.de
State New
Headers show
Series gcn.h: Add builtin_define ("__gfx1030") | expand

Commit Message

Tobias Burnus Jan. 6, 2024, 9:20 p.m. UTC
Hi Andrew,

I just spotted that this define was missing.

OK for mainline?

Tobias

Comments

Andrew Stubbs Jan. 8, 2024, 9:24 a.m. UTC | #1
On 06/01/2024 21:20, Tobias Burnus wrote:
> Hi Andrew,
> 
> I just spotted that this define was missing.
> 
> OK for mainline?

OK.

Andrew
diff mbox series

Patch

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)