RE: [PATCH] RISC-V: Add ZVFHMIN extension to the -march= option

2023-05-28 Thread Li, Pan2 via Gcc-patches
Sorry for disturbing but please help to take this PATCH in front of the reviewing queue as it blocks the RVV FP16 intrinsic support. Thanks a lot. Pan -Original Message- From: Li, Pan2 Sent: Thursday, May 25, 2023 8:46 PM To: gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; kito.ch...

RE: [PATCH] RISC-V: Add ZVFHMIN extension to the -march= option

2023-05-28 Thread Li, Pan2 via Gcc-patches
; Wang, Yanzhang Subject: Re: [PATCH] RISC-V: Add ZVFHMIN extension to the -march= option On Mon, May 29, 2023 at 9:32 AM Li, Pan2 via Gcc-patches wrote: > > Sorry for disturbing but please help to take this PATCH in front of the > reviewing queue as it blocks the RVV FP16 intrinsi

RE: [PATCH v2] RISC-V: Add ZVFHMIN extension to the -march= option

2023-05-28 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Kito Cheng Sent: Monday, May 29, 2023 10:40 AM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang Subject: Re: [PATCH v2] RISC-V: Add ZVFHMIN extension to the -march= option LGTM

RE: [PATCH V2] RISC-V: Fix incorrect VXRM configuration in mode switching for CALL and ASM

2023-05-28 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Kito Cheng Sent: Monday, May 29, 2023 10:22 AM To: juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosinc.com; jeffreya...@gmail.com; rdapp@gmail.com; Li, Pan2 Subject: Re:

RE: Re: [PATCH V2] RISC-V: Add RVV FMA auto-vectorization support

2023-05-28 Thread Li, Pan2 via Gcc-patches
Committed with 2 patches, thanks Kito. Pan From: juzhe.zh...@rivai.ai Sent: Monday, May 29, 2023 11:19 AM To: kito.cheng Cc: gcc-patches ; Kito.cheng ; palmer ; Robin Dapp ; jeffreyalaw ; Li, Pan2 Subject: Re: Re: [PATCH V2] RISC-V: Add RVV FMA auto-vectorization support This is existing bu

RE: [PATCH] RISC-V: Remove redundant printf of abs-run.c

2023-05-28 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Monday, May 29, 2023 11:43 AM To: 钟居哲 Cc: GCC Patches ; Kito Cheng ; Palmer Dabbelt ; Palmer Dabbelt ; Jeff Law ; Robin Dapp Subject: Re: [PATCH] RISC-V: Remove redundant p

RE: [PATCH] RISC-V: Eliminate the magic number in riscv-v.cc

2023-05-28 Thread Li, Pan2 via Gcc-patches
: [PATCH] RISC-V: Eliminate the magic number in riscv-v.cc LGTM On Fri, May 26, 2023 at 2:32 PM Li, Pan2 via Gcc-patches wrote: > > Thanks Robin. > > Sorry for not mentioned that it depends on another patch > https://gcc.gnu.org/pipermail/gcc-patches/2023-May/619536.html, which is in

RE: Re: [PATCH] RISC-V: Fix VSETVL PASS ICE on SLP auto-vectorization

2023-05-28 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan From: juzhe.zh...@rivai.ai Sent: Monday, May 29, 2023 2:02 PM To: kito.cheng Cc: Kito.cheng ; Robin Dapp ; gcc-patches ; jeffreyalaw ; palmer ; palmer ; Li, Pan2 Subject: Re: Re: [PATCH] RISC-V: Fix VSETVL PASS ICE on SLP auto-vectorization Yes. ___

RE: [PATCH v6] RISC-V: Using merge approach to optimize repeating sequence

2023-05-29 Thread Li, Pan2 via Gcc-patches
Updated the PATCH v7 for comments addressing. https://gcc.gnu.org/pipermail/gcc-patches/2023-May/619939.html Pan From: Li, Pan2 Sent: Thursday, May 25, 2023 11:17 AM To: juzhe.zh...@rivai.ai; gcc-patches Cc: Kito.cheng ; Wang, Yanzhang Subject: RE: [PATCH v6] RISC-V: Using merge approach to op

RE: [PATCH v7] RISC-V: Using merge approach to optimize repeating sequence in vec_init

2023-05-29 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Kito Cheng Sent: Monday, May 29, 2023 5:33 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang Subject: Re: [PATCH v7] RISC-V: Using merge approach to optimize repeating sequenc

RE: [PATCH] RISC-V: Eliminate the magic number in riscv-v.cc

2023-05-29 Thread Li, Pan2 via Gcc-patches
: [PATCH] RISC-V: Eliminate the magic number in riscv-v.cc LGTM On Fri, May 26, 2023 at 2:32 PM Li, Pan2 via Gcc-patches wrote: > > Thanks Robin. > > Sorry for not mentioned that it depends on another patch > https://gcc.gnu.org/pipermail/gcc-patches/2023-May/619536.html, which is in

RE: Re: [PATCH V2] RISC-V: Add RVV FMA auto-vectorization support

2023-05-29 Thread Li, Pan2 via Gcc-patches
Original Message- From: Kito Cheng Sent: Monday, May 29, 2023 6:35 PM To: Li, Pan2 Cc: juzhe.zh...@rivai.ai; gcc-patches ; Kito.cheng ; palmer ; Robin Dapp ; jeffreyalaw Subject: Re: Re: [PATCH V2] RISC-V: Add RVV FMA auto-vectorization support pushed the bug fixed part to gcc 13 branch On M

