From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69258 invoked by alias); 5 Aug 2016 15:23:15 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 69245 invoked by uid 89); 5 Aug 2016 15:23:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:D*googlemail.com X-HELO: BAY004-OMC1S10.hotmail.com Received: from bay004-omc1s10.hotmail.com (HELO BAY004-OMC1S10.hotmail.com) (65.54.190.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Fri, 05 Aug 2016 15:23:13 +0000 Received: from EUR01-DB5-obe.outbound.protection.outlook.com ([65.54.190.61]) by BAY004-OMC1S10.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Fri, 5 Aug 2016 08:23:12 -0700 Received: from VE1EUR01FT023.eop-EUR01.prod.protection.outlook.com (10.152.2.51) by VE1EUR01HT206.eop-EUR01.prod.protection.outlook.com (10.152.3.246) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.8; Fri, 5 Aug 2016 15:23:05 +0000 Received: from AM4PR0701MB2162.eurprd07.prod.outlook.com (10.152.2.52) by VE1EUR01FT023.mail.protection.outlook.com (10.152.2.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.567.7 via Frontend Transport; Fri, 5 Aug 2016 15:23:04 +0000 Received: from AM4PR0701MB2162.eurprd07.prod.outlook.com ([10.167.132.147]) by AM4PR0701MB2162.eurprd07.prod.outlook.com ([10.167.132.147]) with mapi id 15.01.0549.023; Fri, 5 Aug 2016 15:23:03 +0000 From: Bernd Edlinger To: "Richard Earnshaw (lists)" , Jeff Law , "gcc-patches@gcc.gnu.org" CC: Richard Biener , Jakub Jelinek , Richard Sandiford , Ramana Radhakrishnan , Nick Clifton Subject: Re: [PATCH, ARM] Add a new target hook to compute the frame layout Date: Fri, 05 Aug 2016 15:23:00 -0000 Message-ID: References: <538a413b-ef74-4a9a-1665-f3b84a8d9035@redhat.com> <67767f62-f973-546b-1e18-1d3bf472d748@arm.com> <4b971f30-b5e2-7960-aab4-a873f3ed433e@arm.com> In-Reply-To: <4b971f30-b5e2-7960-aab4-a873f3ed433e@arm.com> authentication-results: spf=softfail (sender IP is 10.152.2.52) smtp.mailfrom=hotmail.de; arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=hotmail.de; received-spf: SoftFail (protection.outlook.com: domain of transitioning hotmail.de discourages use of 10.152.2.52 as permitted sender) x-ms-exchange-messagesentrepresentingtype: 1 x-eopattributedmessage: 0 x-forefront-antispam-report: CIP:10.152.2.52;IPV:NLI;CTRY:;EFV:NLI;SFV:NSPM;SFS:(10019020)(98900003);DIR:OUT;SFP:1102;SCL:1;SRVR:VE1EUR01HT206;H:AM4PR0701MB2162.eurprd07.prod.outlook.com;FPR:;SPF:None;LANG:en; x-microsoft-exchange-diagnostics: 1;VE1EUR01HT206;6:I5mlm3FKE/24UoCKqs11M/VrtyJsooMXJbuji3fvF2FxFP4b/tW/757u40tz88F6Ia1cTuKcuSaV2eMHbk64sOmRNd0sbugL4dbZS2cVM9ho2hC1ETQkyk4BCDEmrQyo1yj+YlgA8/MlZt7ZqcLl95BnisJLwNjL+yxQnulaBwYppRtGM8CZEigqeq3uMC1Lice6XFGtWmbni6mypvAytGLPTIRI5rMP/NthNti8cFEU2FR+r7enWNNqJxzwHzB5Ru3O6C3DgvC39/g6ObNk7gDS+j1sJ/HqxHfK4W1D0hCPtBv5ENU5UtTBrv2sOd3Y;5:fqHKpChlF/Ewthl6nBYZHbaoDdMl3t0AbJYPrWSU3M0tn8kWaE90ckPaaoLbGjwn9RGj4bPcWSL5M401QpP2Bz6LTdHvEj4PjbRiq4nmzOXX//KgYZtnqGI3WzPasjFf8xJQyv7Ve1u4tfDp+V/TcQ==;24:AlQRsMosanS0MOzSDhcuVC0Tt6GKp+IQjKLhwSCSRn2cOpbnxenziaSp8NNCtOLnH//Ac/Mag3jsnEiDE6JRAe4yKNbwGtZ+czgqW2Eqwh0=;7:LyLHuYEoqGwsVAShB8VE2yRMet4BIU3CghwLDMQSpF4Ja9TxITwzUieAsxsKLfJh0bOvZN+hQBB2yYT3agl0PxP8hXOJpXVjRT9sTKnhkTJ7R84RyS58eiVvPEXG4M2rFoiLKJmUCpqtptj/KrLwdiR7iZer1TK5llv8DHwd0w+Gjcx6og/VKx4KH+cP4lv3S88z/x+rv4sOPBN7N47ih/wXm9InnrUXb5C0s32qLQoSheCbE5jYiTQFFnnEhEOX x-ms-office365-filtering-correlation-id: 259d60d4-d895-416a-6d96-08d3bd446422 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(1601124038)(1601125047);SRVR:VE1EUR01HT206; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(432015012)(82015046);SRVR:VE1EUR01HT206;BCL:0;PCL:0;RULEID:;SRVR:VE1EUR01HT206; x-forefront-prvs: 0025434D2D spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="Windows-1252" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Aug 2016 15:23:03.5834 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR01HT206 X-SW-Source: 2016-08/txt/msg00473.txt.bz2 On 08/05/16 16:06, Richard Earnshaw (lists) wrote: > > Thanks, that's pretty much what I expected would be the case. > > Could I suggest: > > This target hook is called once each time the frame layout needs to be > recalculated. The calculations can be cached by the target and can then > be used by @code{INITIAL_ELIMINATION_OFFSET} instead of re-computing the > layout on every invocation of that hook. This is particularly useful > for targets that have an expensive frame layout function. Implementing > this callback is optional. > > R. > Excellent! I like this wording very much. Thanks Bernd.