diff options
author | Ju-Zhe Zhong <juzhe.zhong@rivai.ai> | 2022-12-14 19:36:41 +0800 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2022-12-19 22:23:32 +0800 |
commit | 8577356f4b8a2c9a397390339006eca8f6efa14d (patch) | |
tree | 2d15c11fd6d1db5a9e0e7cc2dc21dd4ee1d191e1 /gcc | |
parent | 6c098f7d23db4dd98e7fed74a35416248397be40 (diff) | |
download | gcc-8577356f4b8a2c9a397390339006eca8f6efa14d.zip gcc-8577356f4b8a2c9a397390339006eca8f6efa14d.tar.gz gcc-8577356f4b8a2c9a397390339006eca8f6efa14d.tar.bz2 |
RISC-V: Remove unit-stride store from ta attribute
Since store instructions doesn't care about tail policy, we remove
vste from "ta" attribute. Hence, we could have more fusion chances
and better optimization.
gcc/ChangeLog:
* config/riscv/vector.md: Remove vste.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/riscv/vector.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md index 9853738..52ca6b3 100644 --- a/gcc/config/riscv/vector.md +++ b/gcc/config/riscv/vector.md @@ -241,7 +241,7 @@ ;; The tail policy op value. (define_attr "ta" "" - (cond [(eq_attr "type" "vlde,vste,vimov,vfmov,vlds") + (cond [(eq_attr "type" "vlde,vimov,vfmov,vlds") (symbol_ref "riscv_vector::get_ta(operands[5])")] (const_int INVALID_ATTRIBUTE))) |