From patchwork Tue Aug 1 17:21:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stamatis Markianos-Wright X-Patchwork-Id: 129381 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp2819521vqg; Tue, 1 Aug 2023 10:23:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlFPeNCjWKNADfGjo+WJDCy8sh7OEksUnYODVQ4EyM+MJskRTf44X8aViUeAkh3ZDDkhIyqm X-Received: by 2002:a05:6402:1246:b0:522:4f6d:c443 with SMTP id l6-20020a056402124600b005224f6dc443mr3097877edw.23.1690910586512; Tue, 01 Aug 2023 10:23:06 -0700 (PDT) Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id l20-20020aa7c3d4000000b00522ab55cac0si6201653edr.192.2023.08.01.10.23.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Aug 2023 10:23:06 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=wdAKmSq3; arc=fail (signature failed); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D46F43858421 for ; Tue, 1 Aug 2023 17:23:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D46F43858421 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690910584; bh=f1Sa8NqGT2shdds5+djMY4jo4QgPcpIFpfbVNsX0CDo=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=wdAKmSq3QYdpAJWqykNvsmf69bSG1yET0MYu+O2RbUALMdYPe5RZGpUxQwfG1WcJO xqT0E5KfKCJCcdgbFFelQqFPbsL6/BahL0Fju5hVdrYI79kSwjlVqCFaGYStPg5Ot+ 5nVNk0xj4KC5FIzigICHdfgZFcd1gbghW79zYANE= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2066.outbound.protection.outlook.com [40.107.249.66]) by sourceware.org (Postfix) with ESMTPS id 6FFCA3858D28 for ; Tue, 1 Aug 2023 17:22:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6FFCA3858D28 Received: from DB3PR08CA0002.eurprd08.prod.outlook.com (2603:10a6:8::15) by GVXPR08MB7752.eurprd08.prod.outlook.com (2603:10a6:150:6::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.44; Tue, 1 Aug 2023 17:22:02 +0000 Received: from DBAEUR03FT045.eop-EUR03.prod.protection.outlook.com (2603:10a6:8:0:cafe::93) by DB3PR08CA0002.outlook.office365.com (2603:10a6:8::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.44 via Frontend Transport; Tue, 1 Aug 2023 17:22:02 +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 DBAEUR03FT045.mail.protection.outlook.com (100.127.142.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.44 via Frontend Transport; Tue, 1 Aug 2023 17:22:01 +0000 Received: ("Tessian outbound ba2f3d95109c:v145"); Tue, 01 Aug 2023 17:22:01 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d93ee57bcf12a261 X-CR-MTA-TID: 64aa7808 Received: from 24967a01ae61.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id D8BD3FE9-FF59-40B3-A957-E3BA0BB0D9B9.1; Tue, 01 Aug 2023 17:21:50 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 24967a01ae61.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 01 Aug 2023 17:21:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Otw46BPet93glSnVVn/7X8ZuKBf3ufVZ8wqAl1nZTgze4UaBnrAlMLwtomO1qZNsDXkbDXaETl9G/wtK6DfI7Y8KvsuzSBDm/9+qXaz88DZUSmqtxRbtOseUQp4i3OybDFfNurFIsLQ3Y403mP3q/N/LTIURZAT4qV4ZiJ44/fdIdrzfNpFVr94RLsx+TzHsSJO0I9eaV+9csY5Xrsach52vvTmSzqqxb3YRx3Y2yrWp8p7qjGpNR6cIY+0n2rnHeQDNR4zAlzXoPig2mkiypTtwV9b04TEjG5S2f5Bk/RK9OWDBTjCFof1xjcv5+31XT41QtlDlxKaWPEwgQXRfrQ== 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=f1Sa8NqGT2shdds5+djMY4jo4QgPcpIFpfbVNsX0CDo=; b=Mh6VqVErTqxRQKQ1/ace7a7HO7bqhsVXKVXa7U8G6ZQVq5Wr0i6zy/eDORfScgcS7ylF4WjGsv7ErcIIFrzG8bEQN/LDKkcB66nMxNWWAp5oiFAkhkqpThcT2qDPynmr/PEhxLNjUP5knfCOSEfW/Bvd+XCqZyaBjZ2xxXBFOp2u3qBb3PihjVVkjXnD0+7HzR6hX0UnW+Zlvw8/6LjcL4zgB0cHNADAVfpC7K7To4ONvU6MVQFTz5qxhkgVqO0JALc8T8OkQCaNsQuQGixJKaHVQfZqVorFTXL9XlLCsTBlXoeq3hbz+zieM7YfSx9XCU5XYRpr3kQ6Gy9xWJqyxQ== 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 Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DB9PR08MB6507.eurprd08.prod.outlook.com (2603:10a6:10:25a::6) by DBBPR08MB6203.eurprd08.prod.outlook.com (2603:10a6:10:201::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.45; Tue, 1 Aug 2023 17:21:47 +0000 Received: from DB9PR08MB6507.eurprd08.prod.outlook.com ([fe80::9580:520e:6b52:f3d8]) by DB9PR08MB6507.eurprd08.prod.outlook.com ([fe80::9580:520e:6b52:f3d8%3]) with mapi id 15.20.6631.043; Tue, 1 Aug 2023 17:21:47 +0000 Message-ID: <1a7eb1a3-091f-f074-37cc-e60fb0de7aea@arm.com> Date: Tue, 1 Aug 2023 18:21:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: "gcc-patches@gcc.gnu.org" Cc: Richard Earnshaw , Kyrylo Tkachov Subject: arm: Remove unsigned variant of vcaddq_m X-ClientProxiedBy: LO4P123CA0169.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18a::12) To DB9PR08MB6507.eurprd08.prod.outlook.com (2603:10a6:10:25a::6) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: DB9PR08MB6507:EE_|DBBPR08MB6203:EE_|DBAEUR03FT045:EE_|GVXPR08MB7752:EE_ X-MS-Office365-Filtering-Correlation-Id: 9ad11d9f-6ac2-4f77-e365-08db92b3d16f 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: 18jqwf7x2elp0QT2Vrt9VVoru/sdGtzAWpfN1JMH2fh8ZeOVU8ANz7t2w9epH9KmDIJuV/3P2LLVLbfjwe/+33xsbonpXP85Mbx+fRiJrjL3Fe+8V0tasuwOfcePT4HsPuqTmdzEqIeUBIauk+22pYgVOYFQ28+oU5a3+44TMjcjMjWlE4/tq5lruaiI8ozR2Cq8amCGvXQ6GtRaZ2b6CyRwnx0qcweb6AGNB4XrI/kdO7inElYXbYN7ytzwcusAvRe76rpQE7og9vCMew8SbrSerthjVUn2DSEgsXMVuFSyivo518cQxEsPMKB6FlsLzTHqmhYx9buweAf2Khu7yzYiobhiVrSS5WdMKwM7fosw7zB6Jf7yUFPcnf6CsLAr3ZZ60uucWoJdZsgU+ViZgWQ5MGXOoYg81F8KqV/aZJU3qVWeLkdfCG2R7Z2XCw00Ya6CbysXFbYOXOWOppwIw4U0p4/yAhNvcn5NYQsIidbeUwUePlGqwshWhjTAha+NqgndNZyw3qH+bqUagfG5O9KR8OaC/hSVF0txNUZgxRybnVRxesb/g8VYF9ScKmpgK3wrd8LbEhtepEglKPvmCYmDmXL0kW+7ZRlN0ZkPhBJtIqFcPzvcbg71rrkb0SzKWmGMss+Ze0FaZ0xzX6sZFA== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR08MB6507.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(136003)(396003)(366004)(376002)(346002)(451199021)(31686004)(6506007)(38100700002)(26005)(54906003)(8676002)(478600001)(8936002)(235185007)(5660300002)(6916009)(4326008)(66476007)(66556008)(66946007)(6512007)(86362001)(31696002)(41300700001)(316002)(6666004)(33964004)(6486002)(2616005)(186003)(36756003)(2906002)(83380400001)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB6203 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: DBAEUR03FT045.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: c5d205cb-25db-411f-09ce-08db92b3c90b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Gyz6Rlo09Zl45h18iDhaoBj1uQHpvr8G3Qd8lUzWPy4r83+eWlG7LaLrybmKTuQcmbP5FdNHl5sI/AcLop8pvlU0Xg6qFV5aYoxpdtYY8CTkvzqXoJH6PNAL5atsesSs/dIESKPkVy6JWMJ5dzAKRS8rqIu+h2D21YyFyO1BmWh2dHv+Xl2AhwpRxXNs8odpMfvsJL6YzRS+Psjdi3txemEh2S+HKIp+LnsiK58LbDIdGHoxAR8r4g1tZW2ZGQpGMPTSZMz3IX63pKuZU5HRJu1M/zEco9cssNch2wDwO//mp/JUwlHKqZD+LuuiMIoscSxCKM411bj5ZoTHSphANT0zTjNfcb33tY6EoHGL2v4K1BWyIzuYX4PRKGZeKZQ/kIkVP3NHPP8wBRQ5IQJ+oY+SM4/hsw0KdkjjgcA1DsSV093SqFrK+fdAIwsN7t5uUVNBNUA28HW2nlPqR5YjBoZVKB45K/W4y4Yk4wmXp4H7VyU6HHpuIcujopif4H/oZNfywRRSbjpoigR5QhBMOMn3QPWHGklL+VjyZuw9L8eNdhnEvsKdru35lAkpdhnjkfjnQIDViS9I6gUQj9pUFTiMKCNO1ya79DrQe6ih52dDRvK/RQu3JMEBSvGO3yQrqvygf314yrrz2RRd+Cojz8KaOuxyyNZnck+IloKqDcJTmySRBUgtDckrHdoQTlpjlwa1hKKMgAhGycCFfaKChJ7rRCiLRUDLW3VvU2yxi1DCF/T+b8vD/Dc1Zs70QiepR5VwC4jA8ITaqKivbszKvw== 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)(376002)(39860400002)(346002)(396003)(451199021)(82310400008)(36840700001)(40470700004)(46966006)(82740400003)(70586007)(81166007)(54906003)(40460700003)(356005)(36860700001)(6512007)(6506007)(26005)(36756003)(33964004)(6486002)(8676002)(6666004)(8936002)(5660300002)(235185007)(70206006)(40480700001)(4326008)(6916009)(2906002)(2616005)(83380400001)(478600001)(41300700001)(31686004)(336012)(86362001)(47076005)(186003)(316002)(31696002)(43740500002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2023 17:22:01.3316 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9ad11d9f-6ac2-4f77-e365-08db92b3d16f 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: DBAEUR03FT045.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR08MB7752 X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Stamatis Markianos-Wright via Gcc-patches From: Stamatis Markianos-Wright Reply-To: Stamatis Markianos-Wright Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773048259097952556 X-GMAIL-MSGID: 1773048259097952556 Hi all, The unsigned variants of the vcaddq_m operation are not needed within the compiler, as the assembly output of the signed and unsigned versions of the ops is identical: with a `.i` suffix (as opposed to separate `.s` and `.u` suffixes). Tested with baremetal arm-none-eabi on Arm's fastmodels. Ok for trunk? Thanks, Stamatis Markianos-Wright gcc/ChangeLog:     * config/arm/arm-mve-builtins-base.cc (vcaddq_rot90, vcaddq_rot270):       Use common insn for signed and unsigned front-end definitions.     * config/arm/arm_mve_builtins.def       (vcaddq_rot90_m_u, vcaddq_rot270_m_u): Make common.       (vcaddq_rot90_m_s, vcaddq_rot270_m_s): Remove.     * config/arm/iterators.md (mve_insn): Merge signed and unsigned defs.       (isu): Likewise.       (rot): Likewise.       (mve_rot): Likewise.       (supf): Likewise.       (VxCADDQ_M): Likewise.     * config/arm/unspecs.md (unspec): Likewise. ---  gcc/config/arm/arm-mve-builtins-base.cc |  4 ++--  gcc/config/arm/arm_mve_builtins.def     |  6 ++---  gcc/config/arm/iterators.md             | 30 +++++++++++--------------  gcc/config/arm/mve.md                   |  4 ++--  gcc/config/arm/unspecs.md               |  6 ++---  5 files changed, 21 insertions(+), 29 deletions(-) From 3f08bc4da87efd399b129e91513dc4001492886f Mon Sep 17 00:00:00 2001 From: Stamatis Markianos-Wright Date: Tue, 1 Aug 2023 11:59:28 +0100 Subject: [PATCH 1/1] arm: Remove unsigned variant of vcaddq_m The unsigned variants of the vcaddq_m operation are not needed within the compiler, as the assembly output of the signed and unsigned versions of the ops is identical: with a `.i` suffix (as opposed to separate `.s` and `.u` suffixes). Tested with baremetal arm-none-eabi on Arm's fastmodels. gcc/ChangeLog: * config/arm/arm-mve-builtins-base.cc (vcaddq_rot90, vcaddq_rot270): Use common insn for signed and unsigned front-end definitions. * config/arm/arm_mve_builtins.def (vcaddq_rot90_m_u, vcaddq_rot270_m_u): Make common. (vcaddq_rot90_m_s, vcaddq_rot270_m_s): Remove. * config/arm/iterators.md (mve_insn): Merge signed and unsigned defs. (isu): Likewise. (rot): Likewise. (mve_rot): Likewise. (supf): Likewise. (VxCADDQ_M): Likewise. * config/arm/unspecs.md (unspec): Likewise. --- gcc/config/arm/arm-mve-builtins-base.cc | 4 ++-- gcc/config/arm/arm_mve_builtins.def | 6 ++--- gcc/config/arm/iterators.md | 30 +++++++++++-------------- gcc/config/arm/mve.md | 4 ++-- gcc/config/arm/unspecs.md | 6 ++--- 5 files changed, 21 insertions(+), 29 deletions(-) diff --git a/gcc/config/arm/arm-mve-builtins-base.cc b/gcc/config/arm/arm-mve-builtins-base.cc index e31095ae112..426a87e9852 100644 --- a/gcc/config/arm/arm-mve-builtins-base.cc +++ b/gcc/config/arm/arm-mve-builtins-base.cc @@ -260,8 +260,8 @@ FUNCTION_PRED_P_S_U (vaddvq, VADDVQ) FUNCTION_PRED_P_S_U (vaddvaq, VADDVAQ) FUNCTION_WITH_RTX_M (vandq, AND, VANDQ) FUNCTION_ONLY_N (vbrsrq, VBRSRQ) -FUNCTION (vcaddq_rot90, unspec_mve_function_exact_insn_rot, (UNSPEC_VCADD90, UNSPEC_VCADD90, UNSPEC_VCADD90, VCADDQ_ROT90_M_S, VCADDQ_ROT90_M_U, VCADDQ_ROT90_M_F)) -FUNCTION (vcaddq_rot270, unspec_mve_function_exact_insn_rot, (UNSPEC_VCADD270, UNSPEC_VCADD270, UNSPEC_VCADD270, VCADDQ_ROT270_M_S, VCADDQ_ROT270_M_U, VCADDQ_ROT270_M_F)) +FUNCTION (vcaddq_rot90, unspec_mve_function_exact_insn_rot, (UNSPEC_VCADD90, UNSPEC_VCADD90, UNSPEC_VCADD90, VCADDQ_ROT90_M, VCADDQ_ROT90_M, VCADDQ_ROT90_M_F)) +FUNCTION (vcaddq_rot270, unspec_mve_function_exact_insn_rot, (UNSPEC_VCADD270, UNSPEC_VCADD270, UNSPEC_VCADD270, VCADDQ_ROT270_M, VCADDQ_ROT270_M, VCADDQ_ROT270_M_F)) FUNCTION (vcmlaq, unspec_mve_function_exact_insn_rot, (-1, -1, UNSPEC_VCMLA, -1, -1, VCMLAQ_M_F)) FUNCTION (vcmlaq_rot90, unspec_mve_function_exact_insn_rot, (-1, -1, UNSPEC_VCMLA90, -1, -1, VCMLAQ_ROT90_M_F)) FUNCTION (vcmlaq_rot180, unspec_mve_function_exact_insn_rot, (-1, -1, UNSPEC_VCMLA180, -1, -1, VCMLAQ_ROT180_M_F)) diff --git a/gcc/config/arm/arm_mve_builtins.def b/gcc/config/arm/arm_mve_builtins.def index 43dacc3dda1..6ac1812c697 100644 --- a/gcc/config/arm/arm_mve_builtins.def +++ b/gcc/config/arm/arm_mve_builtins.def @@ -523,8 +523,8 @@ VAR3 (QUADOP_UNONE_UNONE_UNONE_UNONE_PRED, vhsubq_m_n_u, v16qi, v8hi, v4si) VAR3 (QUADOP_UNONE_UNONE_UNONE_UNONE_PRED, vhaddq_m_u, v16qi, v8hi, v4si) VAR3 (QUADOP_UNONE_UNONE_UNONE_UNONE_PRED, vhaddq_m_n_u, v16qi, v8hi, v4si) VAR3 (QUADOP_UNONE_UNONE_UNONE_UNONE_PRED, veorq_m_u, v16qi, v8hi, v4si) -VAR3 (QUADOP_UNONE_UNONE_UNONE_UNONE_PRED, vcaddq_rot90_m_u, v16qi, v8hi, v4si) -VAR3 (QUADOP_UNONE_UNONE_UNONE_UNONE_PRED, vcaddq_rot270_m_u, v16qi, v8hi, v4si) +VAR3 (QUADOP_UNONE_UNONE_UNONE_UNONE_PRED, vcaddq_rot90_m_, v16qi, v8hi, v4si) +VAR3 (QUADOP_UNONE_UNONE_UNONE_UNONE_PRED, vcaddq_rot270_m_, v16qi, v8hi, v4si) VAR3 (QUADOP_UNONE_UNONE_UNONE_UNONE_PRED, vbicq_m_u, v16qi, v8hi, v4si) VAR3 (QUADOP_UNONE_UNONE_UNONE_UNONE_PRED, vandq_m_u, v16qi, v8hi, v4si) VAR3 (QUADOP_UNONE_UNONE_UNONE_UNONE_PRED, vaddq_m_u, v16qi, v8hi, v4si) @@ -587,8 +587,6 @@ VAR3 (QUADOP_NONE_NONE_NONE_NONE_PRED, vhcaddq_rot270_m_s, v16qi, v8hi, v4si) VAR3 (QUADOP_NONE_NONE_NONE_NONE_PRED, vhaddq_m_s, v16qi, v8hi, v4si) VAR3 (QUADOP_NONE_NONE_NONE_NONE_PRED, vhaddq_m_n_s, v16qi, v8hi, v4si) VAR3 (QUADOP_NONE_NONE_NONE_NONE_PRED, veorq_m_s, v16qi, v8hi, v4si) -VAR3 (QUADOP_NONE_NONE_NONE_NONE_PRED, vcaddq_rot90_m_s, v16qi, v8hi, v4si) -VAR3 (QUADOP_NONE_NONE_NONE_NONE_PRED, vcaddq_rot270_m_s, v16qi, v8hi, v4si) VAR3 (QUADOP_NONE_NONE_NONE_NONE_PRED, vbrsrq_m_n_s, v16qi, v8hi, v4si) VAR3 (QUADOP_NONE_NONE_NONE_NONE_PRED, vbicq_m_s, v16qi, v8hi, v4si) VAR3 (QUADOP_NONE_NONE_NONE_NONE_PRED, vandq_m_s, v16qi, v8hi, v4si) diff --git a/gcc/config/arm/iterators.md b/gcc/config/arm/iterators.md index b13ff53d36f..2edd0b06370 100644 --- a/gcc/config/arm/iterators.md +++ b/gcc/config/arm/iterators.md @@ -941,8 +941,8 @@ (VBICQ_N_S "vbic") (VBICQ_N_U "vbic") (VBRSRQ_M_N_S "vbrsr") (VBRSRQ_M_N_U "vbrsr") (VBRSRQ_M_N_F "vbrsr") (VBRSRQ_N_S "vbrsr") (VBRSRQ_N_U "vbrsr") (VBRSRQ_N_F "vbrsr") - (VCADDQ_ROT270_M_U "vcadd") (VCADDQ_ROT270_M_S "vcadd") (VCADDQ_ROT270_M_F "vcadd") - (VCADDQ_ROT90_M_U "vcadd") (VCADDQ_ROT90_M_S "vcadd") (VCADDQ_ROT90_M_F "vcadd") + (VCADDQ_ROT270_M "vcadd") (VCADDQ_ROT270_M_F "vcadd") + (VCADDQ_ROT90_M "vcadd") (VCADDQ_ROT90_M_F "vcadd") (VCLSQ_M_S "vcls") (VCLSQ_S "vcls") (VCLZQ_M_S "vclz") (VCLZQ_M_U "vclz") @@ -1215,8 +1215,8 @@ (define_int_attr isu [ (UNSPEC_VCADD90 "i") (UNSPEC_VCADD270 "i") (VABSQ_M_S "s") - (VCADDQ_ROT270_M_U "i") (VCADDQ_ROT270_M_S "i") - (VCADDQ_ROT90_M_U "i") (VCADDQ_ROT90_M_S "i") + (VCADDQ_ROT270_M "i") + (VCADDQ_ROT90_M "i") (VCLSQ_M_S "s") (VCLZQ_M_S "i") (VCLZQ_M_U "i") @@ -2184,11 +2184,9 @@ (define_int_attr rot [(UNSPEC_VCADD90 "90") (UNSPEC_VCADD270 "270") (VCADDQ_ROT90_M_F "90") - (VCADDQ_ROT90_M_S "90") - (VCADDQ_ROT90_M_U "90") + (VCADDQ_ROT90_M "90") (VCADDQ_ROT270_M_F "270") - (VCADDQ_ROT270_M_S "270") - (VCADDQ_ROT270_M_U "270") + (VCADDQ_ROT270_M "270") (VHCADDQ_ROT90_S "90") (VHCADDQ_ROT270_S "270") (VHCADDQ_ROT90_M_S "90") @@ -2241,11 +2239,9 @@ (define_int_attr mve_rot [(UNSPEC_VCADD90 "_rot90") (UNSPEC_VCADD270 "_rot270") (VCADDQ_ROT90_M_F "_rot90") - (VCADDQ_ROT90_M_S "_rot90") - (VCADDQ_ROT90_M_U "_rot90") + (VCADDQ_ROT90_M "_rot90") (VCADDQ_ROT270_M_F "_rot270") - (VCADDQ_ROT270_M_S "_rot270") - (VCADDQ_ROT270_M_U "_rot270") + (VCADDQ_ROT270_M "_rot270") (VHCADDQ_ROT90_S "_rot90") (VHCADDQ_ROT270_S "_rot270") (VHCADDQ_ROT90_M_S "_rot90") @@ -2403,7 +2399,7 @@ (VCVTQ_M_N_TO_F_U "u") (VADDQ_M_N_U "u") (VSHLQ_M_N_S "s") (VMAXQ_M_U "u") (VHSUBQ_M_N_U "u") (VMULQ_M_N_S "s") (VQSHLQ_M_U "u") (VRHADDQ_M_S "s") - (VEORQ_M_U "u") (VSHRQ_M_N_U "u") (VCADDQ_ROT90_M_U "u") + (VEORQ_M_U "u") (VSHRQ_M_N_U "u") (VMLADAVAQ_P_U "u") (VEORQ_M_S "s") (VBRSRQ_M_N_S "s") (VMULQ_M_U "u") (VQRDMLAHQ_M_N_S "s") (VHSUBQ_M_N_S "s") (VQRSHLQ_M_S "s") (VMULQ_M_N_U "u") @@ -2412,17 +2408,17 @@ (VMULLBQ_INT_M_U "u") (VSHLQ_M_N_U "u") (VQSUBQ_M_U "u") (VQDMLASHQ_M_N_S "s") (VQRDMLASHQ_M_N_U "u") (VRSHRQ_M_N_S "s") - (VORNQ_M_S "s") (VCADDQ_ROT270_M_S "s") (VRHADDQ_M_U "u") + (VORNQ_M_S "s") (VCADDQ_ROT270_M "") (VRHADDQ_M_U "u") (VRSHRQ_M_N_U "u") (VMLASQ_M_N_U "u") (VHSUBQ_M_U "u") (VQSUBQ_M_N_S "s") (VMULLTQ_INT_M_S "s") (VORRQ_M_S "s") (VQDMLAHQ_M_N_U "u") (VRSHLQ_M_S "s") (VHADDQ_M_U "u") (VHADDQ_M_N_S "s") (VMULLTQ_INT_M_U "u") (VORRQ_M_U "u") (VHADDQ_M_S "s") (VHADDQ_M_N_U "u") (VQDMLAHQ_M_N_S "s") (VMAXQ_M_S "s") (VORNQ_M_U "u") - (VCADDQ_ROT270_M_U "u") (VQADDQ_M_U "u") + (VQADDQ_M_U "u") (VQRDMLASHQ_M_N_S "s") (VBICQ_M_U "u") (VMINQ_M_U "u") (VSUBQ_M_N_S "s") (VMULLBQ_INT_M_S "s") (VQSUBQ_M_S "s") - (VCADDQ_ROT90_M_S "s") (VRMULHQ_M_S "s") (VANDQ_M_U "u") + (VCADDQ_ROT90_M "") (VRMULHQ_M_S "s") (VANDQ_M_U "u") (VMULHQ_M_S "s") (VADDQ_M_S "s") (VQRDMLAHQ_M_N_U "u") (VMLASQ_M_N_S "s") (VHSUBQ_M_S "s") (VRMULHQ_M_U "u") (VQADDQ_M_N_S "s") (VSHRQ_M_N_S "s") (VANDQ_M_S "s") @@ -2834,7 +2830,7 @@ (define_int_iterator VSHLQ_M_N [VSHLQ_M_N_S VSHLQ_M_N_U]) (define_int_iterator VCADDQ_M_F [VCADDQ_ROT90_M_F VCADDQ_ROT270_M_F]) (define_int_iterator VxCADDQ [UNSPEC_VCADD90 UNSPEC_VCADD270 VHCADDQ_ROT90_S VHCADDQ_ROT270_S]) -(define_int_iterator VxCADDQ_M [VHCADDQ_ROT90_M_S VHCADDQ_ROT270_M_S VCADDQ_ROT90_M_U VCADDQ_ROT90_M_S VCADDQ_ROT270_M_U VCADDQ_ROT270_M_S]) +(define_int_iterator VxCADDQ_M [VHCADDQ_ROT90_M_S VHCADDQ_ROT270_M_S VCADDQ_ROT90_M VCADDQ_ROT270_M]) (define_int_iterator VQRSHLQ_M [VQRSHLQ_M_U VQRSHLQ_M_S]) (define_int_iterator VQADDQ_M_N [VQADDQ_M_N_U VQADDQ_M_N_S]) (define_int_iterator VADDQ_M_N [VADDQ_M_N_S VADDQ_M_N_U]) diff --git a/gcc/config/arm/mve.md b/gcc/config/arm/mve.md index a2cbcff1a6f..6e4b143affa 100644 --- a/gcc/config/arm/mve.md +++ b/gcc/config/arm/mve.md @@ -839,8 +839,8 @@ ]) ;; -;; [vcaddq_rot90_s, vcadd_rot90_u] -;; [vcaddq_rot270_s, vcadd_rot270_u] +;; [vcaddq_rot90_s, vcaddq_rot90_u] +;; [vcaddq_rot270_s, vcaddq_rot270_u] ;; [vhcaddq_rot90_s] ;; [vhcaddq_rot270_s] ;; diff --git a/gcc/config/arm/unspecs.md b/gcc/config/arm/unspecs.md index dccda283573..6a5b1f8f623 100644 --- a/gcc/config/arm/unspecs.md +++ b/gcc/config/arm/unspecs.md @@ -995,8 +995,7 @@ VMAXQ_M_U VQRDMLAHQ_M_N_U VCADDQ_ROT270_M_F - VCADDQ_ROT270_M_U - VCADDQ_ROT270_M_S + VCADDQ_ROT270_M VQRSHLQ_M_S VMULQ_M_F VRHADDQ_M_U @@ -1050,8 +1049,7 @@ VSLIQ_M_N_S VQSHLQ_M_U VQSHLQ_M_S - VCADDQ_ROT90_M_U - VCADDQ_ROT90_M_S + VCADDQ_ROT90_M VORNQ_M_U VORNQ_M_S VQSHLQ_M_N_S -- 2.34.1