From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2088.outbound.protection.outlook.com [40.107.21.88]) by sourceware.org (Postfix) with ESMTPS id 7426A3858407 for ; Wed, 10 Nov 2021 18:53:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7426A3858407 Received: from DB6PR0301CA0093.eurprd03.prod.outlook.com (2603:10a6:6:30::40) by DB8PR08MB4155.eurprd08.prod.outlook.com (2603:10a6:10:a3::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.15; Wed, 10 Nov 2021 18:53:45 +0000 Received: from DB5EUR03FT055.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:30:cafe::2) by DB6PR0301CA0093.outlook.office365.com (2603:10a6:6:30::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.16 via Frontend Transport; Wed, 10 Nov 2021 18:53:45 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT055.mail.protection.outlook.com (10.152.21.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.19 via Frontend Transport; Wed, 10 Nov 2021 18:53:44 +0000 Received: ("Tessian outbound 7129402754f2:v108"); Wed, 10 Nov 2021 18:53:44 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: bceb05ca01717084 X-CR-MTA-TID: 64aa7808 Received: from ef839111a5a7.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8580995C-CEE2-40C0-97E2-F603F384F9B2.1; Wed, 10 Nov 2021 18:53:37 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ef839111a5a7.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 10 Nov 2021 18:53:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d7L8iEcGG+m9+4gtf/UDNOy3aSNyxLMv6ghKDkQF7/5+ReM8REyXfZZl5Yg6VeGMdJMuoESvNlTZ6nLsYWBvshG6vxYl3wb49mjMeeA6X7JlLcnClsFI9qMEjf9teU4y0PYNCbxe+SOGmPiQbMFdcpxSmsHbeNhzA/UmNHGzdfstt7SvTdkzH8tZEB51d3Ncp4HYVa9BWIholxL/v3E7qJbymLRDICZbn7omoirLEpwuwuVPeg/eqeIoPsyhXlAMjLW6WdigKy/ZXSflel1CT7IzfU4wDBOzFK1Jrpq1lgdzV6ozUJH0w505JB4RUd/BR8/yahkQqZuWjuX1BZdm5Q== 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=MVearero5NZHxeRs1LYAoWgpE3JDqjgNdrb61FdZAU8=; b=PwYuG27PqyqCRAG5O1Br3NCse10swvsdO2XDfVlUlaSOw5M4Qru3OyVcjz5QskD5t1V88Gx2pf6ZutoRc4qwOl/rgufX0tUVEttVbAhbyCxHxg5LiDBmy9ZGpnWtA9b0G5IPjYaj6qOg/xB0Xsgt4NI6SMPzxcjwi971WXq2p8DDO80nR0mVyLjOkdQNiaJRxjLwf3VME+D8TrhL12EZX4gq5Ao2Lp3vLZoquDoMgmE6gW3a5nMojDffJt8GR8vV/+UqHqCWmDdhljDZ8wON9j+QZ8FMRX2AYNpzKhZQBTzUfEBS3WDFf7EWUvoHd9Z8CwPpTfE+hGcgmpsRMzGIWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) by VI1PR08MB3647.eurprd08.prod.outlook.com (2603:10a6:803:85::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.15; Wed, 10 Nov 2021 18:53:35 +0000 Received: from VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::31cf:ea55:2234:c50b]) by VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::31cf:ea55:2234:c50b%8]) with mapi id 15.20.4690.016; Wed, 10 Nov 2021 18:53:34 +0000 From: Tamar Christina To: Sandra Loosemore , "gcc-patches@gcc.gnu.org" CC: nd , "rguenther@suse.de" Subject: Re: [PATCH][committed]middle-end: Fix signbit tests when ran on ISA with support for masks. Thread-Topic: [PATCH][committed]middle-end: Fix signbit tests when ran on ISA with support for masks. Thread-Index: AQHX1inIUjp8727lmE+e90bJ/pernKv9F9CAgAAEK4Q= Date: Wed, 10 Nov 2021 18:53:34 +0000 Message-ID: References: <617e70fb-7250-d599-bf38-41899ed99e5c@codesourcery.com> In-Reply-To: <617e70fb-7250-d599-bf38-41899ed99e5c@codesourcery.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: a80b3f7a-0495-4aec-129b-08d9a47b6c04 x-ms-traffictypediagnostic: VI1PR08MB3647:|DB8PR08MB4155: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:499;OLM:499; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 04ojLTVfnNrM0wZVtbfV3r6Q90kx3q3ZYk7EaGDgyZWHzmGe7brPk1TWFGXNcsd0sZkqXC9DmIkiCzYXufkgWPtPtcYPaNFP/1jL/T3zwlVTnoAtKHEdlPgCkmImgekHI4GDprQybXy8XU4qFG1FVB+7xIGjJbWBTXl6ZXDAjgf1Qqolcpm6qicxR6ku0Ktpt0lNrA0zNxQE3zAUL0BMw3o1aRIMaOCswP/3jSy3hHhWdVNNLdpPbd1MesQQBaJsOp3/ylZLF68NnJS+x6dLAwsjTax/wIGF83pHtd1ntt027S+/zq3WMirW5Ap5vCW53SmtqtFgYn9Hx6KJDBs/vhWARj9op/Lu1IcTuwIYxEdjJttpdMukImJ4dfOuIRmj6YWRfqJem9SyE3FoVtMrq3f7HkpbbAEWEvsonjPd3cYp8l9gs9EmMVhDL9AQUsFGZroPiy5yvYo+eSlvQOH3evzbBJpxav9VIy/S11bSOkplSy3e9BBHxQmfHjTJRUn8juRAG7CqXUMT9FrAPTVGKvoLC86bzRAPb2BXvTQ658ZnCL6Wf6BkNyS34BA4pDJTQn2B4wcMqU0C5CEPg2RST9305tc9GZS4qdrtD0JjXMEEq9sCtR4nsPHxwFQ1HbUJSkFbtlNp5UaOXc8c8gSbv361U5Udf3te/Lmn5cpPxBRUvG1eD+WNHuwvl8YRRkscO8/NF8jViNrFTrN1YPeRfKWb88cce5gMaFWABeKFPwbdzfUELVaTzQ2Lh0INCdiQjbZs5JpEdT/5N13uFTq8FKTPc30XASLSTRGTZJ8tr2WpkfWbI5mOS24DgrciJN2aA3iVhbIxXRvWfmXXE+bR2A== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB5325.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(53546011)(71200400001)(6506007)(55016002)(38070700005)(9686003)(66556008)(66446008)(316002)(64756008)(5660300002)(110136005)(122000001)(54906003)(8936002)(52536014)(8676002)(86362001)(26005)(66946007)(508600001)(66476007)(2906002)(91956017)(186003)(83380400001)(4326008)(33656002)(7696005)(38100700002)(76116006); DIR:OUT; SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3647 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT055.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ca3277cd-9130-4218-a1e2-08d9a47b660f X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 00X0hgVP7kn7J4v9i7gfzX41qnsDz2duOsuWKtw2JPi3jqVJj71YPjnsGA/rUq2r8MYfW1iaB5btR9Zascpos/bnEpqQdv8fPA3+XEtElTQb4/BD9A/YYRagakmjyyH6Y3IsEVC8Hm92RaNINt8CJJavoxNxfxY5SwAumNub0rTxCP4soskrw9OgHxRCElmkGG7xicPcnYUsDH8TOc7psCP78QJ3mjWGR8FWhQ08KrxdSyFYaiTWTXdYmxd9SpEJkGY2hptz96qWxCxHED5wqQiA522gjer0oywyp/VHLwmRa6kSrQQdxZeIogaPUJvbkx6GSMkoZU1p4VNJDhFJ3yzwx0glluELXD6YWCDLCQVOb/vt0tM1jkTdVD1HN/3BWVK82hdCO5XQoxrQMsYag+U5/jaSyrbpcRJu+hAneaZh0kJyli5bIPSPPJVc4c/pGETzf4ZpzSW82zrzfbpJx/WzgYb0NrR1najP3wUDbmTSwWam+n1FcJE3E9HduUSB7AEtx4SkNQQ5RPx/lq0b+qgMRw2PDqbHHUOLxdPfShPifGAiXsoZD9F1if/Jo0sgzHVoX9Cz61rrIQHLi0TWRxVNvFZSW5cTU/6bR/UzpqTLnO/FERLdHfVGjmfzyyfiL6ynRIG0dUBEbov5i4vUY5fV3mLMc56hTG2PWQ0FcBPjibiYmpZK4W9hTzWALfQFq4Cx1utR48+2YTFGORM6rNELP2rEc7VdNFJmwy1zNOUZ5798tMqCKwARTq08t33HHY8MszMZjow9poUMe3GULwRuzFu3bgNkcWEI3NxhInTVYt/NAk/r7ZGVpjcxfcEsVxVbIiBMokUfqfHXxYocYg== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(9686003)(55016002)(36860700001)(4326008)(7696005)(110136005)(52536014)(2906002)(8676002)(26005)(70586007)(47076005)(86362001)(54906003)(70206006)(33656002)(508600001)(316002)(336012)(107886003)(81166007)(186003)(8936002)(82310400003)(356005)(6506007)(5660300002)(83380400001)(53546011); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 18:53:44.9704 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a80b3f7a-0495-4aec-129b-08d9a47b6c04 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT055.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB4155 X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Wed, 10 Nov 2021 18:53:51 -0000 FAIL: gcc.dg/signbit-2.c scan-tree-dump-times optimized "[file://\\s+]\\s+>= \\s+{ 0, 0, 0, 0 }" 1 That's the old test which this patch has changed. Does it still fail with t= he new patch? ________________________________ From: Sandra Loosemore Sent: Wednesday, November 10, 2021 6:37 PM To: Tamar Christina ; gcc-patches@gcc.gnu.org Cc: nd ; rguenther@suse.de Subject: Re: [PATCH][committed]middle-end: Fix signbit tests when ran on IS= A with support for masks. On 11/10/21 4:54 AM, Tamar Christina via Gcc-patches wrote: > Hi All, > > These test don't work on vector ISAs where the truth > type don't match the vector mode of the operation. > > However I still want the tests to run on these > architectures but just turn off the ISA modes that > enable masks. > > This thus turns off SVE is it's on and turns off > AVX512 if it's on. > > Regtested on aarch64-none-linux-gnu with SVE on, > and x86_64-pc-linux-gnu with AVX512 on and no > issues. > > Committed under the obvious rule. > > Thanks, > Tamar > > gcc/testsuite/ChangeLog: > > * gcc.dg/signbit-2.c: Turn of masks. > * gcc.dg/signbit-5.c: Likewise. I'm seeing this failure on nios2-elf: FAIL: gcc.dg/signbit-2.c scan-tree-dump-times optimized "\\s+>= \\s+{ 0, 0, 0, 0 }" 1 I don't understand what it is expecting to happen here. Should it be skipped on this target, or restricted to ARM and x86? Adding some comments to the testcase to explain the significance of that pattern might be useful too. -Sandra