From patchwork Sun Oct 22 22:46:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?6ZKf5bGF5ZOy?= X-Patchwork-Id: 1853343 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SDD3H5xw5z23jV for ; Mon, 23 Oct 2023 09:47:07 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CF25C385840A for ; Sun, 22 Oct 2023 22:47:05 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbgjp3.qq.com (smtpbgjp3.qq.com [54.92.39.34]) by sourceware.org (Postfix) with ESMTPS id 7DE703858D37 for ; Sun, 22 Oct 2023 22:46:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7DE703858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7DE703858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=54.92.39.34 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698014815; cv=none; b=ArbRoYwaqJCNGZaTL1jcEUxYocUXDC2sQ9lUT2MmMQMO/Jyvx4d+f9Qongxbh6g1+h1QSkNPstWumRzZWDDnmI68nRmpeLd20gd2OOV4p+rUy7EGY9pk3fEwk5jZQXMeEz5FJc1Q1Yg9UrX46cDnE502GJGUHuv1gi94pZpg2wQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698014815; c=relaxed/simple; bh=dvpTq0f/YVnQJpPtuTiduv1mZilRlS0tkABMvFQxkgI=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=pvqk43IwlZhrfyIJjxytxZwUBt94MSHxWJUt76ai38vgtk98DfMWYqqhpPSABx5O27YtzBS12PLIQI7kTa3B2y5oK291Ot+hOIPwkIQmj4XnrbxpAQsRlDEMZ/1NjMZl4M7IIHMyMD9tol4ZYAHRLEtbrC3G0Az+DKg+u4z7G00= ARC-Authentication-Results: i=1; server2.sourceware.org X-QQ-mid: bizesmtp89t1698014805te9fsshh Received: from rios-cad121.hadoop.rioslab.org ( [58.60.1.9]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 23 Oct 2023 06:46:44 +0800 (CST) X-QQ-SSF: 01400000002000G0V000B00A0000000 X-QQ-FEAT: hoArX50alxH5q7rcbsmFpu3LnYOFGsRzFKOkiOwHQ4fcnvnzqs/S4nXQTEwb1 bg5Ib028n/fYjnxz3jjBl8tvZ4sZzVFZ4Zx5dJKR7y3U4RvgzdC8cixuuBmPEhCe3/cG68n BlTmtIWCStjs9LW5co4aFvlPKlB5g35sKUcby8+Sj+OP1yq3O2kycErLGi/ePKUKnQ5jd5D +MrwDBaF3y6LH8TvUTjbTP3Yposu2DrzvT+HN9AOH0DM5tzZredX4KhBlzsgRRIYABzaRqI WJnQlicgrKyapMe+Gw6GqwKWm8TnKvMmgY2sLxml1sep1CoaOqLFZNMoiWU+1VIEKmhf5PH yfXuXn/Mf1CZc0F0p8ne22n6maWWhKIRHoWJygPDU+Lox6oFFw= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 9545360956223254026 From: Juzhe-Zhong To: gcc-patches@gcc.gnu.org Cc: kito.cheng@gmail.com, kito.cheng@sifive.com, jeffreyalaw@gmail.com, rdapp.gcc@gmail.com, Juzhe-Zhong Subject: [PATCH] RISC-V: Fix AVL_TYPE attribute of tuple mode mov Date: Mon, 23 Oct 2023 06:46:43 +0800 Message-Id: <20231022224643.1445215-1-juzhe.zhong@rivai.ai> X-Mailer: git-send-email 2.36.3 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvrgz:qybglogicsvrgz7a-one-0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org The tuple mode mov pattern doesn't have avl_type so it is invalid attribute. gcc/ChangeLog: * config/riscv/vector.md: Fix avl_type attribute of tuple mov. --- gcc/config/riscv/vector.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md index 32955fb8cf0..ef91950178f 100644 --- a/gcc/config/riscv/vector.md +++ b/gcc/config/riscv/vector.md @@ -1208,7 +1208,8 @@ DONE; } [(set_attr "type" "vmov,vlde,vste") - (set_attr "mode" "")]) + (set_attr "mode" "") + (set (attr "avl_type") (const_int INVALID_ATTRIBUTE))]) ;; ----------------------------------------------------------------- ;; ---- VLS Moves Operations