projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c098f7
)
RISC-V: Remove unit-stride store from ta attribute
author
Ju-Zhe Zhong
<juzhe.zhong@rivai.ai>
Wed, 14 Dec 2022 11:36:41 +0000
(19:36 +0800)
committer
Kito Cheng
<kito.cheng@sifive.com>
Mon, 19 Dec 2022 14:23:32 +0000
(22:23 +0800)
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.
gcc/config/riscv/vector.md
patch
|
blob
|
history
diff --git
a/gcc/config/riscv/vector.md
b/gcc/config/riscv/vector.md
index 985373838bb0ee3d2e9bdf55ab70d23ee93c2f03..52ca6b3d25cd79d8ccf7f7c564bd7cf48777284d 100644
(file)
--- 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,v
ste,v
imov,vfmov,vlds")
+ (cond [(eq_attr "type" "vlde,vimov,vfmov,vlds")
(symbol_ref "riscv_vector::get_ta(operands[5])")]
(const_int INVALID_ATTRIBUTE)))