public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] RISC-V: Remove unused redundant vector attributes
@ 2022-12-14  8:51 juzhe.zhong
  2022-12-16 19:54 ` Jeff Law
  0 siblings, 1 reply; 3+ messages in thread
From: juzhe.zhong @ 2022-12-14  8:51 UTC (permalink / raw)
  To: gcc-patches; +Cc: kito.cheng, palmer, Ju-Zhe Zhong

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

I found that I forgot to remove these redundant attributes.
Sorry about that.

gcc/ChangeLog:

        * config/riscv/vector.md (): Remove redundant attributes.

---
 gcc/config/riscv/vector.md | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md
index 3bfda652318..7dfadaa96b6 100644
--- a/gcc/config/riscv/vector.md
+++ b/gcc/config/riscv/vector.md
@@ -219,26 +219,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,vste,vimov,vfmov,vlds")
-- 
2.36.3


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

* Re: [PATCH] RISC-V: Remove unused redundant vector attributes
  2022-12-14  8:51 [PATCH] RISC-V: Remove unused redundant vector attributes juzhe.zhong
@ 2022-12-16 19:54 ` Jeff Law
  2022-12-19 15:07   ` Kito Cheng
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Law @ 2022-12-16 19:54 UTC (permalink / raw)
  To: juzhe.zhong, gcc-patches; +Cc: kito.cheng, palmer



On 12/14/22 01:51, juzhe.zhong@rivai.ai wrote:
> From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
> 
> I found that I forgot to remove these redundant attributes.
> Sorry about that.
> 
> gcc/ChangeLog:
> 
>          * config/riscv/vector.md (): Remove redundant attributes.
OK.
jeff


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

* Re: [PATCH] RISC-V: Remove unused redundant vector attributes
  2022-12-16 19:54 ` Jeff Law
@ 2022-12-19 15:07   ` Kito Cheng
  0 siblings, 0 replies; 3+ messages in thread
From: Kito Cheng @ 2022-12-19 15:07 UTC (permalink / raw)
  To: Jeff Law; +Cc: 钟居哲, GCC Patches, Palmer Dabbelt

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]

Commited

Jeff Law via Gcc-patches <gcc-patches@gcc.gnu.org> 於 2022年12月17日 週六 03:55
寫道:

>
>
> On 12/14/22 01:51, juzhe.zhong@rivai.ai wrote:
> > From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
> >
> > I found that I forgot to remove these redundant attributes.
> > Sorry about that.
> >
> > gcc/ChangeLog:
> >
> >          * config/riscv/vector.md (): Remove redundant attributes.
> OK.
> jeff
>
>

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14  8:51 [PATCH] RISC-V: Remove unused redundant vector attributes juzhe.zhong
2022-12-16 19:54 ` Jeff Law
2022-12-19 15:07   ` 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).