From: Juzhe-Zhong Date: Thu, 2 Nov 2023 02:46:51 +0000 (+0800) Subject: RISC-V: Fix redundant attributes X-Git-Tag: basepoints/gcc-15~5069 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4ea36076d66eea0f5ccb9cbb9774028a667e122c;p=thirdparty%2Fgcc.git 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. --- diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md index ca86e27e8cbd..a1a781205257 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.