From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by sourceware.org (Postfix) with ESMTPS id 2A3AA3893670 for ; Sun, 13 Nov 2022 01:09:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2A3AA3893670 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-x102e.google.com with SMTP id h14so7479005pjv.4 for ; Sat, 12 Nov 2022 17:09:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=cZVhCbVVH47yzLPuVf/VjkilSEN7JpAmwioODeYqRhY=; b=G400Z5vTU9I4n99Afh/5WhK7h/byWTak3gHucBfe/+fDdZ2fe2tHFKO/GwsxoardBA e8zLX4uCJ0UUN2JxrBWFpNopsmrWJ6cXNkC+9NiAiT69wrXTRMVAYoZ2rEhBbCqn6WMj e86UDfgGrAbuSdR2OAdMPhO6fJeABn1GHAHm+a3oPb9mwZLBT1J6UOGNLl6YvbG1zc4m 6Y98zZjkeWCawhgtsA5mBIAlITWJHxpyodDjxL2G3GOqlKrzcDDgTtvl5LQ6WNbnsSXl U0GvBIXZcTKXvnM1rc13M7flR7xMrbkL+TrqQ4lVMMho9DiPZQKLg4l8ahEByAhnZn+C V09g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references: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=cZVhCbVVH47yzLPuVf/VjkilSEN7JpAmwioODeYqRhY=; b=ABS9L5T5c9lHfltLqhIGoa7Lqn1uacaKi7PnsYLZX87ImIHQbS2S7/EGIclC68e/vx zJikwsYaD7jbxFHkoB//WIDue+DmjbbcRddna5xwyWBUxvdiVp6w1tjyfWmlWC21TjLJ Y5RElmcCUUUJuNO2LV64sA4fQTohLkhmgA5etruAb2+gP6g2q6fCMV1xEC71YX/3qWnu ZiOfXVjZtJ/3JMl3v5BMWp9HHPOI4fuQAeFIUmWGf4u0N50dLkXqHskusAt6tYO9epJU GX1vINSz6Hzo+aRnykLjmV6kHjaU/sVG4CN7vstnNe1VJUShjhgxq+yXkMgbMQawGX44 FWcA== X-Gm-Message-State: ANoB5pm/xbT68PlyzI1JaY40H/f5LBSPz1xZ0LGByirI4d0Vvt20H0Si 5eTn/qcvBP2sEXbGNYbL1It09FN2DYc= X-Google-Smtp-Source: AA0mqf4iUyJh8oOZAqWlHvcEKpmB/CFrInbDG5QvbJK0GDUgeN/YA7c5QkZH55CT+59CkMdaXHUvrQ== X-Received: by 2002:a17:90a:2b89:b0:213:d04:7529 with SMTP id u9-20020a17090a2b8900b002130d047529mr8063366pjd.181.1668301794410; Sat, 12 Nov 2022 17:09:54 -0800 (PST) Received: from ?IPV6:2601:681:8600:13d0::f0a? ([2601:681:8600:13d0::f0a]) by smtp.gmail.com with ESMTPSA id kx4-20020a17090b228400b002008d0e5cb5sm6971942pjb.47.2022.11.12.17.09.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 12 Nov 2022 17:09:53 -0800 (PST) Message-ID: Date: Sat, 12 Nov 2022 18:09:52 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH] Handle epilogues that contain jumps Content-Language: en-US To: gcc-patches@gcc.gnu.org, richard.sandiford@arm.com References: From: Jeff Law In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 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 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 11/11/22 09:19, Richard Sandiford via Gcc-patches wrote: > The prologue/epilogue pass allows the prologue sequence > to contain jumps. The sequence is then partitioned into > basic blocks using find_many_sub_basic_blocks. > > This patch treats epilogues in the same way. It's needed for > a follow-on aarch64 patch that adds conditional code to both > the prologue and the epilogue. > > Tested on aarch64-linux-gnu (including with a follow-on patch) > and x86_64-linux-gnu. OK to install? > > Richard > > > gcc/ > * function.cc (thread_prologue_and_epilogue_insns): Handle > epilogues that contain jumps. OK jeff