public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] RISC-V: Remove side effects of vsetvl/vsetvlmax intriniscs in properties
@ 2022-12-20 14:51 juzhe.zhong
  2022-12-20 16:00 ` Jeff Law
  0 siblings, 1 reply; 3+ messages in thread
From: juzhe.zhong @ 2022-12-20 14:51 UTC (permalink / raw)
  To: gcc-patches; +Cc: kito.cheng, palmer, Ju-Zhe Zhong

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

gcc/ChangeLog:

        * config/riscv/riscv-vector-builtins-bases.cc: Remove side effects.

---
 gcc/config/riscv/riscv-vector-builtins-bases.cc | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gcc/config/riscv/riscv-vector-builtins-bases.cc b/gcc/config/riscv/riscv-vector-builtins-bases.cc
index ffeb1b25fbc..75879dea25a 100644
--- a/gcc/config/riscv/riscv-vector-builtins-bases.cc
+++ b/gcc/config/riscv/riscv-vector-builtins-bases.cc
@@ -53,11 +53,6 @@ template<bool VLMAX_P>
 class vsetvl : public function_base
 {
 public:
-  unsigned int call_properties (const function_instance &) const
-  {
-    return CP_READ_CSR | CP_WRITE_CSR;
-  }
-
   rtx expand (function_expander &e) const override
   {
     if (VLMAX_P)
-- 
2.36.3


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

* Re: [PATCH] RISC-V: Remove side effects of vsetvl/vsetvlmax intriniscs in properties
  2022-12-20 14:51 [PATCH] RISC-V: Remove side effects of vsetvl/vsetvlmax intriniscs in properties juzhe.zhong
@ 2022-12-20 16:00 ` Jeff Law
  2022-12-23  5:43   ` Kito Cheng
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Law @ 2022-12-20 16:00 UTC (permalink / raw)
  To: juzhe.zhong, gcc-patches; +Cc: kito.cheng, palmer



On 12/20/22 07:51, juzhe.zhong@rivai.ai wrote:
> From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
> 
> gcc/ChangeLog:
> 
>          * config/riscv/riscv-vector-builtins-bases.cc: Remove side effects.
OK.
Jeff

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

* Re: [PATCH] RISC-V: Remove side effects of vsetvl/vsetvlmax intriniscs in properties
  2022-12-20 16:00 ` Jeff Law
@ 2022-12-23  5:43   ` Kito Cheng
  0 siblings, 0 replies; 3+ messages in thread
From: Kito Cheng @ 2022-12-23  5:43 UTC (permalink / raw)
  To: Jeff Law; +Cc: juzhe.zhong, gcc-patches, palmer

Committed, thanks :)

On Wed, Dec 21, 2022 at 12:00 AM Jeff Law via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
>
>
> On 12/20/22 07:51, juzhe.zhong@rivai.ai wrote:
> > From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
> >
> > gcc/ChangeLog:
> >
> >          * config/riscv/riscv-vector-builtins-bases.cc: Remove side effects.
> OK.
> Jeff

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

end of thread, other threads:[~2022-12-23  5:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-20 14:51 [PATCH] RISC-V: Remove side effects of vsetvl/vsetvlmax intriniscs in properties juzhe.zhong
2022-12-20 16:00 ` Jeff Law
2022-12-23  5:43   ` 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).