aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>2023-11-02 10:46:51 +0800
committerPan Li <pan2.li@intel.com>2023-11-02 10:54:26 +0800
commit4ea36076d66eea0f5ccb9cbb9774028a667e122c (patch)
treefa970f61f13a97c14cb0edb7fb443feb442e9e2e
parentd508a94167c186b2baacc679896e2809554c0b99 (diff)
downloadgcc-4ea36076d66eea0f5ccb9cbb9774028a667e122c.zip
gcc-4ea36076d66eea0f5ccb9cbb9774028a667e122c.tar.gz
gcc-4ea36076d66eea0f5ccb9cbb9774028a667e122c.tar.bz2
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.
-rw-r--r--gcc/config/riscv/vector.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md
index ca86e27..a1a7812 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.