RE: [PATCH v1] RISC-V: Refactor comments and naming of riscv-v.cc.

2023-05-29 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Kito Cheng Sent: Monday, May 29, 2023 9:30 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; Wang, Yanzhang ; rdapp@gmail.com Subject: Re: [PATCH v1] RISC-V: Refactor comments and naming of riscv-v.cc. LGTM On

RE: [PATCH V2] RISC-V: Add RVV FNMA auto-vectorization support

2023-05-29 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Tuesday, May 30, 2023 10:04 AM To: juzhe.zh...@rivai.ai Cc: gcc-patches ; Kito.cheng ; palmer ; palmer ; jeffreyalaw ; Robin Dapp Subject: Re: [PATCH V2] RISC-V: Add RVV FNM

RE: [PATCH V2] RISC-V: Fix warning in riscv.md

2023-05-29 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Tuesday, May 30, 2023 10:10 AM To: juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosinc.com; jeffreya...@gmail.com; rda

RE: [PATCH V2] RISC-V: Add floating-point to integer conversion RVV auto-vectorization support

2023-05-29 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Tuesday, May 30, 2023 10:18 AM To: juzhe.zh...@rivai.ai Cc: gcc-patches ; Kito.cheng ; palmer ; palmer ; jeffreyalaw ; Robin Dapp Subject: Re: [PATCH V2] RISC-V: Add floatin

RE: [PATCH] RISC-V: Fix unreachable test code for init repeat sequence.

2023-05-30 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Kito Cheng Sent: Wednesday, May 31, 2023 8:50 AM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; Wang, Yanzhang ; daisukeokahas...@gmail.com Subject: Re: [PATCH] RISC-V: Fix unreachable test code for init repeat sequ

RE: [PATCH] RISC-V: Add ZVFH extension to the -march= option

2023-05-31 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Kito Cheng Sent: Wednesday, May 31, 2023 3:06 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; Wang, Yanzhang Subject: Re: [PATCH] RISC-V: Add ZVFH extension to the -march= option LGTM On Wed, May 31, 2023 at 2:

RE: [PATCH] RISC-V: Remove FRM for vfncvt.rod instruction

2023-05-31 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Wednesday, May 31, 2023 9:02 PM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@gmail.com; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosinc.com; rdapp

RE: [PATCH] RISC-V: Remove FRM for vfwcvt.f.x.v (RVV integer to float widening conversion)

2023-05-31 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Wednesday, May 31, 2023 9:01 PM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@gmail.com; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosinc.com; rdapp

RE: [PATCH] RISC-V: Remove FRM for vfwcvt (RVV float to float widening conversion)

2023-05-31 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Wednesday, May 31, 2023 9:03 PM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@gmail.com; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosinc.com; rdapp

RE: [PATCH] RISC-V: Add testcase for vrsub.vi auto-vectorization

2023-05-31 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Wednesday, May 31, 2023 9:07 PM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@gmail.com; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosinc.com; rdapp

RE: Re: [PATCH] RISC-V: Add vwadd/vwsub/vwmul/vwmulsu.vv lowering optimizaiton for RVV auto-vectorization

2023-05-31 Thread Li, Pan2 via Gcc-patches
Committed with that change, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of ??? Sent: Wednesday, May 31, 2023 9:24 PM To: Jeff Law ; rdapp.gcc ; gcc-patches Cc: kito.cheng ; kito.cheng ; palmer ; palmer Subject: Re: Re: [PATCH] RISC-V: Add vwadd/vwsub/vwmul/vwmuls

RE: [PATCH] RISC-V: Add RVV FRM enum for floating-point rounding mode intriniscs

2023-05-31 Thread Li, Pan2 via Gcc-patches
Committed as the doc updated, thanks Jeff. Pan -Original Message- From: Jeff Law Sent: Tuesday, May 30, 2023 1:03 AM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@gmail.com; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosinc.com; rdapp@gmail.com; Li, Pan2

RE: [PATCH] RISC-V: Introduce vfloat16m{f}*_t and their machine mode.

2023-06-01 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito and Juzhe. Pan -Original Message- From: Kito Cheng Sent: Thursday, June 1, 2023 3:21 PM To: juzhe.zh...@rivai.ai Cc: Li, Pan2 ; gcc-patches ; Kito.cheng ; Wang, Yanzhang Subject: Re: [PATCH] RISC-V: Introduce vfloat16m{f}*_t and their machine mode. LGTM, thanks

RE: [PATCH] RISC-V: Add test for vfloat16*_t (non tuple) types

2023-06-01 Thread Li, Pan2 via Gcc-patches
Thanks Juzhe for pointing out this. Pan -Original Message- From: Li, Pan2 Sent: Thursday, June 1, 2023 8:09 PM To: gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Li, Pan2 ; Wang, Yanzhang Subject: [PATCH] RISC-V: Add test for vfloat16*_t (non tuple) types Fr

RE: [PATCH V2] RISC-V: Support RVV permutation auto-vectorization

2023-06-01 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Friday, June 2, 2023 2:49 AM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@gmail.com; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosinc.com; rdapp...

RE: [PATCH] RISC-V: Add vwadd.wv/vwsub.wv auto-vectorization lowering optimization

2023-06-01 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Friday, June 2, 2023 2:52 AM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@gmail.com; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosinc.com; rdapp...

RE: [PATCH] RISC-V: Add __RISCV_ prefix to VXRM and FRM enum

