From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20604.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::604]) by sourceware.org (Postfix) with ESMTPS id 25DB3385840A for ; Thu, 11 Nov 2021 13:24:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 25DB3385840A Received: from AM6P191CA0013.EURP191.PROD.OUTLOOK.COM (2603:10a6:209:8b::26) by AM0PR08MB3364.eurprd08.prod.outlook.com (2603:10a6:208:e4::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.17; Thu, 11 Nov 2021 13:24:36 +0000 Received: from AM5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:8b:cafe::71) by AM6P191CA0013.outlook.office365.com (2603:10a6:209:8b::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Thu, 11 Nov 2021 13:24:36 +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 AM5EUR03FT011.mail.protection.outlook.com (10.152.16.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14 via Frontend Transport; Thu, 11 Nov 2021 13:24:36 +0000 Received: ("Tessian outbound 7129402754f2:v108"); Thu, 11 Nov 2021 13:24:36 +0000 X-CR-MTA-TID: 64aa7808 Received: from cc2883c8cf2b.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6872A52B-D045-444D-A873-F541EF046415.1; Thu, 11 Nov 2021 13:24:30 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id cc2883c8cf2b.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 11 Nov 2021 13:24:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=adEolO0hIzjKoSprDt269Fy0zx6zr+D8MV3+oZOsglUGYR2DYjZ7EgKvYc937ymfZwvuemAqki7fPTaqpeVPV3GvNrDYewVpgZrW+qHS3yZsJNqSzQ77MfazxcFAjXRXg8QgF9C71ljZGFLlV0b0XtMsW2fztexVLNbNg0jSNqpzxwFlMD+oXxbxvvEf7hb0gRv3UJT57a323e45ShIJQOpRdaxslOl9G7ycfmZNWsYefyChIhsTtHoYe06ZHjaPk7V7iMpwnSEfSRD8pxEjx2JWwGkwpGqbMXz8Bz+lPnl6dCL95AMh4hHs76IMHi8gfJOX2x62x8ayU05QQ7iVnQ== 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=Lwj47D99mGUfdwGB4wBKyqv3FT92+St5BTUEZGBLtqo=; b=j4O0ToUOzniJQg4V7dxSQZdU7Ylv21batJt/btzf5DIpQArEjX7MSmazZP+8+E7/jmkFWf2Rg2Aupgaa1Oee3NyyAze+Fz+8Go1X/4SYj3gppwrjW5G0+uslwLCtOdP3+xXljSE+HBlViIUJ+O7QYJb2elW7SOvKNkwV+3otFrge20Ak0e0dqfratY/lsAxp+/3W+0/AA2hIDydmDK931++VgVsKu30Hk5st5uQTsQXObyEL0wv0WwbFah5zVd7IAETaU9hzxiRa+Qk73mSJotaYfkx0m5qr50GtX8nALDbpMuLoOXqmV9dGpq0/uBJE9z3Sn0mEad4b5VXZK3oxgw== 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 AM0PR08MB5316.eurprd08.prod.outlook.com (2603:10a6:208:185::14) by AM8PR08MB5618.eurprd08.prod.outlook.com (2603:10a6:20b:1d7::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15; Thu, 11 Nov 2021 13:24:20 +0000 Received: from AM0PR08MB5316.eurprd08.prod.outlook.com ([fe80::1096:1244:d709:fbee]) by AM0PR08MB5316.eurprd08.prod.outlook.com ([fe80::1096:1244:d709:fbee%3]) with mapi id 15.20.4690.019; Thu, 11 Nov 2021 13:24:20 +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/pernKv9F9CAgAAEK4SAABOegIAAB4zn Date: Thu, 11 Nov 2021 13:24:20 +0000 Message-ID: References: <617e70fb-7250-d599-bf38-41899ed99e5c@codesourcery.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 943189499183B64DB803A870FD9FFC36.0 x-checkrecipientchecked: true 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: 8f3de715-4e1c-4330-ed95-08d9a5169b9d x-ms-traffictypediagnostic: AM8PR08MB5618:|AM0PR08MB3364: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:1013;OLM:1013; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: G3BmU1h7WBhsEj4W8DFTVveyjJ/m61DOXXKK3o0NOoPSsY7KRpsANg3u5quho9rXmxEJmTAS0Om2hYa4M761/Iau2z6X6GbZuNZwkkUM0LF9f2IrbvGlGsi6y8WPgr0gTYoFHzFcNXXl8xV2CiRuolML57q2tD1LUxvGtweRACoA8OzGgrDvgIYbXvNnAG3v+O6e0ByE/NPi/VXP8yl2jbGh1cjDIA6iKOAFYXt41P+lTMhG7uaItI8O+X4MeeCh7Bpcjf6zvAOuSwNa2okBSVDQ6pA1817t3k8GaKCrBWOdbH33QBh+SJaQWO/c1CIKkkD/7d0jvj/a0p9hermsHUOEnE6xrrSBS8bizRTE0C2OJvMUBRABg27dRds+K6p08tmK8fqQeaDPSPRGk6zliT4AOkO8RhbVYNS5Rdhup+p3wXRgQ1IoRi0yMkp0eZKx7z9/1PQKCJfAi2oNsj+oisoyeckzu/0Cxd2a0Z0kDrvBwZWeZtVHHG2H/zQ7N2WE8EGxal6vl+VJJZpNNPO96e2mrwVaDrdmtP1lbaHYu2SCklCvDMSxaYqJRL/6DJ/7ILlqnh3RDj3rjIqL4G+xIIJfEeY0Q8Hlifn5ni0vtr0BaVfbvJr5LmtLMNn4Sgrb9/wAAbMFeSNsDURJa11BYdzsLIO6BIm/vHCy8jDe6u8TEZZPDKNwjCZTc8mBqgSyWXc4kb7jtQgPHYUxg2/xc72Ta+NulhR03d53wZQoDULAeWea0oBrcaF/N/FmSWKgFOBJxcNTRlcSC4O4MDNXcgOzH+zlz+aTrmxdcmbJ7zU= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR08MB5316.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(66446008)(9686003)(55016002)(64756008)(66476007)(53546011)(38070700005)(33656002)(66556008)(76116006)(66946007)(6506007)(26005)(52536014)(38100700002)(316002)(54906003)(110136005)(86362001)(4326008)(122000001)(2906002)(7696005)(8936002)(8676002)(508600001)(5660300002)(71200400001)(186003); DIR:OUT; SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB5618 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: AM5EUR03FT011.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ffeab560-84a1-4ef3-a095-08d9a516921c X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ePRlLCGfqM3HfiNEW/jIvqXA5UQC6QEFEKgS5xIR9KdJ5F/aUERvxLXsvrDyHFxuCAmCM25FWNRazlc04hzL3IV98x3seI7T2kXWI4Q5Yp5EHh/5DL+eAv6OPlLqfvZcB/dNEvl0N9WMzhjXj581a+8fDar2VNcyfxNRlV6Gu+/zWwXe57GrxhisfHKvp4t5V4Ooesc1daNtTavOjOKMIk5f2CfhFIMysLEvk0KQYuDxe5bwBuRK+VQAAS0XCqQzizzgiXwsT/V7SVOacuuNi7Ox1Km6LqNg91ygpZMJAhbhs7p1n+343mnD0JILBFI11QIanqQS7hOpDIpUvFtR2fq+dgQ1XZkV/y2Z9VC/CsTl0epvZQ8CMMkXSMh9gh/L03PllcIdNLKr/2w5yzAMxURQjl3UgOzTKaKVAxwNO7HbyGuQlgRUVjJdKaCMNWhP3ng6x9oliu7jiO0Pg3VFgvInA5bJjasYrZxzINF6ULtOJYx2BbIyNazLxhJ3Qg0knbawEXxdiSbTu9b5m7os9xDP+XQNH7lRwXyYXtsfEunw19VZrCZeW/BhPE2QhURols9X9uU3Y0jNU5nKm54oXVd0J4TT0thqZsMphYoH+uYGOOJqtuYrcBI7ewqIEBRb6H6bzWo8Kw/3scLlY80WTB/clMSJMZHi3yalg1cLvLof91SUw3MAzRajAFtLifNapAas2T6VgXToFb2uwTk/eICAMoV9FZw9kK+TpJWuB0D7VmJMejGmygp0w/B4hSpoId2pwgWnHy0gwtDhsf2rDYIAhg+9OzMyDvj2C9h2KtI= 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)(36840700001)(46966006)(33656002)(82310400003)(2906002)(26005)(356005)(70586007)(5660300002)(316002)(54906003)(36860700001)(52536014)(110136005)(86362001)(7696005)(186003)(9686003)(4326008)(8676002)(55016002)(70206006)(53546011)(6506007)(47076005)(508600001)(8936002)(336012)(107886003)(81166007); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2021 13:24:36.6288 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8f3de715-4e1c-4330-ed95-08d9a5169b9d 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: AM5EUR03FT011.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3364 X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, 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: Thu, 11 Nov 2021 13:24:42 -0000 Ah yes that particular test checks the vector code. I see that the function wasn't vectorized but that the scalar replacement w= as done. _15 =3D _4 > 0; So the test is checking if (-x >> bitsize-1) gets optimized to -(x > 0) I see that the replacement was made on the scalar correctly so I will modif= y The test to check for either the vector is vect_int or the scalar replaceme= nt if not. Cheers, Tamar ________________________________ From: Sandra Loosemore Sent: Wednesday, November 10, 2021 8:03 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 11:53 AM, Tamar Christina wrote: > 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 the new patch? My test results are indeed from a couple days ago. But, I looked at your new modifications to this test, and still don't see anything like the pattern it's looking for, or understand what output you expect to be happening here. Is the whole test specific to vector ISAs, and not just your recent changes to it? I've attached the .optimized dump I got on nios2-elf. -Sandra