aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJu-Zhe Zhong <juzhe.zhong@rivai.ai>2023-01-28 06:57:14 +0800
committerKito Cheng <kito.cheng@sifive.com>2023-01-28 11:11:44 +0800
commit43122c45607afb1d599a2c81484cdbc7d28ac830 (patch)
treeef7f80256f91a77271eb263d0cabe8bc79ac1e6e /gcc
parentf963705752e9d0b79a340788166269af417e344e (diff)
downloadgcc-43122c45607afb1d599a2c81484cdbc7d28ac830.zip
gcc-43122c45607afb1d599a2c81484cdbc7d28ac830.tar.gz
gcc-43122c45607afb1d599a2c81484cdbc7d28ac830.tar.bz2
RISC-V: Remove redundant attributes [NFC]
gcc/ChangeLog: * config/riscv/vector.md (tail_policy_op_idx): Remove. (mask_policy_op_idx): Remove. (avl_type_op_idx): Remove.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/riscv/vector.md20
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md
index 8c60eb2..4319266 100644
--- a/gcc/config/riscv/vector.md
+++ b/gcc/config/riscv/vector.md
@@ -208,26 +208,6 @@
(const_int 4)]
(const_int INVALID_ATTRIBUTE)))
-;; The index of operand[] to get the tail policy op.
-(define_attr "tail_policy_op_idx" ""
- (cond [(eq_attr "type" "vlde,vste,vimov,vfmov,vlds")
- (const_int 5)]
- (const_int INVALID_ATTRIBUTE)))
-
-;; The index of operand[] to get the mask policy op.
-(define_attr "mask_policy_op_idx" ""
- (cond [(eq_attr "type" "vlde,vste,vlds")
- (const_int 6)]
- (const_int INVALID_ATTRIBUTE)))
-
-;; The index of operand[] to get the mask policy op.
-(define_attr "avl_type_op_idx" ""
- (cond [(eq_attr "type" "vlde,vlde,vste,vimov,vimov,vimov,vfmov,vlds,vlds")
- (const_int 7)
- (eq_attr "type" "vldm,vstm,vimov,vmalu,vmalu")
- (const_int 5)]
- (const_int INVALID_ATTRIBUTE)))
-
;; The tail policy op value.
(define_attr "ta" ""
(cond [(eq_attr "type" "vlde,vimov,vfmov,vlds")