From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by sourceware.org (Postfix) with ESMTPS id 49A143858D28 for ; Tue, 2 May 2023 03:24:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 49A143858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=axis.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=axis.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1682997843; x=1714533843; h=from:to:cc:in-reply-to:subject:mime-version: content-transfer-encoding:references:message-id:date; bh=MGUOyrPllMaRGy2Av7aIQc5dDdx5Uca6CR4lcQV0Dmk=; b=Y/CdvlwDB/KJrDAs/gi6Tm6u8PQ5r2UzqpJbomfrXZj8nOs5aShvyW92 MzQUt4Tg5OSUxQWBHZxYNFwxG/5BzgP+PF6qKgeysOQo11kxt5wv7PuEQ Mo6OKVqLdcM1xHg1cial7t7t1nPmeey0hMjqtcZMV5LgGIG6i9EgL7qbQ ea2kMEmcFi+LnxlJ08zJb3uVXP71cg+L5eqUeKgPs0T2Z3jKjCpTusiaP V/3azB52ns6V/DMcduGYfeKkIaTVQG69ZkI6EItyI0vfgFw7jB91RvHxL G12AtGPScoE0b+lXVhIcG9pam+RkbLTUvyW7hEq48H71hKQN2gK/t+7Df Q==; From: Hans-Peter Nilsson To: Jeff Law CC: In-Reply-To: <91be1ec3-de85-04cc-0d9f-d3aa69f075dc@ventanamicro.com> (message from Jeff Law on Mon, 1 May 2023 07:21:59 -0600) Subject: Re: [committed] Enable LRA on several ports MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT References: <91be1ec3-de85-04cc-0d9f-d3aa69f075dc@ventanamicro.com> Message-ID: <20230502032401.A270320418@pchp3.se.axis.com> Date: Tue, 2 May 2023 05:24:01 +0200 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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: > Date: Mon, 1 May 2023 07:21:59 -0600 > From: Jeff Law > Spurred by Segher's RFC, I went ahead and tested several ports with LRA > enabled. Not surprisingly, many failed, but a few built their full set > of libraries successful and of those a few even ran their testsuites > with no regressions. In fact, enabling LRA fixes a small number of > failures on the iq2000 port. > > This patch converts the ports which built their libraries and have test > results that are as good as or better than without LRA. Yeah, I did fix test-suite errors for CRIS with LRA earlier (see commit logs to the CRIS port this year). > There may be > minor code quality regressions or there may be minor code quality > improvements -- I'm leaving that for the port maintainers to own going > forward. Right; I noticed performance regressions, and didn't want to commit anything that knowingly degraded performance. I did follow the traces but fell into the rabbit-hole of rtx_costs. That's the main reason I didn't push a "-mlra" option or remove the TARGET_LRA_P for CRIS. (My story and I stick to it.) But thanks I guess, it saves me a commit, but (to all!) please sync check_effective_target_lra for targets you "convert". ...oops, it's just CRIS and hppa there (wot, not converted?) brgds, H-P