From patchwork Thu Mar 21 13:39:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Stubbs X-Patchwork-Id: 1914411 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=I1KYW+Bh; dkim-atps=neutral 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 4V0mns1N14z1yWs for ; Fri, 22 Mar 2024 00:41:21 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2591C3858425 for ; Thu, 21 Mar 2024 13:41:19 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by sourceware.org (Postfix) with ESMTPS id 86AB53858CD1 for ; Thu, 21 Mar 2024 13:40:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 86AB53858CD1 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=baylibre.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 86AB53858CD1 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::332 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711028411; cv=none; b=fGBWJVh4HikZV8ZAwopTnno1MWcKqN3XBB0cGIIXNjrsVb+6wJ7wSe0Y1X/DovJWPCCPL2hq/NdQUp14/k9NfMJxLSY8PSyqv5b8WYy58kmhz4gfKVGq0cBR8sZjFCimfMrqxGNSDl82FlwQ4UkGO7lnLUCu3Ekp52zqZ490gFg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711028411; c=relaxed/simple; bh=44a253JPPHeqz129C6EJEnuxG85g/1Kcvb6lilm8k4w=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=qGa4izCZnPpK7X2Ju/lgPsyY6H8YgiMrxtzJnY9Ekg6VQ5Hw+MJFhNAgtTzHPqGuWMJoizuv74Ki3tpZP1P3jCoeetqr1DWdQsLKp4taCJEBnNclxDDEHjuy55moGUzMer29Hm+VYTOXyAezW6klzN7vP/PrbzaZ8WCGwy1/ye0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4146fe16a1aso7719465e9.1 for ; Thu, 21 Mar 2024 06:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1711028406; x=1711633206; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=adpx2xkuS4J8mWUCQArKh4jpEhijTFzjbX8NOIkcqrs=; b=I1KYW+Bh3HIUUeamN3yRt0085YlIxfDB12/+mcjJRw8CywUiwEdSmU4ALCieWmqsc5 VGu60We5VaGaZXpaejCdAdxaqvEIUjmAgyScDiFyk5duKY8nhjB//5L6RyU2+2XzDXKw FlZVmzthxkZKj0WMDzLzxp59gU72c3fCKl0F6SMEZpQWJk+uOC1143cqvIHwfXGyqdoT +YluZxSZiv59wOThQJLXjAjUJASEDdiQPelAC4v35lA4E9PUc1sPmDnOXs5hIIzBvXow zCNYj4I7RxENuYW5KwLkqWLK1HH75m3yJfn4z3yMX3K3L//3DLzi5/5FzFtbwuegz6Ea AUeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711028406; x=1711633206; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=adpx2xkuS4J8mWUCQArKh4jpEhijTFzjbX8NOIkcqrs=; b=USQtZkQsHXPxFt8DFjWXvm2apjDdaaLPsZsqvhnGvGDUO4tgCj/L91lehph8QtfaOl ayNWEfT1LxpWjqhps0n12q9lntAdFVXVLO0QZQ3CcQRzLH5grF4DZWETAUQjvHTiBt9P 3BtErIrW3u29mZoXg9qaaa2pRHg3isO+/ahxeWe4A4iSYNd+zJYj1LJa7CP6wnDJN5x8 +kjkaTsd8WkdyjvocQ1Gz7S4HlmMjdhNP0hMdTec9+SP9L2guc4fIwkSM2sLOfiyKt1u hY4N9xpO3Pc9Git7xYsdEX1fXtWHIqXv9DesLG+V1JsYu2v+JmJWAKBNviW7rDZiKnT5 WOaw== X-Gm-Message-State: AOJu0YxODYYQA4YOi50N6WDjMfPjyBXfyl07gJG7iHJc17RBpZ1W1ghc sc9vXXBGr8h6UWIffM7vqSxx9Q4HYpQHbyEEA4WIRbmnyEpPX8ByunfUMIpE/17TPElUsgk+mkI CJida1A== X-Google-Smtp-Source: AGHT+IG29h0nKdkJLarmsetkvrF4oezRdOJp3KACl4mXpelJYAEEci2fJckDqbzRg2FpoqAx6FFThw== X-Received: by 2002:adf:cb01:0:b0:33e:c271:8c90 with SMTP id u1-20020adfcb01000000b0033ec2718c90mr6580923wrh.10.1711028405950; Thu, 21 Mar 2024 06:40:05 -0700 (PDT) Received: from localhost.localdomain (hawk-18-b2-v4wan-167765-cust1304.vm26.cable.virginm.net. [82.41.69.25]) by smtp.googlemail.com with ESMTPSA id m19-20020a05600c3b1300b0041461d9d1ffsm5700335wms.9.2024.03.21.06.40.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 06:40:04 -0700 (PDT) From: Andrew Stubbs To: gcc-patches@gcc.gnu.org Subject: [committed] amdgcn: Ensure gfx11 is running in cumode Date: Thu, 21 Mar 2024 13:39:53 +0000 Message-ID: <20240321133954.34411-1-ams@baylibre.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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 CUmode "on" is the setting for compatibility with GCN and CDNA devices. Committed to mainline. gcc/ChangeLog: * config/gcn/gcn-hsa.h (ASM_SPEC): Pass -mattr=+cumode. --- gcc/config/gcn/gcn-hsa.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/config/gcn/gcn-hsa.h b/gcc/config/gcn/gcn-hsa.h index 9cf181f52a4..c75256dbac3 100644 --- a/gcc/config/gcn/gcn-hsa.h +++ b/gcc/config/gcn/gcn-hsa.h @@ -107,6 +107,7 @@ extern unsigned int gcn_local_sym_hash (const char *name); "%{" NO_XNACK XNACKOPT "} " \ "%{" NO_SRAM_ECC SRAMOPT "} " \ "%{march=gfx1030|march=gfx1100:-mattr=+wavefrontsize64} " \ + "%{march=gfx1030|march=gfx1100:-mattr=+cumode} " \ "-filetype=obj" #define LINK_SPEC "--pie --export-dynamic" #define LIB_SPEC "-lc"