From patchwork Sat Jan 6 21:20:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 1883293 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4T6tY75nmdz1yPK for ; Sun, 7 Jan 2024 08:21:15 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9F0E33860770 for ; Sat, 6 Jan 2024 21:21:13 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) by sourceware.org (Postfix) with ESMTPS id D121C3858D20 for ; Sat, 6 Jan 2024 21:20:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D121C3858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=net-b.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=net-b.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D121C3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=212.227.126.130 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704576057; cv=none; b=v8bzIkuSHgsJONV7FfIatrdqGs2tlFizgXHuqOVB6qRyqAl5U9oPDLg/09G2U+llwzWlsVEa9MHDH6xxNM4UXottvRnnQTp+xLiC2O4r14V8rO3VLldC9gG0df8lojyP5GlNqLEFVi1bDtwAh7dSOmVB+KubGC8wVM4i3seeTQY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704576057; c=relaxed/simple; bh=XkY52UScpntgsRfbV+oM15yVuS3qKKSIRHNt+3ZNY8A=; h=Message-ID:Date:MIME-Version:To:From:Subject; b=HAiNyuDEzlha1bc6M4ZpHRnUmomPtlkGQVxgQMx4w1XfVGYgTMce14e9eEG+ukpUZ8sgyaByjlWmwL2PhwhyTW34caVyB2HtBy/ssGIp1F8Ey60FJ+/BVYEVPizes0hPfWuD0IhadRut2qO4gmSD80RcWVROujUG/IZ/q1ffGmE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from [192.168.0.26] ([89.246.122.167]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MDQRy-1rWhwl0s1G-00AW7T; Sat, 06 Jan 2024 22:20:49 +0100 Message-ID: Date: Sat, 6 Jan 2024 22:20:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: gcc-patches , Andrew Stubbs From: Tobias Burnus Subject: [Patch] gcn.h: Add builtin_define ("__gfx1030") X-Provags-ID: V03:K1:UA51Wcp1eDrJwaThAZ8IoUthMgfqj/J8wKRApiorvbMjfoSCpK8 1r7vFfbKDaKc26bLH3atoZpLTRqRBrc4u4RoIW1fGk6ZtqllODEk/DnVwXe4pNka2ZJWtid j/DtYYHPBf1T64WZCfFmOxs7o/Mfuck7W6SLFUSyf2LB/g0cDQgZVHIerk3xj3vFy6GeuqL Lc3HC2q710f5CHZ7eIO+Q== UI-OutboundReport: notjunk:1;M01:P0:Kvd3bLB9Wkw=;qpOP801vQEBjXnjGzi9sCq2dIKq eOiQdmSc5uwiWAKzTxEcGYyQf+Q0DgioRVGgqQhzGEkGTQiBnd2Ybr1obLpST8/LdyA4Ke5Ti hiLib/gQDJhWhrDqfzq0YZwk4zXdt+LzO+xOC/q3j1sYEGN1EG4ckGTDSp2DqvGOvPzq1KdWB E2hJueoKwl0SF1lkqQ/Kef92fV7ywodc2NBv6QE3ZeysbvST/+1V+5synvPLUy07IW7Dmuh8E ndJmJt0Sm/UNO6WDO2YlpBS2eMZzU8oBIkjc4YSt6p/shMUiPKUgGK+55xCr0PXcj8RypHSng Z8Z6nnnwBEO9Oo4HGS9Eexb6MYQJ995wO6GEvFx9trfbGunIhRV0SRp48Prx19zplncrznvMb x5oGok5z3Ny098i63dwS6xxVeJwiZb4ZjjbqSqjYOyltGSvyZYTLLzvAYxQ1Dmx7MPz4oGclp OcFsl5fTxfDH0MzPa9hWs7CCBNLmWariJehTElfFOonGdbpWdiTngKjK0WdaAeinsrbbQESeS n1Drs7NCv2+KVnFRfNP2ORf8QJgEVmIgvgWQxTFO5THiNv3Foh5HgF7AtVoymNw9PxpYnHioP OW//OloNSjwk+xr5yuYCdRdJ6zQmplRbLSMGEHwFMZ7S2fh0Wq8+cwPF8lKYc8SPyGXzrD2Gj OuAUoIK5aQUv5IfSiBhssh2jkx5wRqMj2cRSmzGAPd6z0foramxODPQYhjtsrizsQYEFx/D0C 5o+DhFehgSAmU0bY2DVbbeZt2AuPwUCOvDfPMidpiEL2mn9wW+DbwLq0R9DRN/YrIADQYo3Rr V/Tk/EN185G7LFsx3PD5KTRHOk8CeqqiWF0o3cw4be/f+0MnPxRE6d62epqQoju/qq5Lj6qje dEpnl3gzPiY3M1K2VVr1AQcFFA7stbEfahGA= X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org 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)