2023-06-01 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Friday, June 2, 2023 7:49 AM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@sifive.com; pal...@rivosinc.com; rdapp@gmail.com Subject: Re: [PATCH] RISC-V: Ad

RE: [PATCH] RISC-V: Add test for vfloat16*_t (non tuple) types

2023-06-01 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan From: Kito Cheng Sent: Thursday, June 1, 2023 11:36 PM To: Li, Pan2 Cc: Wang, Yanzhang ; gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com Subject: Re: [PATCH] RISC-V: Add test for vfloat16*_t (non tuple) types Lgtm Li, Pan2 via Gcc-patches

RE: [PATCH] RISC-V: Fix warning in predicated.md

2023-06-01 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Friday, June 2, 2023 1:13 PM To: 钟居哲 Cc: GCC Patches ; Kito Cheng ; Palmer Dabbelt ; Palmer Dabbelt ; Jeff Law ; Robin Dapp Subject: Re: [PATCH] RISC-V: Fix warning in pred

RE: [PATCH] RISC-V: Optimize reverse series index vector

2023-06-02 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Friday, June 2, 2023 3:00 PM To: juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org; kito.ch...@gmail.com; pal...@dabbelt.com; pal...@rivosinc.com; jeffreya...@gmail.com; rdapp.

RE: [PATCH V2] RISC-V: Add _mu C++ overloaded intrinsics for load && viota && vid

2023-06-02 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Friday, June 2, 2023 3:25 PM To: juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosinc.com; jeffreya...@gmail.com; rdapp

RE: [PATCH V3] VECT: Change flow of decrement IV

2023-06-02 Thread Li, Pan2 via Gcc-patches
Committed, thanks all. Pan -Original Message- From: Gcc-patches On Behalf Of Richard Sandiford via Gcc-patches Sent: Friday, June 2, 2023 7:44 PM To: juzhe.zh...@rivai.ai Cc: rguenther ; gcc-patches ; linkw Subject: Re: [PATCH V3] VECT: Change flow of decrement IV "juzhe.zh...@rivai.

RE: Re: [PATCH V2] RISC-V: Add pseudo vwmul.wv pattern to enhance vwmul.vv instruction optimizations

2023-06-02 Thread Li, Pan2 via Gcc-patches
Committed, with Robin's suggestion for commit log, thanks Robin and Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Saturday, June 3, 2023 9:10 AM To: 钟居哲 Cc: Robin Dapp ; gcc-patches ; kito.cheng ; palmer ; palmer ; jeffreyalaw Subject:

RE: [PATCH V2] RISC-V: Fix warning in predicated.md

2023-06-02 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Saturday, June 3, 2023 4:57 AM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@gmail.com; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosinc.com; rdapp.

RE: [PATCH] RISC-V: Support RVV zvfh{min} vfloat16*_t mov and spill

2023-06-03 Thread Li, Pan2 via Gcc-patches
Great! Thanks Juzhe and let’s wait kito’s approval. Pan From: 钟居哲 Sent: Sunday, June 4, 2023 7:36 AM To: Li, Pan2 ; gcc-patches Cc: kito.cheng ; Li, Pan2 ; Wang, Yanzhang Subject: Re: [PATCH] RISC-V: Support RVV zvfh{min} vfloat16*_t mov and spill LGTM. Hope FP16 vector can be committed soon

RE: [PATCH] RISC-V: Support RVV zvfh{min} vfloat16*_t mov and spill

2023-06-03 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan From: Kito Cheng Sent: Sunday, June 4, 2023 9:01 AM To: Li, Pan2 Cc: 钟居哲 ; gcc-patches ; kito.cheng ; Wang, Yanzhang Subject: Re: [PATCH] RISC-V: Support RVV zvfh{min} vfloat16*_t mov and spill LGTM Li, Pan2 via Gcc-patches mailto:gcc-patches@gcc.gnu.org>

RE: [NFC] RISC-V: Move optimization patterns into autovec-opt.md

2023-06-04 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Sunday, June 4, 2023 9:14 PM To: juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org; jeffreya...@gmail.com; pal...@rivosinc.com; rdapp@gmail.com Subject: Re: [NFC] RISC-V: M

RE: [PATCH] RISC-V: Support RVV FP16 ZVFHMIN intrinsic API

2023-06-04 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito and Juzhe. Pan -Original Message- From: Kito Cheng Sent: Sunday, June 4, 2023 9:38 PM To: 钟居哲 Cc: Li, Pan2 ; gcc-patches ; kito.cheng ; Wang, Yanzhang Subject: Re: [PATCH] RISC-V: Support RVV FP16 ZVFHMIN intrinsic API LGTM too, thanks On Sun, Jun 4, 2023 at

RE: [PATCH] RISC-V: Remove redundant vlmul_ext_* patterns to fix PR110109

2023-06-04 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Sunday, June 4, 2023 9:55 PM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@sifive.com; pal...@rivosinc.com; rdapp@gmail.com Subject: Re: [PATCH] RISC-V: Re

RE: [PATCH] RISC-V: Split arguments of expand_vec_perm

2023-06-04 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Sunday, June 4, 2023 11:28 PM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@sifive.com; pal...@rivosinc.com; rdapp@gmail.com Subject: Re: [PATCH] RISC-V: S

RE: [NFC] RISC-V: Reorganize riscv-v.cc

2023-06-04 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Sunday, June 4, 2023 11:40 PM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@sifive.com; pal...@rivosinc.com; rdapp@gmail.com Subject: Re: [NFC] RISC-V: Reo

