Message ID | yw8j4j6u8j3r.fsf@arm.com |
---|---|
State | New |
Headers |
Return-Path: <gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 41EBD386549B for <patchwork@sourceware.org>; Thu, 5 Sep 2024 11:01:04 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on20606.outbound.protection.outlook.com [IPv6:2a01:111:f403:2607::606]) by sourceware.org (Postfix) with ESMTPS id A93593860C34 for <gcc-patches@gcc.gnu.org>; Thu, 5 Sep 2024 11:00:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A93593860C34 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A93593860C34 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:2607::606 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1725534034; cv=pass; b=sFSIAncmn3Saig5vxkX2bdyJwkK130Kj0iUH812N80PSDa4CjmJGk/T94Jqd/iZCu1970ZQnoKtqP//NuQzjMtCRRqHCmVO66Yg8gVy2lTMr9yDnGTbcyNfrbpxW0Pwan7GyUfYaEI9f9ZdqZg0duUidccSUt8P7r3PkFAMPW/o= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1725534034; c=relaxed/simple; bh=oFKaP9XvJXnCyX8v6vG8E9E97JUOEZixaDAwNsbwEls=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Message-ID:Date: MIME-Version; b=ZmHpGVo9Xemw0yScIzBK5/YyGz+4xYWexICuoWmhj5N6JQowVhPXDlUDQsIF3d0wfqnuMQsaCphmRKUBx9uNJqfs0vmp48YtaxRdlbfcI9t3l4dhw9nfKsLvY0Z5umOMnXAICtN0ZtLldoFP/jcHBOo397DZEsQkukswP++Xj3E= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=arXz20CFHWScSeQXRvLurtzRBWxSIxUfd9G9IiEkdz6x41q4HrsuFrWoGHJglR17AdMvRtGb8ZZUSE19HSf5fqgXT3Kn242JJABEvZ3pSkp4x/jN5J0ioXFPlSErwitrMPOokoqnoPhwRZV0lBHk9Y0d4rzBe0tiPalGRSdjKtBtbRJYyaXOUjunkpEDHKtawPV4VofyaHoYG+lyL8wOKsPE/CPiXZEmqyBgnr1D9lXzXovcs2rmCShv0FWhn9CBMM39/WCTeb+MLLGWdIrTG7bDePCWHJvjysLValNVBTnVNNIoFdsTQUggTNt2s1YsMfTXReN9eq6HU8CXiw2wjw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=0WS0EN0EW5FmkekSslb/Ja2icVpttTc/kbnxNTFGzQU=; b=Q6wE5Wb9DTF9792xoX9WdTUF7aKwwuvF433nJZ57cZa4TqSAW/8t4QYR1/Hu3/FSkzlmJARNnWN65cr3Umpv1sF2gazuGDkJg75NbT84Xl672HJCEguNROEJzZRubCvPBm4zlkep3FGbwSIRPHSCK9S7UAl/lqL4gtGpFT09I7Pvn3UG3z4yucBYPt/lOESpcNJ668oKHmFtHu4rbFVN01zznryEI+N4sWDse6YzQd2nXuuuguVWhQh0RwJ4VwjqP7S6UIhK9hHfS9rHVbJhlIK2+/vFz6jNNeEKZfUWF/Al+ul/PyR910n/1JHFSs6Evh8+2Ph27H8gVVOh0Uj7EQ== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0WS0EN0EW5FmkekSslb/Ja2icVpttTc/kbnxNTFGzQU=; b=RMo42k0ktWGaa7vBOuL36LbLNdhKa1yz7nYP6JGufux2x/46sHH+Xne8moGC6Px/p0fDYjNNG59j9I/+T+RM630FBftrZN97Oj1OWLKQ6rPXy5gZvxQoft4Gc7fR0DIcZPqJ0Awj5aUSAPLm9+1YfT8hdE38cV/23dwUNNHKjIM= Received: from AS8P250CA0005.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:330::10) by AM8PR08MB5698.eurprd08.prod.outlook.com (2603:10a6:20b:1c6::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.12; Thu, 5 Sep 2024 11:00:24 +0000 Received: from AMS0EPF0000019D.eurprd05.prod.outlook.com (2603:10a6:20b:330:cafe::cf) by AS8P250CA0005.outlook.office365.com (2603:10a6:20b:330::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.16 via Frontend Transport; Thu, 5 Sep 2024 11:00:24 +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=arm.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 AMS0EPF0000019D.mail.protection.outlook.com (10.167.16.249) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Thu, 5 Sep 2024 11:00:24 +0000 Received: ("Tessian outbound 960f841084a9:v403"); Thu, 05 Sep 2024 11:00:23 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b803e902307eb809 X-CR-MTA-TID: 64aa7808 Received: from L9e5c04b8c50d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6F32C4F5-B5B8-4BA7-BB24-F00EB6F30AFA.1; Thu, 05 Sep 2024 11:00:16 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id L9e5c04b8c50d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 05 Sep 2024 11:00:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KV/XiwRMML5DxJDdiqpeYZbTmyoes2g8OLOfJALnPtLEBN8AtQqIdTvZJ5c5tEvZksWtj5+ZVHWCHrL/3Df/rvqew4C4SrKHCL+5TAKP0Y7I7S00a4LiFzcVDur5EchxVVYoRunRyJFMmnviTIOwUwIR31lYNEKB5Dgf29ZJgW0Nnn2F3z8a316TDNk/f/urfAvRgzUuayZv/tT4dzmuFxSnQoSP0gOh2I5NatAviS8TRXGxsxqU/uNY8sl/LormOx12nirJ68Cm5TGvD8OnwEvmUWKTy8SGZO4089rj1k4X9Ngvk3+OQAEyswrGJwyTpzYqgfX/A4ow12Y9O0Bv1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=0WS0EN0EW5FmkekSslb/Ja2icVpttTc/kbnxNTFGzQU=; b=Cdp0C5s3TZRlwij+JeJ2Q4aMXPp1Jr1Voy9o4S48Ctx4CQ7rbyATBb5rPvC8A1vHapXLZzY0yHQuZAr1tp1qhDtxCXn6PAMlkOFFB6AMAk3Z/K5LzA7L4QVJ0cLCY83Ma26sERqQyLSFxRbjpEyzzxd2PI6T8IQ8ivyxtbOd6/bsEEozlbT0fwYpYEKJO6C7CQrLUncLtnvAI633WxEo4G/VPTsU2ZfPc1k0l6Qw+w9MUa9aRhrpdM7NxoDIsKo1aL2ohK7bQdZTmxmWGh/oLjYZLi71ZFDgeeYy7mstYlLyi5+9q3Owa/yj9PMOsFeChaGHjn+8qc+nkNf67heRgg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0WS0EN0EW5FmkekSslb/Ja2icVpttTc/kbnxNTFGzQU=; b=RMo42k0ktWGaa7vBOuL36LbLNdhKa1yz7nYP6JGufux2x/46sHH+Xne8moGC6Px/p0fDYjNNG59j9I/+T+RM630FBftrZN97Oj1OWLKQ6rPXy5gZvxQoft4Gc7fR0DIcZPqJ0Awj5aUSAPLm9+1YfT8hdE38cV/23dwUNNHKjIM= Received: from DU6P191CA0066.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:53e::6) by DB4PR08MB9285.eurprd08.prod.outlook.com (2603:10a6:10:3f2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.13; Thu, 5 Sep 2024 11:00:07 +0000 Received: from DB5PEPF00014B92.eurprd02.prod.outlook.com (2603:10a6:10:53e:cafe::6f) by DU6P191CA0066.outlook.office365.com (2603:10a6:10:53e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.16 via Frontend Transport; Thu, 5 Sep 2024 11:00:07 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by DB5PEPF00014B92.mail.protection.outlook.com (10.167.8.230) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7918.13 via Frontend Transport; Thu, 5 Sep 2024 11:00:06 +0000 Received: from AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 5 Sep 2024 11:00:02 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 5 Sep 2024 11:00:02 +0000 Received: from e133397 (10.57.74.26) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Thu, 5 Sep 2024 11:00:01 +0000 From: Victor Do Nascimento <victor.donascimento@arm.com> To: <gcc-patches@gcc.gnu.org> Subject: [PATCH V4 04/10] arm: Fix arm backend-use of (u|s|us)dot_prod patterns Message-ID: <yw8j4j6u8j3r.fsf@arm.com> CC: <richard.earnshaw@arm.com>, <richard.sandiford@arm.com> Date: Thu, 5 Sep 2024 11:59:54 +0100 MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: DB5PEPF00014B92:EE_|DB4PR08MB9285:EE_|AMS0EPF0000019D:EE_|AM8PR08MB5698:EE_ X-MS-Office365-Filtering-Correlation-Id: 3db6a923-dc1b-47b3-c891-08dccd99f159 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|376014|1800799024|36860700013|82310400026; X-Microsoft-Antispam-Message-Info-Original: xpw6Rwpack2sbl501XWq0kO1NhbrF2/NmseFyqiVqWO+gnEUyFYJRJAtkZAwU1b9w1EDs4+7y6FHRqiacWsaCi6zbMu1xRfD088ArB5iNVzUwDC2eH7WNzAISsja+cLmRD0LnilPVMLhwBUQKjmoYxzTy05yU+GhJpXwIfnrvmkRstj/xJcpoTQnrGzOZ2AaeUunmjQI1Cf5ibLxc1+sAvGHkIILpLKtyzf/6Ad2d/MN0gZzawXsdiP9L+p7aFdxtxz7PrtEylLDTc+qYdvfyGQYLR2UHcg4XwBveP8Hm88E52m1GgguxYLpZfITEDa5tjDtNF/7hHxEXuRkoBA/gsjE7iDp3nNNStDZOB9yqv4tIHtSLRa87XwUH64wnnDmGdIxyjVZ3q1vKRTQ5l04uRaIEEGrGTe335c8UV4bti+/SiqTEvBWvRaSXGYunWfRyD45dcFtdPpDkLLmRo3Kx+3QIBOgWmhSnZrlo/K0tG/N6OinV5FfTChfWjmNI4pf5/JUZllkABKJQurv6RUU22XcaqLUDFVWFhQxdu6YdojBd+cWtg8V4n7ttVCGhI+onYd+rX6FRHrkkUk4TeLzmv4PPgITYb+y0hza7oUk0jLOF+z7tHt4USG0agbmretZDuboFeOOZgiM3eD5R3lESJDeSgMLHn8yv2rt0h0msvmh7rkFB2WJQGVcJ0ccCr6Mu2A6V3YmgOf5mXUea8B/tfjI/6DVtPgeZ6IsNM8l6s9KBJp6qOiPKavO6xE3laMGTtXVGNlsIHuPGbANzFAUqz3X5N1hfSBv6LOjmcBBqPvTCvrpuont9Ncuvf6Qjy3Nv8OWqF3cWun5QDubbJ2uzfmnzQkMzbEtOivDouDwcIlAC8QKjbht6NKIkSs9z/qj9aiz0QA0fxDjVZYXtvjgmpP1/AbOdSP8poeoQMYZLY0LQi0tyUfRY0Yv6MbMiheaBWt15weNxRGaTwFhlotgvMqWn8PbRf+eKQ1XuKd1ipuDFoyf+7XOJ/DbQD7XF8uzSkoMFsAuncNLwPZOGy+bWXIX6YHDXpNJda+lkdZOP/y6HVXP+5fgfTRJB2ITJB341yDJU10CvYQ6qERp8mdOVOVb4uyE325RO9eKgrHIhxgDvvxY69cGnX/RQmuz3oiYFXBDK4dTlO1Znew9tV5Vd6Pslv6ZSaJWfJaq3eHmfAHjWTki5bFra0ou3OaACieOprZ8j4Ey+K3a3YOmlPObndxCYjpsqeQvbyO3mF6FGbR7chlOvFp0EVMJ7tKn88Ms4VQkOAEMa/Qt4E2E2cgw8OA1NTem/cHZIX5yxXho+vAvoU5FkCQKS3FVyaXhyBE2xyZhSkVCBf9HaBzrwzMo/maFSknLDUNHQ6G6QzfH/TQpiZyxS1lxkPgO9sWpbUnXh9d/YHNwr7kw8PbMgduL1OPTh/XGOmn9pNlZsMM4Ce46xco7c5cfH8YIfeuy5voN X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(376014)(1800799024)(36860700013)(82310400026); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR08MB9285 X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:10:53e::6]; domain=DU6P191CA0066.EURP191.PROD.OUTLOOK.COM X-MS-Exchange-Transport-CrossTenantHeadersStripped: AMS0EPF0000019D.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 1a65af38-3446-4263-91dc-08dccd99e702 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|1800799024|82310400026|36860700013|35042699022; X-Microsoft-Antispam-Message-Info: DtWIfwPEu9jM2td6IkuS0K6PFWCAMV5oGqQIbHjkoIazl/sVyNX2iqYl6LVcWK+9/AtQ1HabldQlg1gUb9zpa7pes7Sks0iIgdx7kA0tRD3EolaOES/douY4M/Rs5ZdEIWLc6PgpMBAG5VPWmGglsac82MyfaqRX3Kr/FN/zinfAdoH8ylztr6n5WKJaP/YkRTxTYKozM5LsfXTy8tvLEvO9msRWvdusNlMsi/jf/RHgLqxhh4UVk7B67xXvz4dcrhSEX4KrysYKHunnpQig2zoWAgNPynNdaBK2yapcpuk/M5WwD3vcQSCZRTYi63cmXvH4fEi6+MtlBAns02s6KnSrc+02aO0sJb3734io0igf6ivtDX7GRUqRnkYX1XwwVosiDLKoSCD0XxCu5FTh+uGOwJRHE2Dt+Yvg406vEI90le/fXXDiZ1qx4KnVrEBkEfrDL1NJj2YpEoPY/w7c2udAOOiffVFtGW7FymzIdjbvSpe978xoJ5yQkhTYlAxzNzYib04jDzxuRAoUTjBVzY9/iN7TOEBlWUbL85eDuIltSHR7LMLn0yMH30QRCQB0aR9m90G9Fpp6kZBY3JO/OLvMgRdbn5aUIpzlTAZRCZ1oa+dluwUu7xO08aD7KYbqh9Pbu4XRl0k/wicnkYBa1cldRp/94zvrCxBHcflclgw9awPTQ+SH/ZH6j72u7mZtUYrRMQ8mwjYXN+m+MylcCu/YT/fAGm+qv6YZLhPlI9WuJBKMY55kKxasSZL1tJmhv+AAcgLKuB8U9wIq/kWz7Rr1wfpSXjVkG2IEbsG9TQKAwakQo8d8jVLcbB4d0DT3K940cq04Fzr632EQTKHJRhejabDSJCYQFwZ97suJsJeFGKy9S8vrPXVFQ8FRVzVTIZNm44DvvvpjLqrUMxDEKHN1OiDDgjoIHKF32FSWruBbWN57SnZBDxwdDBvG25zqmQT4D+yf5r221EHlxuKVPbu/g9ynGGdeFa+v2cNiQoop5pHffpaEmDB23sOlurZ/2UfE4ujyBvV7ZzNxhL7NLVxGo0PrsDKHZjD8/k5FkJuh7Cid2UCcHDpmzZp7TZWKtcJDGxuZo5Zbhp+Qs+GrJMkvEHQb4+31/q3/S5NpeSFogyU7JnLXhdC8hCrEU5r23xmPfhOAhZHVK/bs8O7v7V276SRhoF47DwvUYKYVOvodWs1YQtBa3ALwSOKoVcJ3kVI+5LPSWElTN62YX1xLG830hC4Im72Bf97nirF2MyRpBDCKPK+risXnsdpplGMAgS3DKRr1G9zSK6i97kXP6dsG2ekMkLMKhTEcW0XEBI5n4ThjaH8OEzngEcpcUJAR7z4zdbc378P6u6WbLdic2Jud+GNpTHatPmdO5rbqwt/Kadbm+vhacfoWuNFlEmO+Ho3rkacOTxOGhIHHBIL4T1jANGZzwvQFAg0C+ebniCSN0Zme2mpMAlCQT1/zQC2b 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:(13230040)(376014)(1800799024)(82310400026)(36860700013)(35042699022); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Sep 2024 11:00:24.2026 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3db6a923-dc1b-47b3-c891-08dccd99f159 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: AMS0EPF0000019D.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB5698 X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GIT_PATCH_0, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org |
Series |
None
|
|
Commit Message
Victor Do Nascimento
Sept. 5, 2024, 10:59 a.m. UTC
Changes from previous revision: As was done for the equivalent aarch64 patch, we rework this patch to do away with mission creep, keeping changes as simple as possible. We thus remove the `gimple_fold_builtin' changes that would have replaced the dot-product builtin calls with DOT_PROD_EXPRs as well as the novel initialization mechanism for dot-product builtins, choosing instead to redirect the single-mode CODE_FOR_neon_(u|s|us)dot* values generated from `arm_neon_builtins.def' to their new 2-mode equivalents. Regression tested on arm-none-linux-gnueabihf, no new failures identified. ------ Given recent changes to the dot_prod standard pattern name, this patch fixes the arm back-end by implementing the following changes: 1. Add 2nd mode to all patterns relating to the dot-product in .md files. 2. redirect the single-mode CODE_FOR_neon_(u|s|us)dot<mode> values generated from `arm_neon_builtins.def' to their new 2-mode equivalents via means of simple aliases, as per the following example: constexpr insn_code CODE_FOR_neon_sdotv8qi = CODE_FOR_neon_sdotv2siv8qi; gcc/ChangeLog: * config/arm/neon.md (<sup>dot_prod<vsi2qi>): Renamed to... (<sup>dot_prod<mode><vsi2qi>): ...this. (neon_<sup>dot<vsi2qi>): Renamed to... (neon_<sup>dot<mode><vsi2qi>): ...this. (neon_usdot<vsi2qi>): Renamed to... (neon_usdot<mode><vsi2qi>): ...this. (usdot_prod<vsi2qi>): Renamed to... (usdot_prod<mode><vsi2qi>): ...this. * config/arm/arm-builtins.cc (CODE_FOR_neon_sdotv8qi): Definie as alias to new CODE_FOR_neon_sdotv2siv8qi. (CODE_FOR_neon_udotv8qi): Definie as alias to new CODE_FOR_neon_udotv2siv8qi. (CODE_FOR_neon_usdotv8qi): Definie as alias to new CODE_FOR_neon_usdotv2siv8qi. (CODE_FOR_neon_sdotv16qi): Definie as alias to new CODE_FOR_neon_sdotv4siv16qi. (CODE_FOR_neon_udotv16qi): Definie as alias to new CODE_FOR_neon_udotv4siv16qi. (CODE_FOR_neon_usdotv16qi): Definie as alias to new CODE_FOR_neon_usdotv4siv16qi. --- gcc/config/arm/arm-builtins.cc | 7 +++++++ gcc/config/arm/neon.md | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/gcc/config/arm/arm-builtins.cc b/gcc/config/arm/arm-builtins.cc index c9d50bf8fbb..74cea8900b4 100644 --- a/gcc/config/arm/arm-builtins.cc +++ b/gcc/config/arm/arm-builtins.cc @@ -908,6 +908,13 @@ typedef struct { enum arm_type_qualifiers *qualifiers; } arm_builtin_datum; +constexpr insn_code CODE_FOR_neon_sdotv8qi = CODE_FOR_neon_sdotv2siv8qi; +constexpr insn_code CODE_FOR_neon_udotv8qi = CODE_FOR_neon_udotv2siv8qi; +constexpr insn_code CODE_FOR_neon_usdotv8qi = CODE_FOR_neon_usdotv2siv8qi; +constexpr insn_code CODE_FOR_neon_sdotv16qi = CODE_FOR_neon_sdotv4siv16qi; +constexpr insn_code CODE_FOR_neon_udotv16qi = CODE_FOR_neon_udotv4siv16qi; +constexpr insn_code CODE_FOR_neon_usdotv16qi = CODE_FOR_neon_usdotv4siv16qi; + #define CF(N,X) CODE_FOR_neon_##N##X #define VAR1(T, N, A) \ diff --git a/gcc/config/arm/neon.md b/gcc/config/arm/neon.md index fa4a7aeda35..6892b7b0f44 100644 --- a/gcc/config/arm/neon.md +++ b/gcc/config/arm/neon.md @@ -2989,7 +2989,7 @@ (define_expand "cmul<conj_op><mode>3" ;; ... ;; ;; and so the vectorizer provides r, in which the result has to be accumulated. -(define_insn "<sup>dot_prod<vsi2qi>" +(define_insn "<sup>dot_prod<mode><vsi2qi>" [(set (match_operand:VCVTI 0 "register_operand" "=w") (plus:VCVTI (unspec:VCVTI [(match_operand:<VSI2QI> 1 "register_operand" "w") @@ -3002,7 +3002,7 @@ (define_insn "<sup>dot_prod<vsi2qi>" ) ;; These instructions map to the __builtins for the Dot Product operations -(define_expand "neon_<sup>dot<vsi2qi>" +(define_expand "neon_<sup>dot<mode><vsi2qi>" [(set (match_operand:VCVTI 0 "register_operand" "=w") (plus:VCVTI (unspec:VCVTI [(match_operand:<VSI2QI> 2 "register_operand") @@ -3013,7 +3013,7 @@ (define_expand "neon_<sup>dot<vsi2qi>" ) ;; These instructions map to the __builtins for the Dot Product operations. -(define_insn "neon_usdot<vsi2qi>" +(define_insn "neon_usdot<mode><vsi2qi>" [(set (match_operand:VCVTI 0 "register_operand" "=w") (plus:VCVTI (unspec:VCVTI @@ -3112,7 +3112,7 @@ (define_insn "neon_<sup>dot_laneq<vsi2qi>" ) ;; Auto-vectorizer pattern for usdot -(define_expand "usdot_prod<vsi2qi>" +(define_expand "usdot_prod<mode><vsi2qi>" [(set (match_operand:VCVTI 0 "register_operand") (plus:VCVTI (unspec:VCVTI [(match_operand:<VSI2QI> 1 "register_operand")