From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by sourceware.org (Postfix) with ESMTPS id 881563857BAA for ; Fri, 5 Aug 2022 16:20:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 881563857BAA Received: by mail-pj1-x102b.google.com with SMTP id o5-20020a17090a3d4500b001ef76490983so3331652pjf.2 for ; Fri, 05 Aug 2022 09:20:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=1P2qnBMF/AC1JjCUu5r92biUfc78QxxhwEtYWH68dNQ=; b=sfncKiLhruTH8z76ct3Mo5R/g8xuOXM7yUC6PFZ4SasH1JhpylK7/1dZJX8bGljfMJ n9f4o/DcdmUsnhRLrJtXcU+L2S7Z0ThAvf748oVOH2+6Uio6CMd2ygF8cwSnxTTMka0I nYhenE02q2xJcxOVISRi6zlZdEAQLIwkyHXn91bXAkIANnxlI9r2a3UK3cosUaOXDfl+ Ky4EBZc5pvrUQGQ22KwosY5vbIe/Zo9DLAU+8lrhg8G3woh2UPOj9zzp5rnfTB08KVwx ovyuXqzb8hZzU5xo4jiLzyzi7aD2syHoRJmzzeKTsirQGSd9+B5M2knXs/rXUxBPwUFJ uAeQ== X-Gm-Message-State: ACgBeo1KoR6jltPn6IL78mLn1uQqfoh5Ciw74KFf2RRp0WT1PQW9qG2a XCVG2LqJecqjh8DfSjE5jaz2OiVyH7M= X-Google-Smtp-Source: AA6agR6QLyKQTGGojFLo7dJ2VqZ3v86Sj5J7NTCBYoxN78qkxJtnnSAOcpprHJMyv0wCYfaq4XRNaw== X-Received: by 2002:a17:903:300c:b0:16d:cb87:8ed5 with SMTP id o12-20020a170903300c00b0016dcb878ed5mr7562377pla.159.1659716455914; Fri, 05 Aug 2022 09:20:55 -0700 (PDT) Received: from [172.31.0.204] (c-73-98-188-51.hsd1.ut.comcast.net. [73.98.188.51]) by smtp.gmail.com with ESMTPSA id c14-20020aa7952e000000b0052d3d08cd96sm3260576pfp.67.2022.08.05.09.20.54 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Aug 2022 09:20:55 -0700 (PDT) Message-ID: Date: Fri, 5 Aug 2022 10:20:53 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] lower-subreg, expr: Mitigate inefficiencies derived from "(clobber (reg X))" followed by "(set (subreg (reg X)) (...))" Content-Language: en-US To: gcc-patches@gcc.gnu.org References: <7e3fe210-6dbc-fc29-dbb8-b951e89cf7e9@yahoo.co.jp> <87f124f0-8a10-6c3b-6b12-cabf855e2e4b@yahoo.co.jp> From: Jeff Law In-Reply-To: <87f124f0-8a10-6c3b-6b12-cabf855e2e4b@yahoo.co.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2022 16:20:59 -0000 On 8/4/2022 6:35 AM, Takayuki 'January June' Suwa via Gcc-patches wrote: > So lots, but almost double might be an overstatement :) > > BTW after some quick experimentation, I found that turning on -fsplit-wide-types-early would roughly (but not completely) solve the problem. Surely, the output was not so bad in the past... It could have been. >> Ah, hadn't realised that. If you have time to work on it, it would be >> really good to move over to LRA. There are plans to remove old reload. > Alas you do overestimate me :) I've only been working about the GCC development for a little over a year. > Well it's a lie that I'm not interested in it, but too much for me. It may actually be trivial -- change TARGET_LRA_P to be hook_bool_void_true in the xtensa port, then rebuild & test. In the couple conversions I've done it's exposed a very small number of issues that were trivially resolved.  Given the what I've seen from you I would expect it's within your capabilities and there's folks here that can help if you do run into problems. jeff