From patchwork Thu Mar 21 13:39:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Stubbs X-Patchwork-Id: 1914410 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=WrJSTeXa; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; 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 [8.43.85.97]) (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 4V0mmw1K38z1yWs for ; Fri, 22 Mar 2024 00:40:31 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 76B2C3858422 for ; Thu, 21 Mar 2024 13:40:29 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by sourceware.org (Postfix) with ESMTPS id C6EBF3858D28 for ; Thu, 21 Mar 2024 13:40:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C6EBF3858D28 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 C6EBF3858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::32e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711028410; cv=none; b=rorA99WvFADqGO9s/2yiVzJ7ATvUkyUJFOQvfSpJO2Xo2PIi9j2my67WEGivlwa9b3Neu5ffd9mc4op0L/H2uGHZm258EiQQXM4UegW1z1K8nFvOFq6LHSi7ToJK4+sJcQjT02KCqOMI5va35buJtM3DChQtKPVrwTFkNSmQzY8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711028410; c=relaxed/simple; bh=2cXr9A4Tz8dfoTh3adg1TNrxyusIVIbxRKRgzxXQTPA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Yop4wKztzRngJeZEaxlmnPYipl20jC6TGaZB/jAEFXDcqejqPUs5YcjXaJb/OT82CXbPrYtM4b5dw+o0HWaQbFgnh+gptdofvBfXn/ZxPcf5yg8NkU38ikNcbPJ/+YJA9QGU2Or5Hp1qBZ2zVoipPlhEudyxhhSqe3FAC5HIJ4s= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-41412411672so7515415e9.3 for ; Thu, 21 Mar 2024 06:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1711028407; x=1711633207; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=7xlAK8LozcqKKvp7hmy1R6EnkkKqtT+I1TFUGy9Jv0Y=; b=WrJSTeXadxWXmsv/TGbfaRUceYObQ8+Wu39JVHppuhwJANx+XMA4wxs8n09xAGrYsQ bPlqRnFiTlCSCJz548uTR9lmcoF+Jlpws0uLQwsmA+7ZUuVpjsOoeMzCnZLK4Wxaqukw tj9LJXYsQYAnPU2AE0WbhNmpmgg2GeQcTN67nDlS7vLPGhrzK1zLee2c5kN8EsO4i9iZ k8Z/bZwZ+VONIlCfrBmmb0qSzps/x0rtb91R1TDKNXCbveabwD+H2ddbasLiQtVU7UZD EWWc7wiNNpWlUiMdvOwrlgFFmITqhiJURE0ZnBsL48kmZPOWA0ssdI/oMYUYrOHa/37v 1Y5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711028407; x=1711633207; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7xlAK8LozcqKKvp7hmy1R6EnkkKqtT+I1TFUGy9Jv0Y=; b=WomoKEr8pQ7LB/kvBdp+2vpaMGKMOszItkuxsOC/WuvtiIh8Eb0C8jznQPxGW1kMDk xY11iuItMY0CNa9e4D2b21IU2Z1/FeS+x5y4SIWsDvop6OZAR9DGx483P2gu+bWlVrcN 5lgz1r934JbeE7xXiGSt2QBinIrjB3k25mesLMKtx4A68mLu5oAElSLPxwKKmxyIOEyi B+Kew+f1620JpqvKtpzDwSCYZPkn9BApioLqxR5XRjzrTYClco5nIy2qFgBvDxoBnpQU RIGWGUsB3rwwoGTbnnNPx6JDYiNJsmJBiuCnGNtiDUMTAj7QFOtNju0LaXLtfGJWQCW5 V6yQ== X-Gm-Message-State: AOJu0YzbwgWOXShKNpaUs8b15TmSPW6YZPb/hzbNr2LKZyhKItYHoiKP DN/NkjlARTPL5ImJeXuJFvPsMS0+6STi2dE3tQ1Q422OnJ9bHf8boTYC8QRRBbvIMeaA0hQcjzP yv8CwbQ== X-Google-Smtp-Source: AGHT+IHdFIfyqtu/9p4BtpLr9yF6NirXbjfF6PjUeKA4nJ+GeswM1Y5yRFMjd1aMnESWbNb7OacL8A== X-Received: by 2002:a05:600c:4694:b0:413:f290:c747 with SMTP id p20-20020a05600c469400b00413f290c747mr4157880wmo.33.1711028407175; Thu, 21 Mar 2024 06:40:07 -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.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 06:40:06 -0700 (PDT) From: Andrew Stubbs To: gcc-patches@gcc.gnu.org Subject: [commmitted] amdgcn: Comment correction Date: Thu, 21 Mar 2024 13:39:54 +0000 Message-ID: <20240321133954.34411-2-ams@baylibre.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240321133954.34411-1-ams@baylibre.com> References: <20240321133954.34411-1-ams@baylibre.com> 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 The location of the marker was changed, but the comment wasn't updated. Fixed now. Committed to mainline gcc/ChangeLog: * config/gcn/gcn.cc (gcn_expand_builtin_1): Comment correction. --- gcc/config/gcn/gcn.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc index bc076d1120d..fca001811e5 100644 --- a/gcc/config/gcn/gcn.cc +++ b/gcc/config/gcn/gcn.cc @@ -4932,8 +4932,8 @@ gcn_expand_builtin_1 (tree exp, rtx target, rtx /*subtarget */ , } case GCN_BUILTIN_FIRST_CALL_THIS_THREAD_P: { - /* Stash a marker in the unused upper 16 bits of s[0:1] to indicate - whether it was the first call. */ + /* Stash a marker in the unused upper 16 bits of QUEUE_PTR_ARG to + indicate whether it was the first call. */ rtx result = gen_reg_rtx (BImode); emit_move_insn (result, const0_rtx); if (cfun->machine->args.reg[QUEUE_PTR_ARG] >= 0)