public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] RISC-V: Remove unit-stride store from ta attribute
@ 2022-12-14 11:36 juzhe.zhong
  2022-12-16 20:01 ` Jeff Law
  0 siblings, 1 reply; 6+ messages in thread
From: juzhe.zhong @ 2022-12-14 11:36 UTC (permalink / raw)
  To: gcc-patches; +Cc: kito.cheng, palmer, Ju-Zhe Zhong

From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md
index 7dfadaa96b6..84adbb9974a 100644
--- a/gcc/config/riscv/vector.md
+++ b/gcc/config/riscv/vector.md
@@ -221,7 +221,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)))
 
-- 
2.36.3


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-12-19 15:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14 11:36 [PATCH] RISC-V: Remove unit-stride store from ta attribute juzhe.zhong
2022-12-16 20:01 ` Jeff Law
2022-12-16 21:59   ` Palmer Dabbelt
2022-12-16 23:00     ` Andrew Waterman
2022-12-17  1:22   ` 钟居哲
2022-12-19 15:06     ` Kito Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).