From patchwork Mon Jul 3 08:08:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Pan2 via Gcc-patches" X-Patchwork-Id: 115211 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp359592vqx; Mon, 3 Jul 2023 01:08:56 -0700 (PDT) X-Google-Smtp-Source: APBJJlHbhlQL/rGaxcMIIQudf05ICzI0lP8SdMMor/gJaWtRCicfJUn5X6ZxwbHWc/LmMsBSSmnY X-Received: by 2002:a17:907:3447:b0:992:4d30:dc4a with SMTP id ac7-20020a170907344700b009924d30dc4amr4406599ejc.74.1688371736313; Mon, 03 Jul 2023 01:08:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688371736; cv=none; d=google.com; s=arc-20160816; b=ro551+UvbdGUxAyA94ABUes0fUsE/0ddynqKYUcUwdNGos2TQ3o3quO2i6n5zfwTE3 cCR8MbD/5F4fsWi0qiS9O+cO65h+qsAMv6+pORPSIclXohuoyUmLZjM41AHbrHMPMK/S Sc2QAI/+2uiPC2lvnxVwcFTH3pgQKL7dN2bKsWhb/gWIS1PQ+kM4kcRCWrULQZhuyger DmdgiAc2OpgBcHz4ythY6VFCk2yp+FwE82n+7khrnluWzm0/AP/G061UDBjEuifdLOt2 GMT2eA5qQfP5x85KNU2lJ1vCSF7yzgKXjxZCS0jpkOWr6O0agnA5dZxcdtJYnWe8YI4o IYKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=X71zWGC+7opAu2WR3V0U7pjPnhZ+ySUfvbPs8S9c97k=; fh=nukAlLUBRo/a7V2BL/vibdHi+09r5oGBDz1zhlzgV6k=; b=tUuG0AXWXMx8IVpXxIr18gO4rzUAo6XpzPylXJMR2mw3DQqFIVY5mt9CLCNYD0Q8PL Ty8wOcUQkUEPRYaUlv2ykmCQXnskdGJYqloEFDHEFb9CtYZ6cl1NS11mfqJR7JOm5e3o nli61zImP0mJPVxwBf3hOq4c0ns/rFaEfU8wXPv/fXTvaQwU/g2gqMdpIUbNAzVuobf5 sDx/UCaZ0ootYrOVK730TIMVZ/dX7nVpF6moeYQwzm9inTeDtnb3v/zJysaQ7EC9zkRk eiJ7OaVgOVRxUADfCA/f3JuFXFpISouJoM3HSR8hskY4c9KPeKnvCWx/SlTyg51RSDX1 CRvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=IJr0zbDe; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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 (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id k25-20020a17090666d900b009892044ecb7si11892166ejp.496.2023.07.03.01.08.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 01:08:56 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=IJr0zbDe; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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 0C2BC3858296 for ; Mon, 3 Jul 2023 08:08:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C2BC3858296 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688371735; bh=X71zWGC+7opAu2WR3V0U7pjPnhZ+ySUfvbPs8S9c97k=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=IJr0zbDeXKGftSelomznzZAWn4k9oQ5JjRW1bsyI0acG9gq/qRkdJriB5Clqp8rpa xVD09YEMArbrWVIsgdeQLvAh/BoH+zSMvpeH4DEgCNhTphq67ezTUsTOG8uMOIA1c0 ybpN5qOTrb3cW+zZw3EIH9KlEd7PiwCV3t/jkU4M= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by sourceware.org (Postfix) with ESMTPS id C33703858D28 for ; Mon, 3 Jul 2023 08:08:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C33703858D28 X-IronPort-AV: E=McAfee;i="6600,9927,10759"; a="426503230" X-IronPort-AV: E=Sophos;i="6.01,177,1684825200"; d="scan'208";a="426503230" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jul 2023 01:08:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10759"; a="718526026" X-IronPort-AV: E=Sophos;i="6.01,177,1684825200"; d="scan'208";a="718526026" Received: from shvmail02.sh.intel.com ([10.239.244.9]) by orsmga002.jf.intel.com with ESMTP; 03 Jul 2023 01:08:07 -0700 Received: from pli-ubuntu.sh.intel.com (pli-ubuntu.sh.intel.com [10.239.159.47]) by shvmail02.sh.intel.com (Postfix) with ESMTP id 05A111010228; Mon, 3 Jul 2023 16:08:07 +0800 (CST) To: gcc-patches@gcc.gnu.org Cc: juzhe.zhong@rivai.ai, jeffreyalaw@gmail.com, pan2.li@intel.com, yanzhang.wang@intel.com, kito.cheng@gmail.com Subject: [PATCH v1] RISC-V: Fix one typo of FRM dynamic definition Date: Mon, 3 Jul 2023 16:08:05 +0800 Message-Id: <20230703080805.1297008-1-pan2.li@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-11.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE 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: Pan Li via Gcc-patches From: "Li, Pan2 via Gcc-patches" Reply-To: pan2.li@intel.com 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?1770386081627243476?= X-GMAIL-MSGID: =?utf-8?q?1770386081627243476?= From: Pan Li This patch would like to fix one typo that take rdn instead of dyn by mistake. Signed-off-by: Pan Li gcc/ChangeLog: * config/riscv/vector.md: Fix typo. Signed-off-by: Pan Li --- gcc/config/riscv/vector.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md index a6174f9483e..2864475b35a 100644 --- a/gcc/config/riscv/vector.md +++ b/gcc/config/riscv/vector.md @@ -491,8 +491,8 @@ (define_attr "frm_mode" "rne,rtz,rdn,rup,rmm,dyn,none" (match_test "INTVAL (operands[9]) == riscv_vector::FRM_RMM") (const_string "rmm") - (match_test "INTVAL (operands[9]) == riscv_vector::FRM_RDN") - (const_string "rdn") + (match_test "INTVAL (operands[9]) == riscv_vector::FRM_DYN") + (const_string "dyn") ] (const_string "none") )