From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by sourceware.org (Postfix) with ESMTPS id C5ADF3858429 for ; Fri, 9 Sep 2022 22:24:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C5ADF3858429 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-yw1-x112e.google.com with SMTP id 00721157ae682-3450990b0aeso34640417b3.12 for ; Fri, 09 Sep 2022 15:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=YYcJ+8+C3DBjI77w5ke0ARnGbsf3BE+6XivEDQcroJs=; b=GzsXhpfaZ1e2MHqNK3kOd4JuSKw9OkD28fwtn1AYgwSVgNjSeJ9y2xeznVmC9AvIpw E2sIAAdB1bBGSe52gMJUV3nWENdhSuTKSEGH+FgrfIONGkfTKpiP8sCYjx7P2+dBgqKL zlePkChx0dOK7NOIaliIN+IdvyTg4we5fTa4ReahaoKOZNnpFl0cL0lw5EKpFTRgeY0f 2o52/E0Ta4dO9Dc2GfncpiR+zu7npoxDu06d3z3U9/D/up3k43GgNaUBLisp2nPF3xYr 4toGbQyENjMUnMelOULldoq7V8B4rFIejm68eovANqoqvm1RIfuUoHDrzdowZRVO3FKF 8UXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=YYcJ+8+C3DBjI77w5ke0ARnGbsf3BE+6XivEDQcroJs=; b=r9laopdaohR0xSrDeC++slm0xocLgJU20MIHp2Qxb4D4wgSbUv2P/eDGN+Rc7Sa2Es nM/TvTKdm9+b23bSGQmsafZhELBDnMR3qNuSK+sFcOYvOZgIj79a5n+0pd18rTqiZ3EG P1wSd9iyryjUoQgqB+9gbqTemlGjmz1siiyU21W8SpoRVV0raTgANLFdaRNLUXAnp2q/ fplnKNbdn9/xlWxBMQja8QLyYu2NNeSdKUmsuFdlSMjIxkGg78uEQLtJ1cKQyQ07fmUa Hig5d640LgkcuBX0K0ay/7qq0V7e6EIyeE3OdCFsj2C8EKrdo1ucXMO4wGY0JgMvisWI dvBQ== X-Gm-Message-State: ACgBeo0cTZLSJ9+tfiOda4fOoAXB8EfBo0pN/kA0myiARuljm6f7w0K2 Yj51Ac9BT1cZeV6+pWemSoQ7ZYjlIaaLvT14fXs= X-Google-Smtp-Source: AA6agR6//oVK5F0rA9is4QxSPhlYpqq36KOl75X88VPbBm750dNpAQPIoN/sGyTY41tFzkpuchG0aHCJl1jh3zHVwcc= X-Received: by 2002:a81:f10:0:b0:345:107d:c71f with SMTP id 16-20020a810f10000000b00345107dc71fmr13715884ywp.435.1662762275074; Fri, 09 Sep 2022 15:24:35 -0700 (PDT) MIME-Version: 1.0 References: <1a486e72-8b3a-752e-f1b8-4383a38c004b@yahoo.co.jp> In-Reply-To: <1a486e72-8b3a-752e-f1b8-4383a38c004b@yahoo.co.jp> From: Max Filippov Date: Fri, 9 Sep 2022 15:24:23 -0700 Message-ID: Subject: Re: [PATCH 2/2] xtensa: Make complex hard register clobber elimination more robust and accurate To: "Takayuki 'January June' Suwa" Cc: GCC Patches Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed, Aug 31, 2022 at 10:50 PM Takayuki 'January June' Suwa wrote: > > This patch eliminates all clobbers for complex hard registers that will > be overwritten entirely afterwards (supersedence of > 3867d414bd7d9e5b6fb2a51b1fb3d9e9e1eae9). > > gcc/ChangeLog: > > * config/xtensa/xtensa.md: Rewrite the split pattern that performs > the abovementioned process so that insns that overwrite clobbered > register no longer need to be contiguous. > (DSC): Remove as no longer needed. > --- > gcc/config/xtensa/xtensa.md | 67 +++++++++++++++++++++++++------------ > 1 file changed, 45 insertions(+), 22 deletions(-) Regtested for target=xtensa-linux-uclibc, no new regressions. Committed to master. -- Thanks. -- Max