Thanks Kito. Looks need some additional change and will send the V2 for this.

Pan

From: Kito Cheng <kito.ch...@gmail.com>
Sent: Thursday, August 24, 2023 3:44 PM
To: Li, Pan2 <pan2...@intel.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>; 钟居哲 <juzhe.zh...@rivai.ai>; Wang, 
Yanzhang <yanzhang.w...@intel.com>
Subject: Re: [PATCH v1] RISC-V: Fix one typo in autovec.md pattern comment

LGTM

Pan Li via Gcc-patches 
<gcc-patches@gcc.gnu.org<mailto:gcc-patches@gcc.gnu.org>> 於 2023年8月24日 週四 15:41 
寫道:
From: Pan Li <pan2...@intel.com<mailto:pan2...@intel.com>>

Fix below typo for the pattern comment.

vfmsac => vfnmsac
vfmsub => vfnmsub

Signed-off-by: Pan Li <pan2...@intel.com<mailto:pan2...@intel.com>>

gcc/ChangeLog:

        * config/riscv/autovec.md: Fix typo.
---
 gcc/config/riscv/autovec.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/config/riscv/autovec.md b/gcc/config/riscv/autovec.md
index d9f1a10eb66..18950ac7c4f 100644
--- a/gcc/config/riscv/autovec.md
+++ b/gcc/config/riscv/autovec.md
@@ -1258,11 +1258,11 @@ (define_insn_and_split "*fms<VF:mode><P:mode>"
    (set (attr "frm_mode") (symbol_ref "riscv_vector::FRM_DYN"))])

 ;; -------------------------------------------------------------------------
-;; ---- [FP] VFMSAC and VFMSUB
+;; ---- [FP] VFNMSAC and VFNMSUB
 ;; -------------------------------------------------------------------------
 ;; Includes:
-;; - vfmsac
-;; - vfmsub
+;; - vfnmsac
+;; - vfnmsub
 ;; -------------------------------------------------------------------------

 (define_expand "fnms<mode>4"
--
2.34.1

Reply via email to