RE: [PATCH] RISCV: Add -m(no)-omit-leaf-frame-pointer support.

2023-06-04 Thread Li, Pan2 via Gcc-patches
Some nit comments. +static bool +riscv_frame_pointer_required (void) +{ + if (riscv_save_frame_pointer && !crtl->is_leaf) +return true; + + return false; +} Can be simplified to return riscv_save_frame_pointer && !crtl->is_leaf; + riscv_save_frame_pointer = false; + if (TARGET_OMIT_LEAF_

RE: [PATCH v1] RISC-V: Support RVV FP16 ZVFH floating-point intrinsic API

2023-06-05 Thread Li, Pan2 via Gcc-patches
Thanks, make sense, will update V2 for this. Pan From: juzhe.zh...@rivai.ai Sent: Monday, June 5, 2023 3:30 PM To: Li, Pan2 ; gcc-patches Cc: Kito.cheng ; Li, Pan2 ; Wang, Yanzhang Subject: Re: [PATCH v1] RISC-V: Support RVV FP16 ZVFH floating-point intrinsic API +DEF_RVV_WEXTF_OPS (vfloat

RE: [PATCH v1] RISC-V: Support RVV FP16 ZVFH floating-point intrinsic API

2023-06-05 Thread Li, Pan2 via Gcc-patches
Updated the PATCH V2 for the ZVFH requirement. https://gcc.gnu.org/pipermail/gcc-patches/2023-June/620636.html Pan From: Li, Pan2 Sent: Monday, June 5, 2023 3:37 PM To: juzhe.zh...@rivai.ai; gcc-patches Cc: Kito.cheng ; Wang, Yanzhang Subject: RE: [PATCH v1] RISC-V: Support RVV FP16 ZVFH float

RE: [PATCH v2] RISC-V: Support RVV FP16 ZVFH floating-point intrinsic API

2023-06-05 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito and Juzhe. Pan -Original Message- From: Kito Cheng Sent: Monday, June 5, 2023 4:47 PM To: juzhe.zh...@rivai.ai Cc: Li, Pan2 ; gcc-patches ; Wang, Yanzhang Subject: Re: [PATCH v2] RISC-V: Support RVV FP16 ZVFH floating-point intrinsic API LGTM too, thanks :) O

RE: [PATCH v1] RISC-V: Fix some typo in vector-iterators.md

2023-06-05 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Jeff Law Sent: Tuesday, June 6, 2023 3:01 AM To: Li, Pan2 ; gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang Subject: Re: [PATCH v1] RISC-V: Fix some typo in vector-iterators.md On 6/5/23 09

RE: [PATCH] RISC-V: Fix 'REQUIREMENT' for machine_mode 'MODE' in vector-iterators.md.

2023-06-05 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito and Juzhe. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Monday, June 5, 2023 4:39 PM To: juzhe.zh...@rivai.ai Cc: Li Xu ; gcc-patches ; palmer Subject: Re: [PATCH] RISC-V: Fix 'REQUIREMENT' for machine_mode 'MODE' in ve

RE: Re: [PATCH v1] RISC-V: Support RVV FP16 ZVFH Reduction floating-point intrinsic API

2023-06-05 Thread Li, Pan2 via Gcc-patches
I see. I restricted the ZVFH/ZVFHMIN from the riscv-vector-builtins-types.def for ops definition but lack the consideration of autovec part. Do you prefer leave this PATCH as is and fix this issue in another PATCH entirely OR update this PATCH V2 for predictor and send another PATCH for the p

RE: Re: [PATCH v1] RISC-V: Support RVV FP16 ZVFH Reduction floating-point intrinsic API

2023-06-05 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito and Juzhe, will fix the issue we discussed soon. Pan -Original Message- From: Kito Cheng Sent: Tuesday, June 6, 2023 9:48 AM To: juzhe.zh...@rivai.ai Cc: kito.cheng ; Li, Pan2 ; gcc-patches ; Wang, Yanzhang Subject: Re: Re: [PATCH v1] RISC-V: Support RVV FP16 ZV

RE: [PATCH v1] RISC-V: Refactor ZVFHMIN to separated iterator and pattern

2023-06-06 Thread Li, Pan2 via Gcc-patches
IMO, TARGET_ZVFH || TARGET_ZVFHMIN may be a little readable compares to FP_16, or some context I missed. Anyway as we discussed offline, will refine this part and add zvfh part in V2. Pan From: 钟居哲 Sent: Tuesday, June 6, 2023 10:07 PM To: Li, Pan2 ; gcc-patches Cc: kito.cheng ; Li, Pan2 ; Wang

RE: [PATCH V4] RISC-V: Add RVV vwmacc/vwmaccu/vwmaccsu combine lowering optmization

2023-06-06 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Tuesday, June 6, 2023 10:45 PM To: juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org; pal...@rivosinc.com; rdapp@gmail.com; jeffreya...@gmail.com Subject: Re: [PATCH V4] RI

RE: [PATCH v1] RISC-V: Refactor ZVFHMIN to separated iterator and pattern

2023-06-06 Thread Li, Pan2 via Gcc-patches
Update the PATCH V2 as below. https://gcc.gnu.org/pipermail/gcc-patches/2023-June/620787.html Pan From: Li, Pan2 Sent: Tuesday, June 6, 2023 10:34 PM To: 钟居哲 ; gcc-patches Cc: kito.cheng ; Wang, Yanzhang Subject: RE: [PATCH v1] RISC-V: Refactor ZVFHMIN to separated iterator and pattern IMO,

RE: Re: [PATCH] RISC-V: Fix ICE when include riscv_vector.h with rv64gcv

2023-06-06 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito and Juzhe. Pan From: juzhe.zh...@rivai.ai Sent: Wednesday, June 7, 2023 10:26 AM To: kito.cheng ; Li, Pan2 Cc: gcc-patches ; Kito.cheng ; Wang, Yanzhang ; Robin Dapp Subject: Re: Re: [PATCH] RISC-V: Fix ICE when include riscv_vector.h with rv64gcv LGTM. _

RE: [PATCH v1] RISC-V: Refactor ZVFHMIN to separated iterator and pattern

2023-06-06 Thread Li, Pan2 via Gcc-patches
Update the PATCH v3 with rvv.exp/riscv.exp all passed as below. https://gcc.gnu.org/pipermail/gcc-patches/2023-June/620855.html Pan -Original Message- From: Gcc-patches On Behalf Of Li, Pan2 via Gcc-patches Sent: Tuesday, June 6, 2023 11:34 PM To: 钟居哲 ; gcc-patches Cc: kito.cheng

RE: [PATCH v3] RISC-V: Refactor requirement of ZVFH and ZVFHMIN.

2023-06-06 Thread Li, Pan2 via Gcc-patches
Thanks JuZhe, make sense, will update the V4 for this change. Pan From: juzhe.zh...@rivai.ai Sent: Wednesday, June 7, 2023 12:21 PM To: Li, Pan2 ; gcc-patches Cc: Kito.cheng ; Li, Pan2 ; Wang, Yanzhang Subject: Re: [PATCH v3] RISC-V: Refactor requirement of ZVFH and ZVFHMIN. HI, + (VNx1SF

RE: [PATCH v3] RISC-V: Refactor requirement of ZVFH and ZVFHMIN.

2023-06-06 Thread Li, Pan2 via Gcc-patches
Update the PATCH V4 as below, sorry for missed the v4 prefix in subject. https://gcc.gnu.org/pipermail/gcc-patches/2023-June/620879.html Pan From: Li, Pan2 Sent: Wednesday, June 7, 2023 2:21 PM To: juzhe.zh...@rivai.ai; gcc-patches Cc: Kito.cheng ; Wang, Yanzhang Subject: RE: [PATCH v3] RISC-V

RE: [PATCH v3] RISC-V: Refactor requirement of ZVFH and ZVFHMIN.

2023-06-07 Thread Li, Pan2 via Gcc-patches
Minor change in PATCH V5, please help to turn to V5 as below, sorry for inconvenient. https://gcc.gnu.org/pipermail/gcc-patches/2023-June/620890.html Pan From: Li, Pan2 Sent: Wednesday, June 7, 2023 2:57 PM To: 'juzhe.zh...@rivai.ai' ; 'gcc-patches' Cc: 'Kito.cheng' ; Wang, Yanzhang Subject

RE: [PATCH v5] RISC-V: Refactor requirement of ZVFH and ZVFHMIN.

2023-06-07 Thread Li, Pan2 via Gcc-patches
Thanks Juzhe for reviewing. I see, this way may have even smaller code change which treats the zvfhmin as minimal base sub extension. I will have a try for PATCH V6. Pan From: juzhe.zh...@rivai.ai Sent: Wednesday, June 7, 2023 4:27 PM To: Li, Pan2 ; gcc-patches Cc: Robin Dapp ; jeffreyalaw ; L

RE: [PATCH v5] RISC-V: Refactor requirement of ZVFH and ZVFHMIN.

2023-06-07 Thread Li, Pan2 via Gcc-patches
Update the PATCH v7 (please help to ignore v6) for this change, thanks Juzhe for the suggestion. https://gcc.gnu.org/pipermail/gcc-patches/2023-June/621012.html Pan From: Li, Pan2 Sent: Wednesday, June 7, 2023 4:43 PM To: juzhe.zh...@rivai.ai; gcc-patches Cc: Robin Dapp ; jeffreyalaw ; Wang,

RE: [PATCH v7] RISC-V: Refactor requirement of ZVFH and ZVFHMIN.

2023-06-07 Thread Li, Pan2 via Gcc-patches
Sure, update it in PATCH v8. https://gcc.gnu.org/pipermail/gcc-patches/2023-June/621016.html Pan From: juzhe.zh...@rivai.ai Sent: Thursday, June 8, 2023 2:09 PM To: Li, Pan2 ; gcc-patches Cc: Robin Dapp ; jeffreyalaw ; Li, Pan2 ; Wang, Yanzhang Subject: Re: [PATCH v7] RISC-V: Refactor requir

RE: [PATCH v8] RISC-V: Refactor requirement of ZVFH and ZVFHMIN.

2023-06-08 Thread Li, Pan2 via Gcc-patches
Looks doable up to a point, I will have a try and keep you posted. Pan -Original Message- From: Kito Cheng Sent: Thursday, June 8, 2023 3:58 PM To: juzhe.zh...@rivai.ai Cc: Li, Pan2 ; gcc-patches ; Robin Dapp ; jeffreyalaw ; Wang, Yanzhang Subject: Re: [PATCH v8] RISC-V: Refactor req

RE: Re: [PATCH v8] RISC-V: Refactor requirement of ZVFH and ZVFHMIN.

2023-06-08 Thread Li, Pan2 via Gcc-patches
Thanks Juzhe for the idea. It looks work well as we expected, with the following try. 1. Allow all FP=16 types for vfadd, then _zvfh and _zvfhmin will be OK. 2. Add restriction define_attr as juzhe mentioned, then _zvfh works well, and _zvfhmin will meet error like unsatisfied insn. I th

RE: [PATCH v2] RISC-V: Add more test cases for RVV FP16

2023-06-08 Thread Li, Pan2 via Gcc-patches
Committed as passed all riscv.exp rvv.exp tests, thanks Jeff. Pan -Original Message- From: Jeff Law Sent: Thursday, June 8, 2023 10:01 PM To: Li, Pan2 ; gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; rdapp@gmail.com; Wang, Yanzhang ; kito.ch...@gmail.com Subject: Re: [PATCH v2]

RE: [PATCH v9] RISC-V: Refactor requirement of ZVFH and ZVFHMIN.

2023-06-08 Thread Li, Pan2 via Gcc-patches
-;; ISA attributes. -(define_attr "ext" "base,f,d,vector" - (const_string "base")) - -;; True if the extension is enabled. -(define_attr "ext_enabled" "no,yes" - (cond [(eq_attr "ext" "base") - (const_string "yes") - - (and (eq_attr "ext" "f") - (match_test "TARGET_HARD_FLOAT")) - (const_st

RE: RE: [PATCH v9] RISC-V: Refactor requirement of ZVFH and ZVFHMIN.

2023-06-08 Thread Li, Pan2 via Gcc-patches
By logically, Yes, we should not change that but here I would like to put all enable related code together, will remove this part as it may has no relationship with this patch. Pan From: juzhe.zh...@rivai.ai Sent: Friday, June 9, 2023 2:31 PM To: Li, Pan2 ; gcc-patches Cc: Robin Dapp ; jeffre

RE: RE: [PATCH v9] RISC-V: Refactor requirement of ZVFH and ZVFHMIN.

2023-06-09 Thread Li, Pan2 via Gcc-patches
Thanks Juzhe and Kito for reviewing, update the PATCH v10 as below. https://gcc.gnu.org/pipermail/gcc-patches/2023-June/621104.html Pan -Original Message- From: Gcc-patches On Behalf Of Li, Pan2 via Gcc-patches Sent: Friday, June 9, 2023 2:41 PM To: juzhe.zh...@rivai.ai; gcc-patches

RE: [PATCH v1] RISC-V: Fix one warning of frm enum.

2023-06-09 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito and Juzhe. Pan From: Kito Cheng Sent: Friday, June 9, 2023 4:11 PM To: juzhe.zh...@rivai.ai Cc: Robin Dapp ; gcc-patches ; jeffreyalaw ; Li, Pan2 ; Wang, Yanzhang Subject: Re: [PATCH v1] RISC-V: Fix one warning of frm enum. Lgtm juzhe.zh...@rivai.ai

RE: [PATCH v10] RISC-V: Refactor requirement of ZVFH and ZVFHMIN.

2023-06-09 Thread Li, Pan2 via Gcc-patches
Committed, thanks Juzhe and Kito. Pan -Original Message- From: Kito Cheng Sent: Friday, June 9, 2023 4:28 PM To: juzhe.zh...@rivai.ai Cc: Li, Pan2 ; gcc-patches ; Robin Dapp ; jeffreyalaw ; Wang, Yanzhang Subject: Re: [PATCH v10] RISC-V: Refactor requirement of ZVFH and ZVFHMIN. lgt

RE: [PATCH V6] VECT: Add SELECT_VL support

2023-06-09 Thread Li, Pan2 via Gcc-patches
Committed with bootstrap and regression test passed, thanks all. Pan -Original Message- From: Gcc-patches On Behalf Of Richard Sandiford via Gcc-patches Sent: Saturday, June 10, 2023 1:44 AM To: juzhe.zh...@rivai.ai Cc: rguenther ; gcc-patches Subject: Re: [PATCH V6] VECT: Add SELECT_V

RE: [PATCH] RISC-V: Enable select_vl for RVV auto-vectorization

2023-06-09 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Saturday, June 10, 2023 11:03 AM To: juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org; kito.ch...@sifive.com; pal...@rivosinc.com; rdapp@gmail.com; jeffreya...@gmail.com S

RE: [PATCH v1] RISC-V: Add test cases for RVV FP16 vreinterpret

2023-06-09 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Kito Cheng Sent: Saturday, June 10, 2023 11:03 AM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; rdapp@gmail.com; jeffreya...@gmail.com; Wang, Yanzhang Subject: Re: [PATCH v1] RISC-V: Add test cases for RVV FP1

RE: [PATCH V3] RISC-V: Rework Phase 5 && Phase 6 of VSETVL PASS

2023-06-10 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Sunday, June 11, 2023 12:49 AM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@sifive.com; pal...@rivosinc.com; rdapp@gmail.com Subject: Re: [PATCH V3] RISC-

RE: [PATCH v1] RISC-V: Add test cases for RVV FP16 undefined and vlmul trunc

2023-06-11 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito and Juzhe. Pan From: Kito Cheng Sent: Monday, June 12, 2023 11:32 AM To: 钟居哲 Cc: Li, Pan2 ; gcc-patches ; Robin Dapp ; jeffreyalaw ; Wang, Yanzhang Subject: Re: [PATCH v1] RISC-V: Add test cases for RVV FP16 undefined and vlmul trunc LGTM juzhe.zh...@rivai.ai

RE: [PATCH v1] RISC-V: Support RVV FP16 MISC vlmul ext intrinsic API

2023-06-11 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito and Juzhe. Pan From: Kito Cheng Sent: Monday, June 12, 2023 11:33 AM To: 钟居哲 Cc: Li, Pan2 ; gcc-patches ; rdapp.gcc ; Jeff Law ; Wang, Yanzhang Subject: Re: [PATCH v1] RISC-V: Support RVV FP16 MISC vlmul ext intrinsic API Lgtm too :) 钟居哲 mailto:juzhe.zh...@rivai.ai>>

RE: [PATCH V2] RISC-V: Add ZVFHMIN block autovec testcase

2023-06-12 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito and Robin. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Monday, June 12, 2023 8:19 PM To: Robin Dapp Cc: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosinc.com; jeff

RE: [PATCH v5] RISC-V: Add vector psabi checking.

2023-06-12 Thread Li, Pan2 via Gcc-patches
Sure thing, will commit it after all riscv.exp rvv.exp pass. Pan -Original Message- From: Kito Cheng Sent: Monday, June 12, 2023 8:43 PM To: Wang, Yanzhang Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; Li, Pan2 Subject: Re: [PATCH v5] RISC-V: Add vector psabi checking. Hi Yan-Zh

RE: Re: [PATCH] RISC-V: Add RVV narrow shift right lowering auto-vectorization

2023-06-12 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito and will take care of the define_insn_and_split part in another PATCH. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Monday, June 12, 2023 8:45 PM To: juzhe.zh...@rivai.ai Cc: kito.cheng ; gcc-patches ; palmer ; palmer ;

RE: [PATCH v1] RISC-V: Support RVV FP16 MISC vlmul ext intrinsic API

2023-06-12 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito and Juzhe. Pan From: Kito Cheng Sent: Monday, June 12, 2023 11:33 AM To: 钟居哲 Cc: Li, Pan2 ; gcc-patches ; rdapp.gcc ; Jeff Law ; Wang, Yanzhang Subject: Re: [PATCH v1] RISC-V: Support RVV FP16 MISC vlmul ext intrinsic API Lgtm too :) 钟居哲 mailto:juzhe.zh...@rivai.ai>>

RE: [PATCH v1] RISC-V: Fix one potential test failure for RVV vsetvl

2023-06-12 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Sounds good to me. Not sure if there are some tests focus on -O0/Os/Oz, we can refine this in another PATCH. Pan -Original Message- From: Kito Cheng Sent: Monday, June 12, 2023 8:30 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; rdapp@g

RE: [PATCH] RISC-V: Fix V_WHOLE && V_FRACT iterator requirement

2023-06-12 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Tuesday, June 13, 2023 3:54 AM To: juzhe.zh...@rivai.ai; Robin Dapp ; gcc-patches Cc: Kito.cheng ; palmer Subject: Re: [PATCH] RISC-V: Fix V_WHOLE && V_FRACT iterator requirem

RE: [PATCH V2] RISC-V: Enhance RVV VLA SLP auto-vectorization with decompress operation

2023-06-12 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Tuesday, June 13, 2023 3:43 AM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@sifive.com; pal...@rivosinc.com; rdapp@gmail.com Subject: Re: [PATCH V2] RISC-

RE: [PATCH v1] RISC-V: Fix one typo in full-vec-movel test

2023-06-13 Thread Li, Pan2 via Gcc-patches
Committed, thanks Robin and Juzhe. Pan -Original Message- From: Robin Dapp Sent: Tuesday, June 13, 2023 3:24 PM To: juzhe.zh...@rivai.ai; Li, Pan2 ; gcc-patches Cc: rdapp@gmail.com; jeffreyalaw ; Wang, Yanzhang ; kito.cheng Subject: Re: [PATCH v1] RISC-V: Fix one typo in full-ve

RE: [PATCH v5] RISC-V: Add vector psabi checking.

2023-06-13 Thread Li, Pan2 via Gcc-patches
Committed v6 with riscv.exp and rvv.exp passed, thanks Kito. Pan -Original Message- From: Li, Pan2 Sent: Monday, June 12, 2023 8:49 PM To: Kito Cheng ; Wang, Yanzhang Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai Subject: RE: [PATCH v5] RISC-V: Add vector psabi checking. Sure thing

RE: [PATCH] RISC-V: Fix bug of VLA SLP auto-vectorization

2023-06-13 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Tuesday, June 13, 2023 9:30 PM To: Robin Dapp ; juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@gmail.com; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosi

RE: [PATCH V3] RISC-V: Add more SLP tests

2023-06-13 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Tuesday, June 13, 2023 9:26 PM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@gmail.com; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosinc.com; rdapp.

RE: [PATCH] RISC-V: Add comments of some functions

2023-06-13 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Tuesday, June 13, 2023 10:06 PM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@gmail.com; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosinc.com; rdapp

RE: [PATCH] RISC-V: Remove duplicate `#include "riscv-vector-switch.def"`

2023-06-13 Thread Li, Pan2 via Gcc-patches
Committed, thanks Juzhe. Pan -Original Message- From: Gcc-patches On Behalf Of juzhe.zh...@rivai.ai Sent: Tuesday, June 13, 2023 6:56 PM To: 丁乐华 ; gcc-patches Subject: Re: [PATCH] RISC-V: Remove duplicate `#include "riscv-vector-switch.def"` Send V2 patch with changelog. Thanks. j

RE: [PATCH v1] RISC-V: Align the predictor style for define_insn_and_split

2023-06-13 Thread Li, Pan2 via Gcc-patches
Thanks Juzhe, Just passed the RV64 riscv/rvv.exp but meet some failures in RV32 the same as upstream. However, this patch may not introduce new failures but I am not quite sure if there is risk here. lowlist `find build-gcc-newlib-stage2/gcc/testsuite/ -name *.sum |paste -sd "," -`

RE: Re: [PATCH v1] RISC-V: Align the predictor style for define_insn_and_split

2023-06-13 Thread Li, Pan2 via Gcc-patches
Thanks Juzhe for explanation, that make more sense to me and sorry for disturbing. Pan From: juzhe.zh...@rivai.ai Sent: Wednesday, June 14, 2023 2:31 PM To: Robin Dapp ; Li, Pan2 ; gcc-patches Cc: Robin Dapp ; jeffreyalaw ; Wang, Yanzhang ; kito.cheng Subject: Re: Re: [PATCH v1] RISC-V: Ali

RE: [PATCH v1] RISC-V: Align the predictor style for define_insn_and_split

2023-06-13 Thread Li, Pan2 via Gcc-patches
> Any numbers on this Pan? How many cores do you use for running the testsuite? Sorry for missing this part. It takes about 4-6 minutes with spike and 16 cores. Pan -Original Message- From: Robin Dapp Sent: Wednesday, June 14, 2023 2:47 PM To: Li, Pan2 ; juzhe.zh...@rivai.ai; gcc-patche

RE: Re: [PATCH v1] RISC-V: Align the predictor style for define_insn_and_split

2023-06-14 Thread Li, Pan2 via Gcc-patches
Sure, working on the V2 as well as the RV32 testing, will reply the bugfix PATCH once ready. Pan From: juzhe.zh...@rivai.ai Sent: Wednesday, June 14, 2023 3:01 PM To: Robin Dapp ; Li, Pan2 ; gcc-patches Cc: Robin Dapp ; jeffreyalaw ; Wang, Yanzhang ; kito.cheng Subject: Re: Re: [PATCH v1] R

RE: [PATCH v1] RISC-V: Bugfix for vec_init repeating auto vectorization in RV32

2023-06-14 Thread Li, Pan2 via Gcc-patches
Thanks Juzhe for reviewing, update the PATCH v2 as below. https://gcc.gnu.org/pipermail/gcc-patches/2023-June/621645.html Pan From: juzhe.zh...@rivai.ai Sent: Wednesday, June 14, 2023 9:07 AM To: Li, Pan2 ; gcc-patches Cc: Robin Dapp ; jeffreyalaw ; Li, Pan2 ; Wang, Yanzhang ; kito.cheng Su

RE: [PATCH v2] RISC-V: Bugfix for vec_init repeating auto vectorization in RV32

2023-06-14 Thread Li, Pan2 via Gcc-patches
Thanks Robin, that looks like much better than the v2, let me update it to PATCH v3. Pan -Original Message- From: Robin Dapp Sent: Wednesday, June 14, 2023 4:27 PM To: Li, Pan2 ; gcc-patches@gcc.gnu.org Cc: rdapp@gmail.com; juzhe.zh...@rivai.ai; jeffreya...@gmail.com; Wang, Yanzha

RE: Re: [PATCH] RISC-V: Ensure vector args and return use function stack to pass [PR110119]

2023-06-14 Thread Li, Pan2 via Gcc-patches
Nit for test. +/* { dg-options "-march=rv64gczve32x +--param=riscv-autovec-preference=fixed-vlmax" } */ To +/* { dg-options "-march=rv64gc_zve32x --param=riscv-autovec-preference=fixed-vlmax" } */ Pan -Original Message- From: Gcc-patches On Behalf Of juzhe.zh...@rivai.ai Sent: Wedn

RE: [PATCH v3] RISC-V: Bugfix for vec_init repeating auto vectorization in RV32

2023-06-14 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff and Juzhe. Pan -Original Message- From: Jeff Law Sent: Thursday, June 15, 2023 2:56 AM To: juzhe.zh...@rivai.ai; Li, Pan2 ; gcc-patches Cc: Robin Dapp ; Wang, Yanzhang ; kito.cheng Subject: Re: [PATCH v3] RISC-V: Bugfix for vec_init repeating auto vectorizati

RE: [PATCH v1] RISC-V: Align the predictor style for define_insn_and_split

2023-06-14 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff and Juzhe, sorry for misleading. Pan -Original Message- From: Jeff Law Sent: Thursday, June 15, 2023 2:51 AM To: juzhe.zh...@rivai.ai; Li, Pan2 ; gcc-patches Cc: Robin Dapp ; Wang, Yanzhang ; kito.cheng Subject: Re: [PATCH v1] RISC-V: Align the predictor style

RE: [PATCH V2] RISC-V: Ensure vector args and return use function stack to pass [PR110119]

2023-06-14 Thread Li, Pan2 via Gcc-patches
Committed with the comment update,, thanks Jeff and Juzhe. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Thursday, June 15, 2023 3:08 AM To: Lehua Ding ; gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; rdapp@gamil.com; jeffreya...@gamil.com;

RE: [PATCH] RISC-V: Use merge approach to optimize vector permutation

2023-06-14 Thread Li, Pan2 via Gcc-patches
Addressed the comments in PATCH v2 as below. https://gcc.gnu.org/pipermail/gcc-patches/2023-June/621789.html Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Thursday, June 15, 2023 3:11 AM To: Robin Dapp ; juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.

  1   2   3   4   5   6   >