From patchwork Tue Sep 12 15:25:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Sandiford X-Patchwork-Id: 138262 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp491009vqx; Tue, 12 Sep 2023 08:34:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF3H277T7oeYTXoqBQOO1hftH+ZFiLntWqPv6p5TOJIAzCcGn8me66+EpUjJUrN33/zylYT X-Received: by 2002:a17:907:7605:b0:9a1:c352:b6a5 with SMTP id jx5-20020a170907760500b009a1c352b6a5mr10167750ejc.69.1694532852338; Tue, 12 Sep 2023 08:34:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694532852; cv=none; d=google.com; s=arc-20160816; b=Ylq9MGM3H6RnezGTKbIvaay5axX6cDImLuD7BkUNJXRo5yXxqARh4w1espQoQCavjb qHumewNiJ4cqjQtFl0tWq9azzGK8wao/9HSNAaj8eyelJsz64AWTM3YgMC9i+NuoHwyw GerfvgtdgPla6J8kV6j8/6oEmCRJxVJXCeKB4RL+RDtmEG19V3aiQNYAPIvN56odg1Eq ovQcj2WYNHi091vXF5QzEgAOKPEzPMVdcfJMwk4mopzddsHDIpC2LhPNWsIQtlhJrbfj PqODJ0q4+8x4Bg3BMGn03S9yUDZSLJA6qd+x7Pnw50SnKOLtdz/N9YUJL3C+hVtNSBr4 3ZCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=bc3Y1RTtP135zD3Y4+zToW0IgnwRCYwoq76iLDXOvwg=; fh=C4nEn4uRKApr1WsFtLyJD8L5BeRuRc+JFyqoopFjd9M=; b=SA7u2eCS8qkm/2zYbVppMv/O6Ftj7ZBGLkeBH9u+nwsdLtn3y5D1FIaRDE8zgcQfvG 4z69Dbptg+oqBCrtTn5SKSJCGO7QwVwDJy0EhZt9T8wd55b6jpn9pF0HDAo/t+EKbxk+ mp6vrDRht0AmTvNN0WPqLHLA234O9SNpwNswaBolpRUKJImOtFaMXigTVidb5ZmudvUq hg94rV2ns20aV9Uk2YARxCsvtHyhBti6ni6uLCWSY032t/J1YxP1ti+hUXqka9YDxFHB iecTBoiBSyyXjk+iaYF72dYnvloaqxm81CgLRcWGJXqSMnF36+4JCGJlHl3z2gw1nRDl 0dYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=ZQoG8H16; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id a20-20020a170906685400b009935121ecd7si9916760ejs.639.2023.09.12.08.34.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 08:34:12 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=ZQoG8H16; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2F5243942008 for ; Tue, 12 Sep 2023 15:28:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2F5243942008 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694532531; bh=bc3Y1RTtP135zD3Y4+zToW0IgnwRCYwoq76iLDXOvwg=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=ZQoG8H1678jDURQQz1e4zGNtWTkojckq4P7xNSRQY6yleQpB3xjY5z7mZDEMO9jj6 xTWkkRiW1JyHadAAeWbkPX1znE2dgS4yvlnD0+0eckOsQ/d7tR+KoHmP8Ivt7gL7bC AF85hBbpuNsFi5O/BjvGS0alo3oKCN8i5lpAZNlg= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id 83D27385C6F2 for ; Tue, 12 Sep 2023 15:25:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 83D27385C6F2 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 78097D75; Tue, 12 Sep 2023 08:26:22 -0700 (PDT) Received: from e121540-lin.manchester.arm.com (e121540-lin.manchester.arm.com [10.32.110.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CE70F3F738; Tue, 12 Sep 2023 08:25:44 -0700 (PDT) To: gcc-patches@gcc.gnu.org Cc: Richard Sandiford Subject: [PATCH 10/19] aarch64: Tweak frame_size comment Date: Tue, 12 Sep 2023 16:25:20 +0100 Message-Id: <20230912152529.3322336-11-richard.sandiford@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230912152529.3322336-1-richard.sandiford@arm.com> References: <20230912152529.3322336-1-richard.sandiford@arm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-25.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, 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: , X-Patchwork-Original-From: Richard Sandiford via Gcc-patches From: Richard Sandiford Reply-To: Richard Sandiford Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776846480410583717 X-GMAIL-MSGID: 1776846480410583717 This patch fixes another case in which a value was described with an “upside-down” view. gcc/ * config/aarch64/aarch64.h (aarch64_frame::frame_size): Tweak comment. --- gcc/config/aarch64/aarch64.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h index 4a4de9c044e..92965eced0a 100644 --- a/gcc/config/aarch64/aarch64.h +++ b/gcc/config/aarch64/aarch64.h @@ -800,8 +800,8 @@ struct GTY (()) aarch64_frame STACK_BOUNDARY. */ poly_int64 bytes_above_hard_fp; - /* The size of the frame. This value is the offset from base of the - frame (incomming SP) to the stack_pointer. This value is always + /* The size of the frame, i.e. the number of bytes between the bottom + of the outgoing arguments and the incoming SP. This value is always a multiple of STACK_BOUNDARY. */ poly_int64 frame_size;