Re: [PATCH] RISC-V: Add attributes for VSETVL PASS

2022-12-01 Thread Kito Cheng via Gcc-patches
LGTM, and committed to trunk! On Tue, Nov 29, 2022 at 4:54 PM Kito Cheng wrote: > > > >>> Yeah, I personally want to support RVV intrinsics in GCC13. As RVV > > >>> intrinsic is going to release soon next week. > > >> > > >> OK, that's fine with me -- I was leaning that way, and I think Jeff only

Re: [PATCH] RISC-V: Add attributes for VSETVL PASS

2022-11-29 Thread Kito Cheng via Gcc-patches
> >>> Yeah, I personally want to support RVV intrinsics in GCC13. As RVV > >>> intrinsic is going to release soon next week. > >> > >> OK, that's fine with me -- I was leaning that way, and I think Jeff only > >> had a weak opposition. Are there any more changes required outside the > >> RISC-V ba

Re: [PATCH] RISC-V: Add attributes for VSETVL PASS

2022-11-28 Thread Palmer Dabbelt
On Mon, 28 Nov 2022 20:49:00 PST (-0800), jeffreya...@gmail.com wrote: On 11/28/22 19:56, Palmer Dabbelt wrote: On Mon, 28 Nov 2022 17:46:16 PST (-0800), juzhe.zh...@rivai.ai wrote: Yeah, I personally want to support RVV intrinsics in GCC13. As RVV intrinsic is going to release soon next week

Re: [PATCH] RISC-V: Add attributes for VSETVL PASS

2022-11-28 Thread Jeff Law via Gcc-patches
On 11/28/22 19:56, Palmer Dabbelt wrote: On Mon, 28 Nov 2022 17:46:16 PST (-0800), juzhe.zh...@rivai.ai wrote: Yeah, I personally want to support RVV intrinsics in GCC13. As RVV intrinsic is going to release soon next week. OK, that's fine with me -- I was leaning that way, and I think Jeff

Re: Re: [PATCH] RISC-V: Add attributes for VSETVL PASS

2022-11-28 Thread Palmer Dabbelt
torization until GCC14 is open. We can still review that stuff and keep it on a branch, if that's eaiser on your end. juzhe.zh...@rivai.ai From: Palmer Dabbelt Date: 2022-11-29 10:56 To: juzhe.zhong CC: Kito Cheng; jeffreyalaw; gcc-patches Subject: Re: Re: [PATCH] RISC-V: Add attributes

Re: Re: [PATCH] RISC-V: Add attributes for VSETVL PASS

2022-11-28 Thread juzhe.zh...@rivai.ai
Cheng; jeffreyalaw; gcc-patches Subject: Re: Re: [PATCH] RISC-V: Add attributes for VSETVL PASS On Mon, 28 Nov 2022 17:46:16 PST (-0800), juzhe.zh...@rivai.ai wrote: > Yeah, I personally want to support RVV intrinsics in GCC13. > As RVV intrinsic is going to release soon next week. OK, that's f

Re: Re: [PATCH] RISC-V: Add attributes for VSETVL PASS

2022-11-28 Thread Palmer Dabbelt
To: Jeff Law CC: 钟居哲; gcc-patches; palmer Subject: Re: [PATCH] RISC-V: Add attributes for VSETVL PASS Actually, I am strongly support those stuff keep merge to trunk until February, my goal is intrinsic support for vector, but not including any vectorization like SLP or Loop vectorization, the mos

Re: Re: [PATCH] RISC-V: Add attributes for VSETVL PASS

2022-11-28 Thread juzhe.zh...@rivai.ai
Yeah, I personally want to support RVV intrinsics in GCC13. As RVV intrinsic is going to release soon next week. juzhe.zh...@rivai.ai From: Kito Cheng Date: 2022-11-29 09:38 To: Jeff Law CC: 钟居哲; gcc-patches; palmer Subject: Re: [PATCH] RISC-V: Add attributes for VSETVL PASS Actually, I am

Re: [PATCH] RISC-V: Add attributes for VSETVL PASS

2022-11-28 Thread Kito Cheng via Gcc-patches
Actually, I am strongly support those stuff keep merge to trunk until February, my goal is intrinsic support for vector, but not including any vectorization like SLP or Loop vectorization, the most critical part is the vsetvli which is the mode switching, and its almost done. Those part is kind of

Re: [PATCH] RISC-V: Add attributes for VSETVL PASS

2022-11-28 Thread Jeff Law via Gcc-patches
On 11/28/22 15:52, 钟居哲 wrote: >> I'm tempted to push this into the next stage1 given its arrival after stage1 close, but if the wider RISC-V maintainers want to see it move forward, I don't object strongly. Ok, let's save these patches and merge them when GCC14 stage1 is open. Would you mi

Re: Re: [PATCH] RISC-V: Add attributes for VSETVL PASS

2022-11-28 Thread Palmer Dabbelt
time in case of RVV. Yes, please don't stop ;). It's really important work! juzhe.zh...@rivai.ai From: Palmer Dabbelt Date: 2022-11-29 02:02 To: jeffreyalaw CC: juzhe.zhong; gcc-patches; Kito Cheng Subject: Re: [PATCH] RISC-V: Add attributes for VSETVL PASS On Mon, 28 Nov 20

Re: Re: [PATCH] RISC-V: Add attributes for VSETVL PASS

2022-11-28 Thread 钟居哲
make RVV support in GCC stop here since LLVM already has all RVV support and GCC is far behind LLVM for a long time in case of RVV. juzhe.zh...@rivai.ai From: Palmer Dabbelt Date: 2022-11-29 02:02 To: jeffreyalaw CC: juzhe.zhong; gcc-patches; Kito Cheng Subject: Re: [PATCH] RISC-V: Add attri

Re: Re: [PATCH] RISC-V: Add attributes for VSETVL PASS

2022-11-28 Thread 钟居哲
ed in LLVM side in many different situations because of LCM. I am working on cleaning up the codes and hopefully you will see it soon in the next patch. Thanks juzhe.zh...@rivai.ai From: Jeff Law Date: 2022-11-29 00:44 To: juzhe.zhong; gcc-patches CC: kito.cheng; palmer Subject: Re: [PATCH] RISC-

Re: [PATCH] RISC-V: Add attributes for VSETVL PASS

2022-11-28 Thread Palmer Dabbelt
On Mon, 28 Nov 2022 08:44:16 PST (-0800), jeffreya...@gmail.com wrote: On 11/28/22 07:14, juzhe.zh...@rivai.ai wrote: From: Ju-Zhe Zhong gcc/ChangeLog: * config/riscv/riscv-protos.h (enum vlmul_type): New enum. (get_vlmul): New function. (get_ratio): Ditto.

Re: [PATCH] RISC-V: Add attributes for VSETVL PASS

2022-11-28 Thread Jeff Law via Gcc-patches
On 11/28/22 07:14, juzhe.zh...@rivai.ai wrote: From: Ju-Zhe Zhong gcc/ChangeLog: * config/riscv/riscv-protos.h (enum vlmul_type): New enum. (get_vlmul): New function. (get_ratio): Ditto. * config/riscv/riscv-v.cc (struct mode_vtype_group): New struct.

[PATCH] RISC-V: Add attributes for VSETVL PASS

2022-11-28 Thread juzhe . zhong
From: Ju-Zhe Zhong gcc/ChangeLog: * config/riscv/riscv-protos.h (enum vlmul_type): New enum. (get_vlmul): New function. (get_ratio): Ditto. * config/riscv/riscv-v.cc (struct mode_vtype_group): New struct. (ENTRY): Adapt for attributes. (enum vlmul_