From patchwork Wed Feb 1 09:46:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 51252 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp180067wrn; Wed, 1 Feb 2023 01:48:27 -0800 (PST) X-Google-Smtp-Source: AK7set8BHxrBnZOnOekhJYDwv9Vp8Vqsb82CaqG6co956NPtMfx13hwSoSNzouad7P0qBEPP7BZN X-Received: by 2002:a17:906:f913:b0:878:711f:f3d0 with SMTP id lc19-20020a170906f91300b00878711ff3d0mr1039661ejb.4.1675244907183; Wed, 01 Feb 2023 01:48:27 -0800 (PST) Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id fy15-20020a1709069f0f00b007ae0e8f697fsi21853975ejc.652.2023.02.01.01.48.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 01:48:27 -0800 (PST) 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=gMXav0Tp; 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 D8340385703F for ; Wed, 1 Feb 2023 09:48:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D8340385703F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675244904; bh=uxTF3XPQUGf9+07dm68qCcich18PxoMarSK5MM0IBRo=; 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=gMXav0TpH9c2SCbgfJWC9QV8iY5tMREHwVsHKH8u4NlvOOZsHiVyuLl6WWv/FP6+l BXKkQ1IcBZBKwZBqPeK20DW3Pj+550+tnlfsPcQcLNiag3kBOp23M2CmCqffJAlL3P oW/FnGhaYIKE71tmnhHvnOugf5elFDAodnOUEuxU= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2063.outbound.protection.outlook.com [40.107.6.63]) by sourceware.org (Postfix) with ESMTPS id F3CAA3858D38 for ; Wed, 1 Feb 2023 09:47:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F3CAA3858D38 Received: from AM5PR0601CA0066.eurprd06.prod.outlook.com (2603:10a6:206::31) by AS4PR08MB8047.eurprd08.prod.outlook.com (2603:10a6:20b:587::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.36; Wed, 1 Feb 2023 09:47:30 +0000 Received: from AM7EUR03FT006.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:0:cafe::9d) by AM5PR0601CA0066.outlook.office365.com (2603:10a6:206::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.23 via Frontend Transport; Wed, 1 Feb 2023 09:47:30 +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 AM7EUR03FT006.mail.protection.outlook.com (100.127.141.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.22 via Frontend Transport; Wed, 1 Feb 2023 09:47:29 +0000 Received: ("Tessian outbound 6e565e48ed4a:v132"); Wed, 01 Feb 2023 09:47:29 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 48a27aefb2bbb149 X-CR-MTA-TID: 64aa7808 Received: from 49c8f854d74d.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 293761BF-D80D-4F47-BB3B-A9231A736460.1; Wed, 01 Feb 2023 09:47:23 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 49c8f854d74d.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 01 Feb 2023 09:47:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ttiol98g0uILESl/YRGae8LQLWlsh1eXQ5s/R+k6oUJHbn7t3/oY74EPB/mFcvij04cWNUmZmAE7lQj3bpVpVzMly+DOGkkwGDNPjvUzBLsycIgOXnK7Tpe0u9xtAdJQvg6A5c4ZE0/e/EFafdsbRCbJrmvrUFthUVE/TlDDaU0mPecZtEe5AmByNAhxiJELok4/giuZNkMIDgUoQn1CqLFHQQfQC2fWWVh45VYeUZg0C0QI+Ak3f7Vjy/ek9va6GZaOcrdQ7i1wRySFuoq8lFf1XT9mjT/Sf0xPgtYRutIqOBhYO8iE4Qocqs4WmrEm06+wSspojNEwcinE2T4S9w== 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=uxTF3XPQUGf9+07dm68qCcich18PxoMarSK5MM0IBRo=; b=LuWqHAUf/r0Ww8zLuqJMZYZXYWir1MYRod4JQxY0kHlpYtkX/AIBPYY3lmqjcXLGs1kE5B4jXcpjn4gkkp3d0NTHVDB/I4UL5TwlkpAUeAmXY52dqFe00l5aPSN/4V6T/9IYX/B7toeuUcfY5TFJLT+kVBpls6tnggVMYy2S6ZvFQEaQMPkc332ExXe8eekFMa8+FLN8wGFy7441jaSMZy5xFe1vbQ6dU547jxlUPDibdZwHxHBC39TgxZxVOTR4kNTT1IeMzESuFtf5sDEh8uoWqhuEMHajDm9szU+4MLrDlgb3Q4VbQ/Erk0Ni50HkjG9N2Tq9i7t3R3HLMQ9f+A== 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 AS9PR06CA0638.eurprd06.prod.outlook.com (2603:10a6:20b:46f::32) by AS8PR08MB6150.eurprd08.prod.outlook.com (2603:10a6:20b:29c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.36; Wed, 1 Feb 2023 09:47:14 +0000 Received: from AM7EUR03FT054.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:46f:cafe::67) by AS9PR06CA0638.outlook.office365.com (2603:10a6:20b:46f::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.24 via Frontend Transport; Wed, 1 Feb 2023 09:47:14 +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 AM7EUR03FT054.mail.protection.outlook.com (100.127.140.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6043.22 via Frontend Transport; Wed, 1 Feb 2023 09:47:14 +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.16; Wed, 1 Feb 2023 09:47:10 +0000 Received: from e129018.arm.com (10.57.49.82) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Wed, 1 Feb 2023 09:47:10 +0000 To: CC: Christophe Lyon Subject: [PATCH] arm: [MVE] Add missing length=8 attribute Date: Wed, 1 Feb 2023 10:46:50 +0100 Message-ID: <20230201094650.65755-2-christophe.lyon@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230201094650.65755-1-christophe.lyon@arm.com> References: <20230201094650.65755-1-christophe.lyon@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT054:EE_|AS8PR08MB6150:EE_|AM7EUR03FT006:EE_|AS4PR08MB8047:EE_ X-MS-Office365-Filtering-Correlation-Id: f267b06e-8d55-4143-c47c-08db0439558d 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: CHvd1qgJ/Qd0l6IjQbzYHWJ8DR2NGtpbg4RprtFWrTaN0f9kYgbAq5Zmeq1WHKK3zn04EMV0A5WuWpXNQhxxdyCYdtBhkUo4Kccr0d/XPwbECu24m5ygeJRQZqquBrO+ep3uxI4DAiv6NOrO7k4A+I3zPTF9JCmw8iSipzqmivAJpfU8MtEI2bvh4DAJRCLR0Ld5ryBE0vLPVLUxEtzXMogb9rNHYRo52O8VzMiP3xMcVAax4OWHy50Y7pAuPwDzP/04fPPP8Ar3N2/wKddl/aMPSUiMgCVskdJkKyvp0lQDwUtjVLzmi/h+0iExwqds/Au4dYDPEjPLdS7vJunSPmO132rvKHKZ9S6z2NrJxI8hCKjNEqzuN4lck7fcQXH//1Ka2wuOO4yB88yVajfzMFMyu4rpdcgRMp730UsmniALKk00iZkEkPdHfOu4XPAiwk+k+o6hW42yEaCrI36M9QLGRXvasFUJr++v3s6qADWClG7DaYFF8kI1BC9/zvkkwwvIO+H3MtsHYYHhXFBB4YmY2s4FIGl2z/hs99TUfpQ+efNGHQNQtHgGajepIGW+uEV7W/Z3QXuL7MwdxvnavEnK0vamRODuBvtLlPey0lmOHYYpyeeD1fivtxeT75CBXuSest4tMvXzvTCYKGvzin0Gbx4ax7peWM0Zh/9LoEWK5Nr58pobncM3CFLB8sWhmlFIVPUaqvazPwO4pHcY9LbqGjsrqgsKSDAMpeJrqy8= 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:(13230025)(4636009)(136003)(39860400002)(346002)(396003)(376002)(451199018)(46966006)(40470700004)(36840700001)(44832011)(8936002)(5660300002)(2906002)(41300700001)(82740400003)(6916009)(336012)(2616005)(356005)(8676002)(478600001)(7696005)(316002)(4326008)(36756003)(40460700003)(186003)(70586007)(86362001)(26005)(47076005)(426003)(6666004)(40480700001)(70206006)(36860700001)(1076003)(82310400005)(83380400001)(81166007)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6150 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: f031f570-5213-4cbf-e549-08db04394c99 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Lps3Aa0vUU+idryXmfvvhB/CCeGhV9C65OkDnjq/wuDZLHKJHOa/UyvS1B38S8h+S8hkuI58wF+LHVcqHbZJ6LP3abT4CrjL8kGxMlA2wrr3ebzym4Qty1JIVC1MftvFarvAcvQ/NNrKW6YjM8WmoUjlCuniyW+2NAtTupYXmlQO0WEgw/n8wXFzC+XA+xcTptSaTrJA0ireDK1yX6e/IGiAkxBTEXWAf2GPnKtIsfNUPO8SWyaelHMDWnlMkUHOIakgNWNpmssZdDOmKDy28Jo2GCGdiBseOZYfVQ12j35Uggy+J/xbWNq2UuZGwGNlx003YHASpDeFmkqUT107t7jVBZZtSgblAvniMqSlhgmqdy95iJDKrOvjiijKFrkitXa0GdXMHU6C7w0uDj+xGwg+ncvEk2Xxuk3vJg3qNXyPlmPRByd1u97t5pnLqPeVqA8aWFCVexFoLLVzL+piKDdN8CDdGGc6UXXncMZD5uzsIFwadRqUCKwIOve3e3rimUdiwpFhgeFHlrdI9aB6R4jTe5YDqN07oCTRCQuyVhIIwkvswQtyxH9mO2n6gV8awUGO/SmzjqQEYu/D74msRKHovWzjE/VOvKZVtWewv/DpBSXIkQLk+Kw3MWG72dsMewP1nbaBoHvFgc/CZGl0wbnvzdU8opDPRM26yk4KLmIbTnY+wR3X3/FykJA5j2TYFd7CtI9UVpvspC9GoVVe8w== 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:(13230025)(4636009)(346002)(396003)(136003)(39860400002)(376002)(451199018)(46966006)(36840700001)(40470700004)(44832011)(5660300002)(8936002)(2906002)(40460700003)(6916009)(41300700001)(82740400003)(336012)(2616005)(8676002)(478600001)(316002)(7696005)(4326008)(36756003)(70586007)(86362001)(70206006)(26005)(186003)(6666004)(426003)(47076005)(1076003)(82310400005)(83380400001)(40480700001)(36860700001)(81166007); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2023 09:47:29.7433 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f267b06e-8d55-4143-c47c-08db0439558d 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: AM7EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR08MB8047 X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, 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, 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+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756621603969046714?= X-GMAIL-MSGID: =?utf-8?q?1756621603969046714?= I have noticed that the "length" "8" attribute is missing in a few patterns in mve.md. gcc/ * config/arm/mve.md (mve_vabavq_p_): Add length attribute. (mve_vqshluq_m_n_s): Likewise. (mve_vshlq_m_): Likewise. (mve_vsriq_m_n_): Likewise. (mve_vsubq_m_): Likewise. --- gcc/config/arm/mve.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/gcc/config/arm/mve.md b/gcc/config/arm/mve.md index 555ad1b66c8..8a05371e14a 100644 --- a/gcc/config/arm/mve.md +++ b/gcc/config/arm/mve.md @@ -4979,7 +4979,7 @@ (define_insn "mve_vabavq_p_" "TARGET_HAVE_MVE" "vpst\;vabavt.%#\t%0, %q2, %q3" [(set_attr "type" "mve_move") -]) + (set_attr "length" "8")]) ;; ;; [vqshluq_m_n_s]) @@ -4995,7 +4995,8 @@ (define_insn "mve_vqshluq_m_n_s" ] "TARGET_HAVE_MVE" "vpst\n\tvqshlut.s%#\t%q0, %q2, %3" - [(set_attr "type" "mve_move")]) + [(set_attr "type" "mve_move") + (set_attr "length" "8")]) ;; ;; [vshlq_m_s, vshlq_m_u]) @@ -5011,7 +5012,8 @@ (define_insn "mve_vshlq_m_" ] "TARGET_HAVE_MVE" "vpst\;vshlt.%#\t%q0, %q2, %q3" - [(set_attr "type" "mve_move")]) + [(set_attr "type" "mve_move") + (set_attr "length" "8")]) ;; ;; [vsriq_m_n_s, vsriq_m_n_u]) @@ -5027,7 +5029,8 @@ (define_insn "mve_vsriq_m_n_" ] "TARGET_HAVE_MVE" "vpst\;vsrit.%#\t%q0, %q2, %3" - [(set_attr "type" "mve_move")]) + [(set_attr "type" "mve_move") + (set_attr "length" "8")]) ;; ;; [vsubq_m_u, vsubq_m_s]) @@ -5043,7 +5046,8 @@ (define_insn "mve_vsubq_m_" ] "TARGET_HAVE_MVE" "vpst\;vsubt.i%#\t%q0, %q2, %q3" - [(set_attr "type" "mve_move")]) + [(set_attr "type" "mve_move") + (set_attr "length" "8")]) ;; ;; [vcvtq_m_n_to_f_u, vcvtq_m_n_to_f_s])