From patchwork Fri May 5 08:39:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 68794 Return-Path: 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 65F2F381776C for ; Fri, 5 May 2023 08:44:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 65F2F381776C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683276252; bh=5mpu/lpMVhk9YS57vwSONyClUZBIdJCyKriEjYl90Fo=; h=To:CC:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=FB+/p0MrrtzPU1hsPtG+k8YB8Xls0biCwEqYDWztK2A37aGlUQczRo4TOeNgZkCNI WAwUOJAU5wziTOr54P0q3xIM3OWdemn98oYT62XqqiqeqkuQXFR+Y2yNf7w339LFOR oCNNM5LwWqsGDHWAm7hEoIQ81JfxWsWxcm2utdrA= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2046.outbound.protection.outlook.com [40.107.104.46]) by sourceware.org (Postfix) with ESMTPS id BD8083855589 for ; Fri, 5 May 2023 08:40:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BD8083855589 Received: from DUZPR01CA0103.eurprd01.prod.exchangelabs.com (2603:10a6:10:4bb::15) by PAXPR08MB6509.eurprd08.prod.outlook.com (2603:10a6:102:12e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.27; Fri, 5 May 2023 08:40:09 +0000 Received: from DBAEUR03FT006.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:4bb:cafe::ef) by DUZPR01CA0103.outlook.office365.com (2603:10a6:10:4bb::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.27 via Frontend Transport; Fri, 5 May 2023 08:40:09 +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 DBAEUR03FT006.mail.protection.outlook.com (100.127.142.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.27 via Frontend Transport; Fri, 5 May 2023 08:40:09 +0000 Received: ("Tessian outbound 3a01b65b5aad:v136"); Fri, 05 May 2023 08:40:09 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f051c2bb81427030 X-CR-MTA-TID: 64aa7808 Received: from db76899dfcac.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 969082BC-EAF4-4FF1-BF85-C183923D914D.1; Fri, 05 May 2023 08:40:01 +0000 Received: from EUR01-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id db76899dfcac.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 05 May 2023 08:40:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Uuv3JrIDj0wpzffHna/2WxkjXr4VINghKEU1eE/Yph2giCUSmm4XhBphRREXKscdZPaGQXnR9Tq9XbELPNCHM3i7yPtfeXbJpEwQJbbg2oBslQT6r+Z2JLWRwv8ITe2oDkXcyn3Gcz8JW/ibnwJtS4WtjEzaTdYM5GkRHZ1XZ763u3/+ECZn4y61qwBfxP16B51ZCEY1/tlTvGwLEcyeRSO9kGqqoW2gbxZNimeDkVZmmsCQ+Z4e2XL9BleNpMEfNUFaqUiRfs5uzpyvqcQ+Ogiy+dDuN+Ry2p1Ti2FhMswFrlQuLQRJqWU5aMkM6JKlEGvkGEZSHFhHixsKzN8MCw== 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=5mpu/lpMVhk9YS57vwSONyClUZBIdJCyKriEjYl90Fo=; b=Rcaq4OAL281oiOjZU3Au4Gzg8P6nDLrT81QxGdsemnLIu3/4AqqF9Bxvu6yyM6pJo7odSNqjVd/H3ZK+iPTtUgJB0CGq7exhM55hbl4Br7G5WxVPK15F7k/LGncWjDybAMK050LgQGvgsHNy0a9sxfNYqrt8uQLoLqnI3wB/q2G60KjGIZFc49gxU6qbH9h+DBgSmt5H56SFaLx5IUoy+citM/pD0g0l1hb+TcIlkiGc0hxVn3VmK5q8L8gHCY5nJQH3gWpTCeXhBEDs9h7UPqht+T+N3fY9xKZpQ3ze3szpzcTA+ePdNwZDg8JqG6ptMalnTOQ7H8GKOLQaVEYX5w== 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 Received: from DUZPR01CA0106.eurprd01.prod.exchangelabs.com (2603:10a6:10:4bb::14) by AS8PR08MB9364.eurprd08.prod.outlook.com (2603:10a6:20b:5ab::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.27; Fri, 5 May 2023 08:39:59 +0000 Received: from DBAEUR03FT020.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:4bb:cafe::c2) by DUZPR01CA0106.outlook.office365.com (2603:10a6:10:4bb::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.27 via Frontend Transport; Fri, 5 May 2023 08:39:59 +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 DBAEUR03FT020.mail.protection.outlook.com (100.127.143.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.20 via Frontend Transport; Fri, 5 May 2023 08:39:59 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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.23; Fri, 5 May 2023 08:39:55 +0000 Received: from e129018.arm.com (10.57.22.112) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.23 via Frontend Transport; Fri, 5 May 2023 08:39:54 +0000 To: , , , CC: Christophe Lyon Subject: [PATCH 22/23] arm: [MVE intrinsics] factorize vsrhrq vrshrq Date: Fri, 5 May 2023 10:39:29 +0200 Message-ID: <20230505083930.101210-22-christophe.lyon@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230505083930.101210-1-christophe.lyon@arm.com> References: <20230505083930.101210-1-christophe.lyon@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: DBAEUR03FT020:EE_|AS8PR08MB9364:EE_|DBAEUR03FT006:EE_|PAXPR08MB6509:EE_ X-MS-Office365-Filtering-Correlation-Id: 4e5f97d6-289e-4043-a6a7-08db4d4455f0 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: ETCpeFVGukty2SH91J7bbyGdcB74oBMK8MaGj8DXebyz9RpFXmaRg5X36MN9KUnPTOU921sMlcZXmWhaDjRMzjNHuuA5AvqreRyBXX/MQXvhMunvP2kMnFbsjYswAaloR0IpVhAkOp25B7gIG/Byr1Ney6zmf+W+c/Q0+hsh+N1urq1f75smME6llC8m2+3196FXByxeNnZ2XOJxvrB9EVlYxHV0H33cx067VCWaR4fLXN5uPcLdy0Z4AKZUK5VyTWBSmyIpKVsFrn0dgy7O0G8R5WNZ///sQb1yaASlnRD9SIlP08PzmVbNvwk1unvWjC7u/xlUTjSUqafyvcX9QAntlFFfJJSOzGUBjraactRI5Qht/DHBKsDV2oPVJd2D42/sx22xCCwB8+cLIqkXyPoee4D5MPSyvM6NbqpuKHVbSXZVnzbMkdI3C1qkF2eDUrqamXz60/kYh7VQ0udGCx4Ww9NVH4nNPgBngCzIUZqmboTSuZNAdM+sK4rW3LE2xKa7W3YcgRzpq/i9CCBRAlN3qM59+Dx3MRsCf+j2o/MsYg5VuYzuj62Hi8JyweslT8WNSp0W1CgLRh9uVOcMBcbrpwK/lkVH9M16g2kevUxcDFo8fUhp5Ceu8PeT1r7znjbWIYmRaPe3S4Pq1s+lX0cA6Eo3F3LyFxGaq/WE5v1/auLPIad9fyY7YaqFaYwQZDi3eojccWXC63lh5FzBJiYnI2vmG7FOLkElFJf++rY8ix76winskFjNeYpV3Ic30TvQTw0PdmDUu1NzmJIvzCtcZgh6d4tUcieNu/JhhHQacy8qbAQ4igRzN7HDs+3w+r/NZOIAaNAC+V7X6xQy38EK98uvB3jfPmtxXzWUxNw= 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:(13230028)(4636009)(136003)(346002)(376002)(396003)(39860400002)(451199021)(36840700001)(40470700004)(46966006)(4326008)(6636002)(44832011)(70206006)(70586007)(41300700001)(5660300002)(8936002)(8676002)(26005)(1076003)(110136005)(478600001)(316002)(7696005)(6666004)(2906002)(2616005)(83380400001)(47076005)(426003)(336012)(40460700003)(186003)(36860700001)(356005)(81166007)(82740400003)(40480700001)(34020700004)(82310400005)(86362001)(36756003)(40753002)(17423001)(156123004)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB9364 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 1c89d102-b523-47d0-d2ff-08db4d444fd3 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vLt8iQKk6/G7n6Lkzc/uJWSx+tFlSDgB5BJlAGjRsrWVSA/oGXolXyinBXaP+a7nshBMeUYrvuzFI/6ZdF0XUByfKABAH4VwZvak5q2GhzjBgXagmFX8L8UrAsonBGYz231Ea39bl5RUPKNNMmbe3p0oEqoJKuo4f+3AZb9kzx1xwdgDkdCjIpZjOzwUzhH1CykUaLeqkpVQbUCO/NwQ9zTDFd09o654fVA8gpk2DtfZS8GDXYtkzoGLRtwPCth+Cye8df/c/ypk4yy5uP83pqtLGWT4PP7ZcaId2V1GHLM4g859ZUNiYlMJ78cI9439cmCi/13FhRgsvRgGKkMicX/G0y9/+ULZ43sEyZyTyzjvqm1g2i7XDN1/34Cfn4okGPcajxSySwfl7qpyC1JV4mWe+oP/XQ2n0IpQyDFh2QLUGNDpMpYA2mfVEoUFSlkY8ortV6APn3puo/KiDp45EvigC4uVv4c4yL1USRgKhawbf1fPE+yDcVPFbM3yo2KJxml1vxESm82bVYXxp/e+o5j78eojKAH2Ah2SPMkdhR7l1HEf2LaIaoWlJOZFXFBKVUq5F6gxf1ChgTevhbRdZyQJ2rYTqFqm3c29sk6VIjExJBb2MU0HSXB19RQpH7tlJ6cm7hbO8JhiDn7hbd1/sDgnfE74euk3bbMOmkyWMGS98W3I2P0Ihh+cv9Ea0koFagn8sQ8GYwHdkDqpgoV8WCF2ZOwJZeQOeIW6trn5QSskWwKAaP/IubvC9CUUG4WuHo1R3C8G8FAVCYqOmOdptPhZ6YPitAZJRDuardCmd0c5QLHzyzCo0UnNZA/d4U6U 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)(396003)(376002)(136003)(346002)(39860400002)(451199021)(40470700004)(46966006)(36840700001)(40460700003)(7696005)(70586007)(478600001)(70206006)(4326008)(6636002)(6666004)(316002)(110136005)(86362001)(36756003)(83380400001)(336012)(47076005)(426003)(26005)(1076003)(36860700001)(2616005)(8936002)(8676002)(5660300002)(44832011)(2906002)(41300700001)(82310400005)(40480700001)(186003)(81166007)(82740400003)(34020700004)(40753002)(17423001)(156123004); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2023 08:40:09.7850 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4e5f97d6-289e-4043-a6a7-08db4d4455f0 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: DBAEUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6509 X-Spam-Status: No, score=-13.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, KAM_DMARC_NONE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Christophe Lyon via Gcc-patches From: Christophe Lyon Reply-To: Christophe Lyon Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Factorize vsrhrq vrshrq so that they use the same pattern. 2022-09-08 Christophe Lyon gcc/ * config/arm/iterators.md (MVE_VSHRQ_M_N, MVE_VSHRQ_N): New. (mve_insn): Add vrshr, vshr. * config/arm/mve.md (mve_vshrq_n_) (mve_vrshrq_n_): Merge into ... (@mve_q_n_): ... this. (mve_vrshrq_m_n_, mve_vshrq_m_n_): Merge into ... (@mve_q_m_n_): ... this. --- gcc/config/arm/iterators.md | 14 +++++++++++ gcc/config/arm/mve.md | 46 +++++++------------------------------ 2 files changed, 22 insertions(+), 38 deletions(-) diff --git a/gcc/config/arm/iterators.md b/gcc/config/arm/iterators.md index 583206dac9e..53873704174 100644 --- a/gcc/config/arm/iterators.md +++ b/gcc/config/arm/iterators.md @@ -408,6 +408,16 @@ (define_int_iterator MVE_INT_N_BINARY [ VSUBQ_N_S VSUBQ_N_U ]) +(define_int_iterator MVE_VSHRQ_M_N [ + VRSHRQ_M_N_S VRSHRQ_M_N_U + VSHRQ_M_N_S VSHRQ_M_N_U + ]) + +(define_int_iterator MVE_VSHRQ_N [ + VRSHRQ_N_S VRSHRQ_N_U + VSHRQ_N_S VSHRQ_N_U + ]) + (define_int_iterator MVE_INT_SU_N_BINARY [ VHADDQ_N_S VHADDQ_N_U VHSUBQ_N_S VHSUBQ_N_U @@ -636,6 +646,8 @@ (define_int_attr mve_insn [ (VRSHRNBQ_N_S "vrshrnb") (VRSHRNBQ_N_U "vrshrnb") (VRSHRNTQ_M_N_S "vrshrnt") (VRSHRNTQ_M_N_U "vrshrnt") (VRSHRNTQ_N_S "vrshrnt") (VRSHRNTQ_N_U "vrshrnt") + (VRSHRQ_M_N_S "vrshr") (VRSHRQ_M_N_U "vrshr") + (VRSHRQ_N_S "vrshr") (VRSHRQ_N_U "vrshr") (VSHLQ_M_N_S "vshl") (VSHLQ_M_N_U "vshl") (VSHLQ_M_R_S "vshl") (VSHLQ_M_R_U "vshl") (VSHLQ_M_S "vshl") (VSHLQ_M_U "vshl") @@ -646,6 +658,8 @@ (define_int_attr mve_insn [ (VSHRNBQ_N_S "vshrnb") (VSHRNBQ_N_U "vshrnb") (VSHRNTQ_M_N_S "vshrnt") (VSHRNTQ_M_N_U "vshrnt") (VSHRNTQ_N_S "vshrnt") (VSHRNTQ_N_U "vshrnt") + (VSHRQ_M_N_S "vshr") (VSHRQ_M_N_U "vshr") + (VSHRQ_N_S "vshr") (VSHRQ_N_U "vshr") (VSUBQ_M_N_S "vsub") (VSUBQ_M_N_U "vsub") (VSUBQ_M_N_F "vsub") (VSUBQ_M_S "vsub") (VSUBQ_M_U "vsub") (VSUBQ_M_F "vsub") (VSUBQ_N_S "vsub") (VSUBQ_N_U "vsub") (VSUBQ_N_F "vsub") diff --git a/gcc/config/arm/mve.md b/gcc/config/arm/mve.md index 20ce7ecb3d6..b5c89fd4105 100644 --- a/gcc/config/arm/mve.md +++ b/gcc/config/arm/mve.md @@ -728,18 +728,19 @@ (define_insn "@mve_q_" (set_attr "length""8")]) ;; -;; [vshrq_n_s, vshrq_n_u]) +;; [vrshrq_n_s, vrshrq_n_u] +;; [vshrq_n_s, vshrq_n_u] ;; ;; Version that takes an immediate as operand 2. -(define_insn "mve_vshrq_n_" +(define_insn "@mve_q_n_" [ (set (match_operand:MVE_2 0 "s_register_operand" "=w") (unspec:MVE_2 [(match_operand:MVE_2 1 "s_register_operand" "w") (match_operand:SI 2 "" "")] - VSHRQ_N)) + MVE_VSHRQ_N)) ] "TARGET_HAVE_MVE" - "vshr.\t%q0, %q1, %2" + ".\t%q0, %q1, %2" [(set_attr "type" "mve_move") ]) @@ -1401,21 +1402,6 @@ (define_insn "mve_vqshluq_n_s" [(set_attr "type" "mve_move") ]) -;; -;; [vrshrq_n_s, vrshrq_n_u]) -;; -(define_insn "mve_vrshrq_n_" - [ - (set (match_operand:MVE_2 0 "s_register_operand" "=w") - (unspec:MVE_2 [(match_operand:MVE_2 1 "s_register_operand" "w") - (match_operand:SI 2 "" "")] - VRSHRQ_N)) - ] - "TARGET_HAVE_MVE" - "vrshr.%#\t%q0, %q1, %2" - [(set_attr "type" "mve_move") -]) - ;; ;; [vabdq_f] ;; @@ -4661,35 +4647,19 @@ (define_insn "@mve_q_m_n_" ;; ;; [vrshrq_m_n_s, vrshrq_m_n_u]) -;; -(define_insn "mve_vrshrq_m_n_" - [ - (set (match_operand:MVE_2 0 "s_register_operand" "=w") - (unspec:MVE_2 [(match_operand:MVE_2 1 "s_register_operand" "0") - (match_operand:MVE_2 2 "s_register_operand" "w") - (match_operand:SI 3 "" "") - (match_operand: 4 "vpr_register_operand" "Up")] - VRSHRQ_M_N)) - ] - "TARGET_HAVE_MVE" - "vpst\;vrshrt.%#\t%q0, %q2, %3" - [(set_attr "type" "mve_move") - (set_attr "length""8")]) - -;; ;; [vshrq_m_n_s, vshrq_m_n_u]) ;; -(define_insn "mve_vshrq_m_n_" +(define_insn "@mve_q_m_n_" [ (set (match_operand:MVE_2 0 "s_register_operand" "=w") (unspec:MVE_2 [(match_operand:MVE_2 1 "s_register_operand" "0") (match_operand:MVE_2 2 "s_register_operand" "w") (match_operand:SI 3 "" "") (match_operand: 4 "vpr_register_operand" "Up")] - VSHRQ_M_N)) + MVE_VSHRQ_M_N)) ] "TARGET_HAVE_MVE" - "vpst\;vshrt.%#\t%q0, %q2, %3" + "vpst\;t.%#\t%q0, %q2, %3" [(set_attr "type" "mve_move") (set_attr "length""8")])