From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by sourceware.org (Postfix) with ESMTPS id B959F3858425 for ; Mon, 17 Apr 2023 18:09:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B959F3858425 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-x1034.google.com with SMTP id f2so18030043pjs.3 for ; Mon, 17 Apr 2023 11:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681754961; x=1684346961; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=EyiAwh1rDmwmtjR53UyUVDGvGLvExbBLhAODf08NQOY=; b=FrOKiUPD4CEo1ZK8CoPZasmTERqtVpizdCZ9quWEdVzTIM2uEky/H39vfJjZ4XzCLT Ugb8L5v3XiI1AHM+m90+2xf/AN3UN23wAxQl3w1mkm1L+olO53PcvGmrbs526sTCALxb oMyWlfmZB2enPdoUEecxPYbD0hsvRpU8S1+BzZcMj3/qSpcOUJ4rft5BMjRF+WTKjisN kSLIMP9sRZT3kMz+tFJNgYekp0Qx0TEXULNATxvLTRnjNgpr4GIjLAPHTdLiNk0N0Tdg 6KX84XWoprYlzxg5ldbXKP5gwDoCDadXtZGBFOXzxW35P/W3qeGc7NlDJlUB6FtP+KjG cP5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681754961; x=1684346961; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EyiAwh1rDmwmtjR53UyUVDGvGLvExbBLhAODf08NQOY=; b=Z1r3CnnXZJxRAbFAN6RHDdh40X6dOOZgJouooryOUmcPhMjhEP51fLfaCwuyX7NAAV jbtl9PObhfL9d5l4ecEHOAGHvJRxUSAd7IUb9JterkLD0hPSdNtdeFlPxNKqI2M0NpPu pVBCaJhvluVWwxz7Qa55YIs44paEztqcdkysZ1w7Khhr2w8T6kbQbr9duAncWlLo/lw9 euMvMe3xvveYW4uloGQRoHP4/L93c/YGc3R1P+FthR86hD+EslitkA3ri9/S9bljZ/wt gyUzJlR3rYzkDCa78M4zQVHvvgbo88koooabJZzbBx/QzLMa1S8Fdo/S5dK/BLm4yiPi pUxA== X-Gm-Message-State: AAQBX9f4Yz26QxwfmwvAj1OgGhbt4ceGZFFjnwtNMRtx73NympRPodn3 Npie8IZ3CP29NP0iCK4xDUs= X-Google-Smtp-Source: AKy350b5iRKyo3gyH/kKsaS1zgXg6oJ3ZOmDTGd2gy8Sd7iE3zc8aNDEwk6wnX8DmR+BspmDU0Tdxg== X-Received: by 2002:a17:902:ec8f:b0:1a6:eba7:5840 with SMTP id x15-20020a170902ec8f00b001a6eba75840mr3073598plg.68.1681754961333; Mon, 17 Apr 2023 11:09:21 -0700 (PDT) Received: from ?IPV6:2601:681:8600:13d0::f0a? ([2601:681:8600:13d0::f0a]) by smtp.gmail.com with ESMTPSA id a13-20020a170902b58d00b001a69c1c78e7sm6179871pls.71.2023.04.17.11.09.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Apr 2023 11:09:20 -0700 (PDT) Message-ID: <87b25f37-0b8f-4309-a33f-2a8b9bd967b9@gmail.com> Date: Mon, 17 Apr 2023 12:09:19 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH 1/3] RISC-V: add a new parameter in riscv_first_stack_step. Content-Language: en-US To: Fei Gao , gcc-patches@gcc.gnu.org Cc: kito.cheng@gmail.com, palmer@dabbelt.com References: <20221201100332.22226-1-gaofei@eswincomputing.com> <20221201100332.22226-2-gaofei@eswincomputing.com> From: Jeff Law In-Reply-To: <20221201100332.22226-2-gaofei@eswincomputing.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,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 List-Id: On 12/1/22 03:03, Fei Gao wrote: > frame->total_size to remaining_size conversion is done as an independent patch without > functionality change as per review comment. > > gcc/ChangeLog: > > * config/riscv/riscv.cc (riscv_first_stack_step): add a new function parameter remaining_size. > (riscv_compute_frame_info): adapt new riscv_first_stack_step interface. > (riscv_expand_prologue): likewise. > (riscv_expand_epilogue): likewise. I fixed the capitalization issues in the ChangeLog and a few places where tabs should have been used instead of spaces and pushed this to the trunk. Thanks for your patience, Jeff