From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from server.nextmovesoftware.com (server.nextmovesoftware.com [162.254.253.69]) by sourceware.org (Postfix) with ESMTPS id D9A2E385842D for ; Tue, 2 May 2023 13:18:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D9A2E385842D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nextmovesoftware.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nextmovesoftware.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nextmovesoftware.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:In-Reply-To:References:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=VzrkqcAkUSwyNjHvNg1o07QHjvJMxKyBKWl5wiy7bag=; b=KaskFrIKW3VAz5xni8U0LTGm7D FYq8vevEaZ6KM1UO1hnOwvpEajl2uNTMaF/C4gPOujmSaZzW9OVBfOJ880XV7KF8ZRSi8TNa3yTe5 Rq3NM5cxU8Oo5rD2DA9EJtI7OlSf78bMT8TSw23WE0B9Ba6MpCbc89JwtqLDzQulrxYsrpgUb2Iai EVnX0oLlqPKDFRdBN6S48rlGm6UAtQ5aNQvlMq3/IaRRMrxUb8Hkan19l8FRhT2NhNyFquwrr6mB0 WoGG5VgxP0HTjRuVfS7uShOpVBcOXVFl0rBG27D8XJEIMBYRw1Ykv8i4Q6P89keZwlATLeLcFWrDf wkJmqt9g==; Received: from [185.62.158.67] (port=55742 helo=Dell) by server.nextmovesoftware.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ptpu1-0004EV-0e; Tue, 02 May 2023 09:18:45 -0400 From: "Roger Sayle" To: "'Paul Koning'" Cc: "'Jeff Law'" , "'GCC Patches'" , "'Segher Boessenkool'" References: <009601d97c85$de708170$9b518450$@nextmovesoftware.com> <0FD01909-1F42-4E50-8D0D-2EDB80C34C0A@comcast.net> In-Reply-To: <0FD01909-1F42-4E50-8D0D-2EDB80C34C0A@comcast.net> Subject: RE: [committed] Convert xstormy16 to LRA Date: Tue, 2 May 2023 14:18:43 +0100 Message-ID: <021801d97cf8$9fc91770$df5b4650$@nextmovesoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQG28Urg0PW1413oa1Hy1htPI2COKwI6TCJsr3o5OYA= Content-Language: en-gb X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server.nextmovesoftware.com X-AntiAbuse: Original Domain - gcc.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nextmovesoftware.com X-Get-Message-Sender-Via: server.nextmovesoftware.com: authenticated_id: roger@nextmovesoftware.com X-Authenticated-Sender: server.nextmovesoftware.com: roger@nextmovesoftware.com X-Source: X-Source-Args: X-Source-Dir: X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_SHORT,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 02 May 2023 13:40, Paul Koning wrote: > > On May 1, 2023, at 7:37 PM, Roger Sayle > wrote: > > > > ... > > The shiftsi.cc regression on xstormy16 is fixed by adding > > -fno-split-wide-types. > > In fact, if all the regression tests pass, I'd suggest that > > flag_split_wide-types = false should be the default on xstormy16 now > > that we've moved to LRA. And if this works for xstormy16, it might be > > useful to other targets for the LRA transition; it's a difference in > > behaviour between reload and LRA that could potentially affect > > multiple targets. > > Is there documentation for that flag? Yes, see the section -fsplit-wide-types in https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html Interestingly, there's a recent-ish blog describing how -fno-split-wide-types reduces executable size on AVR: https://ufj.ddns.net/blog/marlin/2019/01/07/reducing-marlin-binary-size.html and its interaction with (AVR) register allocation is seen in PR middle-end/35860. Cheers, Roger --