From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2076.outbound.protection.outlook.com [40.107.6.76]) by sourceware.org (Postfix) with ESMTPS id C39863858D1E for ; Mon, 26 Feb 2024 02:10:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C39863858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=axis.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=axis.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C39863858D1E Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.6.76 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1708913472; cv=pass; b=VZWSCQEoYR4KhuVQci8qKSiRBUgBUIPetfSz1CMQjl4QXInVlbAKLhLy3VlD9NFJ1yg5mv5zyIz7IMo4giP0h3i54M3qH3aO5txmsNWIVjYzCIBJj2sTtxNwVwc1xfymieWUlxm2zZ4PtApFe5EmPbx2qyi94qGb37ZFrOJqFto= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1708913472; c=relaxed/simple; bh=HMyNX411FqbfSQ2gwxhbtBujXA/bcwD8CCODLDz9MDw=; h=DKIM-Signature:From:To:Subject:MIME-Version:Message-ID:Date; b=XhBp7qHduymdKRhbFXwR+RmHkgBLPl2+ruwAPDc8noP6lUigBTu1B3SmDwV0HVelGDJRrsuk36+Cqz9pZHfPw9fryh6Zh6fMhuafs1gMr9UMA+0PpGdszuMGQg6negYqvfB+hy3j7nYFNpHWdnkOwlZ5fN0Jv9NJUy2XVwB0Tp4= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gemU50kA+1sMyvI0SSvKm70kCXfz/EXJTvj8X+fU2SFnXoJWRDS7oaphlHhHJfrNto8fJWP3TvgOYskHbihV3SOUbikEQs5miFOINDdithDmnbeYcNPR0tSxOzzY2cZ5t/DYlMxqRyVv5cU4wND4AgTHbnfD7AtIihIJrgbzRPMGbrL4MV865kPlZIbEkQjOYv7NbdlsFh2eaDwTosERSNcP23qJCq5AVZq6HcwegejJGShB+yXkThRVkbhC6siqSGASozsp1LCJ8OeUNG5jIEgsMMTGP4qPbX1IblNhkBdMNQoRWAxGZ8QNEG5klr1TtpoSx/SN+e8XLXNxd/kzxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QvwaopzCLJaMtYlQH7jSrjZ5kFiWrz+Wvoc2kdIZz1o=; b=AV0w68W8lqDaILJm/cv7lSYlo7gefer+U7xnGBPmH5akdYQTfnfnXL2sYa5ZVSH4dDelCzkCVqgGHziOh3ut3g2wfTMPisKNDs2DasLdI4dkvcCIJtY+L/5R/JhwadQUpyWk2jz7RdaW66A8VYMiE+Gy3tPyImbq+nk0CUcjsbQBruvpTUO+WtIGjSluFfl4bSQOZwYQtjx4q+VibiRRQ5hlKeVjp1tdX2qsELhz+MlgBV0gqktkE0a484bDDp/x33BMddEc4XS43hMX2cpjzAZXA9uNHYQcVR/AHIaNlG5ECnNTZf+mWM0InB1drlFUojND+6dIAkfFtRDKM1CRJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 195.60.68.100) smtp.rcpttodomain=baylibre.com smtp.mailfrom=axis.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=axis.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QvwaopzCLJaMtYlQH7jSrjZ5kFiWrz+Wvoc2kdIZz1o=; b=plEllcXYpkfgEmx5TQHouKfjhCCfxcaMCtUYjVHW6OAq/+AHL1lxahZeBmFP7Qy9qwMbEemz1Rrc16AQCdnXhJz3SIcuIMdhjvKkvh07ckFbH9Y7gpuTEP/p2kGUSbIIu30Dhc7ZNpqzdwzqVqFi5AgC47NFRTX8cs3NSABI4E8= Received: from AM9P195CA0019.EURP195.PROD.OUTLOOK.COM (2603:10a6:20b:21f::24) by DU5PR02MB10582.eurprd02.prod.outlook.com (2603:10a6:10:527::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.33; Mon, 26 Feb 2024 02:10:56 +0000 Received: from AM3PEPF00009B9E.eurprd04.prod.outlook.com (2603:10a6:20b:21f:cafe::8c) by AM9P195CA0019.outlook.office365.com (2603:10a6:20b:21f::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.49 via Frontend Transport; Mon, 26 Feb 2024 02:10:56 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 195.60.68.100) smtp.mailfrom=axis.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=axis.com; Received-SPF: Fail (protection.outlook.com: domain of axis.com does not designate 195.60.68.100 as permitted sender) receiver=protection.outlook.com; client-ip=195.60.68.100; helo=mail.axis.com; Received: from mail.axis.com (195.60.68.100) by AM3PEPF00009B9E.mail.protection.outlook.com (10.167.16.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7292.25 via Frontend Transport; Mon, 26 Feb 2024 02:10:56 +0000 Received: from SE-MAILARCH01W.axis.com (10.20.40.15) by se-mail01w.axis.com (10.20.40.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Mon, 26 Feb 2024 03:10:55 +0100 Received: from se-mail01w.axis.com (10.20.40.7) by SE-MAILARCH01W.axis.com (10.20.40.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Mon, 26 Feb 2024 03:10:55 +0100 Received: from se-intmail01x.se.axis.com (10.0.5.60) by se-mail01w.axis.com (10.20.40.7) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Mon, 26 Feb 2024 03:10:55 +0100 Received: from pchp3.se.axis.com (pchp3.se.axis.com [10.88.21.53]) by se-intmail01x.se.axis.com (Postfix) with ESMTP id 9C1F5150C0; Mon, 26 Feb 2024 03:10:55 +0100 (CET) Received: by pchp3.se.axis.com (Postfix, from userid 171) id 972922043B; Mon, 26 Feb 2024 03:10:55 +0100 (CET) From: Hans-Peter Nilsson To: Jakub Jelinek CC: , , , , In-Reply-To: (message from Jakub Jelinek on Fri, 16 Feb 2024 11:16:22 +0100) Subject: Re: [PATCH] testsuite: Fix up lra effective target MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT References: Message-ID: <20240226021055.972922043B@pchp3.se.axis.com> Date: Mon, 26 Feb 2024 03:10:55 +0100 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM3PEPF00009B9E:EE_|DU5PR02MB10582:EE_ X-MS-Office365-Filtering-Correlation-Id: 21c6e1e5-d274-4012-b550-08dc36702ad0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lAu4rFg4m6lv8CRLwDRubgWB4i6c0IR2CreLqX9+im6qFAxxUGWuEMR9YysD4LFsPVMA+btLImnEuv3ks1FTcEFuq2KUR8cFA+jecDODxK6eq2HHdfG/gK6Dyhjq8qJ5L6QwXuUhpZmupPuJ/et3nWZ5oQB3RWooY77xDY9ZW1lfbi2aUJJ6uhWckq+9rfyODR/A4TvqHHLE/+3Bn6IaN1mZEm8XGFlKg5dvx0mUGF+A7l2+Poz8rU0ANSwuxGE8tFj7U9DLzv//MYb/7PrKgBeKybur6s+KveItHpnVV3wWwl5uDfgFVEtpJAWMEP6p5Z7g6k0FPS52zAuY7eW+j+R1f+lDGvWleCfIuP8p0IbJZ0alILdzlrM32dEDnLXsJMtTBaSmy5+hQ3R4/P9L7U1bngPDuKJgMcAyFceNML4pNPRxczs3vGL1vbngoovk7iVTy2XpbuQXZqZFhejDoNbSSh1Ji1bmaRTZix+QTnnVgJfN6s874nK9zKi1nalOIhEYGE5URhzkwRivAdE2TF8qBQxbRlkatq32l65b8ID7N1nIJc0BAwmzI+lZfg71c89S9fiy2rK1zlZmFYnn/eIhv2xrP5XSa/owe4odc6BDmjotQkJxjnzydWo4nx5K8twTpqw3ZAiCERImOu8uEN608Nc1PVN6lltZbY8Jqsa/0FzZ7GNWMPXf+8kTE3Y+enArTI3V23vk/Dj5fwaE+kpU8JDtiH6V/nFzwfeH87pAsIHAWU5UpCpDUN4fsXFk X-Forefront-Antispam-Report: CIP:195.60.68.100;CTRY:SE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.axis.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: axis.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Feb 2024 02:10:56.2013 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 21c6e1e5-d274-4012-b550-08dc36702ad0 X-MS-Exchange-CrossTenant-Id: 78703d3c-b907-432f-b066-88f7af9ca3af X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=78703d3c-b907-432f-b066-88f7af9ca3af;Ip=[195.60.68.100];Helo=[mail.axis.com] X-MS-Exchange-CrossTenant-AuthSource: AM3PEPF00009B9E.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU5PR02MB10582 X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_SHORT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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: Fri, 16 Feb 2024 11:16:22 +0100 > From: Jakub Jelinek > Given the recent discussions on IRC started with Andrew P. mentioning that > an asm goto outputs test should have { target lra } and the lra effective > target in GCC 11/12 only returning 0 for PA and in 13/14 for PA/AVR, while > we clearly have 14 other targets which don't support LRA and a couple of > further ones which have an -mlra/-mno-lra switch (whatever default they > have), seems to me the effective target is quite broken. Definitely, good riddance to that list. I suggested a little over a year ago to generalize check_effective_target_lra to get rid of that flawed target list but was effectively shut down with a review request that'd *keep* the faulty non-lra target list. :-( "https://gcc.gnu.org/pipermail/gcc-patches/2023-February/611531.html" TL;DR: I based LRA-ness on EBB being scanned in LRA but not for reload (same empty foo), i.e. matching the string "EBB 2 3". I don't know which method more stable, but that didn't require -O2 nor -fdump-rtl-reload-details. Having said that, I'm glad there's now a generic, working (non-target-list-dependent) effective_target lra. brgds, H-P