]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Fix redundant attributes
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Thu, 2 Nov 2023 02:46:51 +0000 (10:46 +0800)
committerPan Li <pan2.li@intel.com>
Thu, 2 Nov 2023 02:54:26 +0000 (10:54 +0800)
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

index ca86e27e8cbddb01560840e6ad470f433b44e3a9..a1a7812052572f477343927c227450e12952f88a 100644 (file)
 
 ;; 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.