From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2080.outbound.protection.outlook.com [40.107.105.80]) by sourceware.org (Postfix) with ESMTPS id AE9033858C83 for ; Sun, 23 Apr 2023 13:44:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AE9033858C83 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OWSsdNPNaimesLLBM1qacV4ss757JBbVJkMEqTus7H8=; b=b7aTxrTxCXheIKDBbtUze2hGfK+UqNSr3dTLBR3kdd37VTaXdC5LHIchsmmVEQeg5RYD6BCvtZV9QUxPRIGrphUH1yUgwmAnHirGSAUR6P69xYIkQ4Savh2oCIp2+FQQPs3MbUGxoIjLSUkcv4lDtXC1TeFINmazqhiRUA0H7sA= Received: from AS9PR06CA0046.eurprd06.prod.outlook.com (2603:10a6:20b:463::29) by AM9PR08MB6052.eurprd08.prod.outlook.com (2603:10a6:20b:2d5::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.33; Sun, 23 Apr 2023 13:44:12 +0000 Received: from AM7EUR03FT012.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:463:cafe::79) by AS9PR06CA0046.outlook.office365.com (2603:10a6:20b:463::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.33 via Frontend Transport; Sun, 23 Apr 2023 13:44:12 +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; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM7EUR03FT012.mail.protection.outlook.com (100.127.141.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.18 via Frontend Transport; Sun, 23 Apr 2023 13:44:12 +0000 Received: ("Tessian outbound 3570909035da:v136"); Sun, 23 Apr 2023 13:44:11 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 0018cce5bbb348b0 X-CR-MTA-TID: 64aa7808 Received: from e1aa651151a8.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 405A0377-78B3-4D40-8797-F2227C65C7CD.1; Sun, 23 Apr 2023 13:44:04 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e1aa651151a8.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Sun, 23 Apr 2023 13:44:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mIC50xxws/pzD225CDAcNLgth97CDOB3AtujGCG+CSadiImR5eNmwdlFWLXZqUKlpN+W1/hissWpd8YuMr2XJvjQClnXeEivHuCULzj/jIQG8yI6bPfgv8OXLEZWThczg37mnZduvaSxPb7hQZsdFv3GZ9X0tzJqHNS6vVsGT7FigqBBaos+YUkhP/JpWZ/IIqu6GTzq0IUZOvtM/Q4hw6Ua1oW/iEPhqiTK8ukRCD1zQNn0ktbRqCuIkwT9QxW0B0KOdnGlzzgKfckznIl2h5e1/QHqtiz3dCEbGi5BBc0gj9VII9Wz/cIh1p/ytTSpA02M+FvgbeK0InUcVEH2Uw== 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=OWSsdNPNaimesLLBM1qacV4ss757JBbVJkMEqTus7H8=; b=ZWd4V40QCziYJBR76OWr9YY0KDLIF1gb4cE36GQ0bSGGkhjw5jr4fUJal3aoZSOQkC5uFlM5rFgg8DDRzYYmmXuG09KKDrjioJfcQIow/mfomhdSfVM0Hpf/yH3hw3529bjZXurmYdb+ALEueO1YjwjS0SO0Roc5JHlfiHKSP0oZIxd8LlKtqpAj7QsOyX2P8pGGzrxTrEHgoBknmLQTIxKyItO1rEIGSUg77LaIW4nK6/tpuMdnVcte1l3NqY0B8rK0JMsH5Kz65+4QtTtvgvrQel0ljFIR3+b6xWR6IzIQa5ORgJM8WZdwgRNAykXIFYEgtGFDqKdFAyuLbh6k5w== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OWSsdNPNaimesLLBM1qacV4ss757JBbVJkMEqTus7H8=; b=b7aTxrTxCXheIKDBbtUze2hGfK+UqNSr3dTLBR3kdd37VTaXdC5LHIchsmmVEQeg5RYD6BCvtZV9QUxPRIGrphUH1yUgwmAnHirGSAUR6P69xYIkQ4Savh2oCIp2+FQQPs3MbUGxoIjLSUkcv4lDtXC1TeFINmazqhiRUA0H7sA= Received: from PAXPR08MB6926.eurprd08.prod.outlook.com (2603:10a6:102:138::24) by DB9PR08MB8506.eurprd08.prod.outlook.com (2603:10a6:10:3d5::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.22; Sun, 23 Apr 2023 13:44:02 +0000 Received: from PAXPR08MB6926.eurprd08.prod.outlook.com ([fe80::db73:66ba:ae70:1ff1]) by PAXPR08MB6926.eurprd08.prod.outlook.com ([fe80::db73:66ba:ae70:1ff1%3]) with mapi id 15.20.6319.032; Sun, 23 Apr 2023 13:44:02 +0000 From: Kyrylo Tkachov To: "gcc-patches@gcc.gnu.org" Subject: [PATCH][committed] aarch64: Annotate fcvtn pattern for vec_concat with zeroes Thread-Topic: [PATCH][committed] aarch64: Annotate fcvtn pattern for vec_concat with zeroes Thread-Index: Adl16Zg87Iz28wASTs6TQaZZRsxxdQ== Date: Sun, 23 Apr 2023 13:44:02 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: yes 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-traffictypediagnostic: PAXPR08MB6926:EE_|DB9PR08MB8506:EE_|AM7EUR03FT012:EE_|AM9PR08MB6052:EE_ X-MS-Office365-Filtering-Correlation-Id: 96db0a06-bc9e-407c-1bfe-08db4400d252 x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: ffMzAfZ1XqRfxGGi12BPYjKjZcRomvpakPuLW4+zLHIrwJFKh3pDS4gkeeNWhlUx0jxeQ2wLkr+HaxvWqrgm0J1lu4LBwELG1d6TKYFL/qZYoI23yT1K8oXzyr9HcuA8IeRwE37StL/rcneHqYMGmKVvbQBbFSxYXJ02nc3yVEQb/fTnsWbgaaTLAcJmxD/pYU+OaafgM8IcQi/fjuHzthQhdWBaWmRzkj0WV+rjFirN/k0SZ41+EFyz/gGWhmdVEHf6aGO65d7B3oD3GuoLP//Op5C0xfQMEWrdVoxNhR+AEJ1YA+fomFfj6IDihYMkCQLzMdWPbYXWZFvUVTuf4mSY+qm5zPoXWq2hfu34G/6XPSCOHohRullrhQEPjy+AoDV6RRBKXgnmA7IzuZl8yf4WOqWdRkRwT+LE/0ih1MzIIg62cQMdPNswIKn95x47zUpcMTGmnAZu5gnbjMY/vdDmskPAsoqXOtzeWK0pUjMBLx4cuaFrIJDoDIwZg9EV7qrrngkStzvUVXEKsQpBimhRBcwLuZQqfKYH5AyRQKQkvlJIXOHJNVgKHvVoqg7JWw9A/s1nPSYI7tBwu17OQj2Ey6DlFO0GOxZARcGZKpk= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR08MB6926.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(366004)(136003)(346002)(39860400002)(376002)(451199021)(86362001)(33656002)(55236004)(6506007)(9686003)(26005)(7696005)(478600001)(84970400001)(71200400001)(99936003)(66556008)(41300700001)(38070700005)(66476007)(316002)(38100700002)(122000001)(6916009)(55016003)(76116006)(8676002)(66446008)(8936002)(64756008)(66946007)(186003)(4744005)(2906002)(52536014)(5660300002);DIR:OUT;SFP:1101; Content-Type: multipart/mixed; boundary="_002_PAXPR08MB6926A5DA227DE8E426B5D53C93669PAXPR08MB6926eurp_" MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB8506 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: AM7EUR03FT012.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 290e8a6a-604d-4ff5-9707-08db4400cc80 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: t1OdwF06fs9ZJNjFewqdufLJt/q9zg5551u81+fwVhHsr/e7iPevHCc94L5ZP0lujlwLOXMWHMpZRv62JnNgqT/clRmtecUaKsMoaEsw5uqK/3rkvyKE+lWHEAcV1QynMIkZShmzAwg5shshkGBZtQ2D3WDu5UEXBrOr2WswtN6LUUxjrJL2eFdR/2nf8X5VU/cS3sN9GVJ6tAZ8K6ER91RC4gP9TjTE64hPrKAIWGi39ILMLJqoo8Pou+vB3kET+cMGXcXnh9o0qKJPEbemBPvS8lQ1IaTLMzS0T9MQ+GtOhRVpHzbAGnzJB8EJSpGbif+bvHjJrtlg8uPScZ2llxbwI7RJJfL2tp1zXMoqQiwdpDRtaA9MpeAUqT2j7WvLiWP7MFtwWk1z+Qy4NtaSqR/+Lav8UeBVsGu7pPhMg2L+tRar8qKukvzZQSEt1KdI35r+HR3XBD6JkkqoiZ6xTFcFj/uO2jzY9qW3OvxsRMobD1sis8jjXA0+i5Luw3Wdj7A1TC3lSJ8kJDzzjELihKssK2GGO7DF8FrGigfpKLz+hewSZnSi2YfRb+vEQrwMlXyWWfJR4a/eF2ESAASGOkFw47jmSeuTi+tGAxD6I4m9nYU+Po2s84sl6m8ig6mQMBzAcppd8Srf+j+zVJSZn8zJp9gtdtmxeawQ9CWL5eE= 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:(13230028)(4636009)(136003)(39860400002)(376002)(346002)(396003)(451199021)(46966006)(36840700001)(2906002)(70206006)(70586007)(6916009)(316002)(52536014)(8676002)(8936002)(5660300002)(235185007)(41300700001)(33656002)(82310400005)(86362001)(55016003)(40480700001)(356005)(9686003)(26005)(186003)(81166007)(99936003)(478600001)(7696005)(84970400001)(36860700001)(47076005)(336012)(6506007)(82740400003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Apr 2023 13:44:12.1717 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 96db0a06-bc9e-407c-1bfe-08db4400d252 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: AM7EUR03FT012.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6052 X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,KAM_DMARC_NONE,KAM_SHORT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --_002_PAXPR08MB6926A5DA227DE8E426B5D53C93669PAXPR08MB6926eurp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, Using the define_substs in aarch64-simd.md this is a straightforward annota= tion to remove a redundant fmov insn. So the codegen goes from: foo_d: fcvtn v0.2s, v0.2d fmov d0, d0 ret to the simple: foo_d: fcvtn v0.2s, v0.2d ret Bootstrapped and tested on aarch64-none-linux-gnu. Pushing to trunk. Thanks, Kyrill gcc/ChangeLog: * config/aarch64/aarch64-simd.md (aarch64_float_truncate_lo_): Rename to..= . (aarch64_float_truncate_lo_): ... This. gcc/testsuite/ChangeLog: * gcc.target/aarch64/float_truncate_zero.c: New test. --_002_PAXPR08MB6926A5DA227DE8E426B5D53C93669PAXPR08MB6926eurp_ Content-Type: application/octet-stream; name="fcvtn.patch" Content-Description: fcvtn.patch Content-Disposition: attachment; filename="fcvtn.patch"; size=1453; creation-date="Sun, 23 Apr 2023 13:43:21 GMT"; modification-date="Sun, 23 Apr 2023 13:44:02 GMT" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2djYy9jb25maWcvYWFyY2g2NC9hYXJjaDY0LXNpbWQubWQgYi9nY2MvY29u ZmlnL2FhcmNoNjQvYWFyY2g2NC1zaW1kLm1kCmluZGV4IGMxNDVjN2QyMDk3ZTg4Y2Q0MDkwZDA3 OTE2MTQ1YTE4MzU1ZjNkYTguLmRhZmMwMTM0ZDJmYzhlMjcwMDMwNmY3NmQwODFlZjhhMWU0ZDU0 ZTMgMTAwNjQ0Ci0tLSBhL2djYy9jb25maWcvYWFyY2g2NC9hYXJjaDY0LXNpbWQubWQKKysrIGIv Z2NjL2NvbmZpZy9hYXJjaDY0L2FhcmNoNjQtc2ltZC5tZApAQCAtMzM4NCw3ICszMzg0LDcgQEAg KGRlZmluZV9leHBhbmQgImFhcmNoNjRfZmxvYXRfdHJ1bmNfcm9kZF9oaV92NHNmIgogfQogKQog Ci0oZGVmaW5lX2luc24gImFhcmNoNjRfZmxvYXRfdHJ1bmNhdGVfbG9fPG1vZGU+IgorKGRlZmlu ZV9pbnNuICJhYXJjaDY0X2Zsb2F0X3RydW5jYXRlX2xvXzxtb2RlPjx2Y3psZT48dmN6YmU+Igog ICBbKHNldCAobWF0Y2hfb3BlcmFuZDpWREYgMCAicmVnaXN0ZXJfb3BlcmFuZCIgIj13IikKICAg ICAgIChmbG9hdF90cnVuY2F0ZTpWREYKIAkobWF0Y2hfb3BlcmFuZDo8VldJREU+IDEgInJlZ2lz dGVyX29wZXJhbmQiICJ3IikpKV0KZGlmZiAtLWdpdCBhL2djYy90ZXN0c3VpdGUvZ2NjLnRhcmdl dC9hYXJjaDY0L2Zsb2F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