From 4ea36076d66eea0f5ccb9cbb9774028a667e122c Mon Sep 17 00:00:00 2001 From: Juzhe-Zhong Date: Thu, 2 Nov 2023 10:46:51 +0800 Subject: [PATCH] RISC-V: Fix redundant attributes Notice that there are some reundant 'vimov' codes in attribute. Committed as it is obvious. gcc/ChangeLog: * config/riscv/vector.md: Fix redundant codes in attributes. --- 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 ca86e27e8cb..a1a78120525 100644 --- a/gcc/config/riscv/vector.md +++ b/gcc/config/riscv/vector.md @@ -801,13 +801,13 @@ ;; The avl type value. (define_attr "avl_type_idx" "" - (cond [(eq_attr "type" "vlde,vldff,vste,vimov,vimov,vimov,vfmov,vext,vimerge,\ + (cond [(eq_attr "type" "vlde,vldff,vste,vimov,vfmov,vext,vimerge,\ vfsqrt,vfrecp,vfmerge,vfcvtitof,vfcvtftoi,vfwcvtitof,\ vfwcvtftoi,vfwcvtftof,vfncvtitof,vfncvtftoi,vfncvtftof,\ vfclass,vired,viwred,vfredu,vfredo,vfwredu,vfwredo,\ vimovxv,vfmovfv,vlsegde,vlsegdff") (const_int 7) - (eq_attr "type" "vldm,vstm,vimov,vmalu,vmalu") + (eq_attr "type" "vldm,vstm,vmalu,vmalu") (const_int 5) ;; If operands[3] of "vlds" is not vector mode, it is pred_broadcast.