RE: Re: [PATCH V2] RISC-V: Fix magic number of RVV auto-vectorization expander

2023-05-23 Thread Li, Pan2 via Gcc-patches
Committed, thanks Palmer. Pan -Original Message- From: Gcc-patches On Behalf Of Palmer Dabbelt Sent: Wednesday, May 24, 2023 9:37 AM To: juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org; Kito Cheng ; kito.ch...@sifive.com; jeffreya...@gmail.com; rdapp@gmail.com Subject: Re: Re: [PA

RE: [PATCH V2] RISC-V: Fix incorrect code of reaching inaccessible memory address

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

RE: [PATCH] RISC-V: Support RVV VREINTERPRET from v{u}int*_t to vbool[2-64]_t

2023-05-23 Thread Li, Pan2 via Gcc-patches
Just to make sure below 2 VREINTERPRET related PATCH are still in the queue, 😉! https://gcc.gnu.org/pipermail/gcc-patches/2023-May/618877.html https://gcc.gnu.org/pipermail/gcc-patches/2023-May/618881.html Pan From: Kito Cheng Sent: Saturday, May 20, 2023 9:58 PM To: Li, Pan2 Cc: gcc-patches

RE: [PATCH v2] RISC-V: Support RVV VREINTERPRET from vbool*_t to vint*m1_t

2023-05-23 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Kito Cheng Sent: Wednesday, May 24, 2023 11:22 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: Support RVV VREINTERPRET from vbool*_t to

RE: [PATCH] RISC-V: Support RVV VREINTERPRET from vbool*_t to vuint*m1_t

2023-05-23 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Kito Cheng Sent: Wednesday, May 24, 2023 11:22 AM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang Subject: Re: [PATCH] RISC-V: Support RVV VREINTERPRET from vbool*_t to vuint

RE: [PATCH V5] RISC-V: Add RVV comparison autovectorization

2023-05-23 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Wednesday, May 24, 2023 11:35 AM To: juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org; kito.ch...@gmail.com; pal...@dabbelt.com; pal...@rivosinc.com; jeffreya...@gmail.com; rd

RE: Re: [V2 COMMITTED] RISC-V: Add RVV mask logic auto-vectorization

2023-05-24 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Kito Cheng Sent: Wednesday, May 24, 2023 4:08 PM To: juzhe.zh...@rivai.ai Cc: gcc-patches ; Kito.cheng ; palmer ; palmer ; jeffreyalaw ; Robin Dapp ; Li, Pan2 Subject: Re: Re: [V2 COMMITTED] RISC-V: Add RVV mask logic auto

RE: [PATCH] RISC-V: Add FRM_ prefix to dynamic rounding mode enum

2023-05-24 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Wednesday, May 24, 2023 7:21 PM To: juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org; kito.ch...@sifive.com; pal...@rivosinc.com; rdapp@gmail.com; jeffreya...@gmail.com Su

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

2023-05-24 Thread Li, Pan2 via Gcc-patches
Hi Kito, Update the PATCH v6 with refactored framework as below, thanks for comments. https://gcc.gnu.org/pipermail/gcc-patches/2023-May/619536.html Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Wednesday, May 17, 2023 11:52 AM To: juzhe.zh...@

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

2023-05-24 Thread Li, Pan2 via Gcc-patches
Oops, forget to remove it in previous version, will wait a while and update them together. Pan From: juzhe.zh...@rivai.ai Sent: Thursday, May 25, 2023 11:14 AM To: Li, Pan2 ; gcc-patches Cc: Kito.cheng ; Li, Pan2 ; Wang, Yanzhang Subject: Re: [PATCH v6] RISC-V: Using merge approach to

RE: [PATCH] RISC-V: Remove FRM_REGNUM dependency for rtx conversions

2023-05-24 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Thursday, May 25, 2023 12:02 PM To: juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org; pal...@rivosinc.com; rdapp@gmail.com; jeffreya...@gmail.com Subject: Re: [PATCH] RISC

RE: [PATCH] RISC-V: Add autovec sign/zero extension and truncation.

2023-05-25 Thread Li, Pan2 via Gcc-patches
The zero-scratch-regs-3.c comes from below PATCH. https://gcc.gnu.org/pipermail/gcc-patches/2023-April/615494.html Hi Yanzhang, Could you please help to double check the issue reported by Robin? Aka: " zero-scratch-regs-3.c seems to FAIL in vcondu but that already happens on trunk." Thanks a

RE: [PATCH V16] VECT: Add decrement IV iteration loop control by variable amount support

2023-05-25 Thread Li, Pan2 via Gcc-patches
Committed, thanks Richard. Pan -Original Message- From: Gcc-patches On Behalf Of Richard Biener via Gcc-patches Sent: Thursday, May 25, 2023 9:06 PM To: Richard Sandiford Cc: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Subject: Re: [PATCH V16] VECT: Add decrement IV iteration loop co

RE: [PATCH] RISC-V: Add autovec sign/zero extension and truncation.

2023-05-25 Thread Li, Pan2 via Gcc-patches
Looks Juzhe has fixed this issue as below, thanks Juzhe. https://gcc.gnu.org/pipermail/gcc-patches/2023-May/619733.html Pan -Original Message- From: Li, Pan2 Sent: Thursday, May 25, 2023 8:22 PM To: gcc-patches ; Wang, Yanzhang Cc: Robin Dapp ; Kito Cheng ; palmer ; juzhe.zh

RE: [PATCH] RISC-V: Fix zero-scratch-regs-3.c fail

2023-05-25 Thread Li, Pan2 via Gcc-patches
Committed the PATCH v2, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Friday, May 26, 2023 7:48 AM To: 钟居哲 Cc: GCC Patches ; Jeff Law ; Jeff Law ; Kito Cheng ; Palmer Dabbelt Subject: Re: [PATCH] RISC-V: Fix zero-scratch-regs-3.c

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

2023-05-25 Thread Li, Pan2 via Gcc-patches
. I can file another PATCH to make it happen due to it is another thing besides magic number elimination. Pan -Original Message- From: Robin Dapp Sent: Friday, May 26, 2023 2:24 PM To: Li, Pan2 ; gcc-patches@gcc.gnu.org Cc: rdapp@gmail.com; juzhe.zh...@rivai.ai; kito.ch...@sifive.com

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
Thanks Kito, update the PATCH v2 for addressing comments. https://gcc.gnu.org/pipermail/gcc-patches/2023-May/619868.html Pan -Original Message- From: Kito Cheng Sent: Monday, May 29, 2023 10:18 AM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com

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

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
Thanks Kito, will commit this after the vec_init repeated sequence patch. Pan -Original Message- From: Kito Cheng Sent: Monday, May 29, 2023 10:20 AM To: Li, Pan2 Cc: Robin Dapp ; gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang Subject: Re

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

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

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

2023-05-29 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Li, Pan2 Sent: Monday, May 29, 2023 1:38 PM To: Kito Cheng Cc: Robin Dapp ; gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang Subject: RE: [PATCH] RISC-V: Eliminate the magic number in riscv-v.cc

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

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

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

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

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

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

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
me_pointer implicitly? Pan -Original Message- From: Wang, Yanzhang Sent: Friday, June 2, 2023 3:07 PM To: gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Li, Pan2 ; Wang, Yanzhang Subject: [PATCH] RISCV: Add -m(no)-omit-leaf-frame-pointer support. From: Yanzhan

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

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

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

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

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
previous one? Both works for me. Pan From: juzhe.zh...@rivai.ai Sent: Tuesday, June 6, 2023 9:39 AM To: kito.cheng Cc: Li, Pan2 ; gcc-patches ; Kito.cheng ; Wang, Yanzhang Subject: Re: Re: [PATCH v1] RISC-V: Support RVV FP16 ZVFH Reduction floating-point intrinsic API Oh. YES. Thanks

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

RE: [PATCH] RISC-V: Bugfix for rvv bool mode size adjustment

2023-03-23 Thread Li, Pan2 via Gcc-patches
Great! Thank you ;) -Original Message- From: Kito Cheng Sent: Thursday, March 23, 2023 4:41 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com Subject: Re: [PATCH] RISC-V: Bugfix for rvv bool mode size adjustment committed, thanks for the reminder

RE: [PATCH] [RISC-V]: Bugfix for RVV vbool*_t vn_reference_equal.

2023-03-29 Thread Li, Pan2 via Gcc-patches
Thank you Biener for the professional suggestion. That make it more clean and simple, and update the PATCH v2 for this already. Pan -Original Message- From: Richard Biener Sent: Wednesday, March 29, 2023 4:10 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch

RE: Re: [PATCH v2] RISC-V: Bugfix for RVV vbool*_t vn_reference_equal.

2023-03-29 Thread Li, Pan2 via Gcc-patches
Cool. Thank you all for this, have a nice day! Pan From: juzhe.zh...@rivai.ai Sent: Wednesday, March 29, 2023 5:35 PM To: rguenther ; Li, Pan2 Cc: gcc-patches ; Kito.cheng ; Wang, Yanzhang Subject: Re: Re: [PATCH v2] RISC-V: Bugfix for RVV vbool*_t vn_reference_equal. Thanks Richard &&

[Ping][PATCH] RTL: Bugfix for wrong code with v16hi compare & mask

2023-04-02 Thread Li, Pan2 via Gcc-patches
Hi Jeff, Do you have any suggestion about this case? Sorry for late response due to not receive the mail-thread (Copy the latest one from hongtao for reference). https://gcc.gnu.org/pipermail/gcc-patches/2023-March/614644.html Pan On Sun, Mar 26, 2023 at 3:01 AM Jeff Law via Gcc-pat

RE: [PATCH] dse: Handle SUBREGs of word REGs differently for WORD_REGISTER_OPERATIONS targets [PR109040]

2023-04-06 Thread Li, Pan2 via Gcc-patches
Yes, RISC-V riscv.h defined the WORD_REGISTER_OPERATIONS to be 1, while aarch64.h defined it as 0, with below comments. No idea this can fit RISC-V or not. /* WORD_REGISTER_OPERATIONS does not hold for AArch64. The assigned word_mode is DImode but operations narrower than SImode behave as

RE: [PATCH] VECT: Add WHILE_LEN pattern for decrement IV support for auto-vectorization

2023-04-06 Thread Li, Pan2 via Gcc-patches
The bootstrap in X86 passed with this patch applied, target commit id a8c8351cf4fedb842988eed4f73304019c361e86 (13.0.1 20230407). Pan -Original Message- From: Gcc-patches On Behalf Of juzhe.zh...@rivai.ai Sent: Friday, April 7, 2023 9:48 AM To: gcc-patches@gcc.gnu.org Cc: richard.sandi

RE: [PATCH] RISC-V: Add test cases for the RVV mask insn shortcut.

2023-04-13 Thread Li, Pan2 via Gcc-patches
Sure thing, let me update it ASAP. Pan From: juzhe.zh...@rivai.ai Sent: Friday, April 14, 2023 10:35 AM To: Li, Pan2 ; gcc-patches Cc: Kito.cheng ; Wang, Yanzhang ; Li, Pan2 Subject: Re: [PATCH] RISC-V: Add test cases for the RVV mask insn shortcut. +/* { dg-final { scan-assembler-not

RE: [PATCH v2] RISC-V: Add test cases for the RVV mask insn shortcut.

2023-04-13 Thread Li, Pan2 via Gcc-patches
Thanks juzhe, update new version [PATCH v3] for even more checks. Pan From: juzhe.zh...@rivai.ai Sent: Friday, April 14, 2023 10:46 AM To: Li, Pan2 ; gcc-patches Cc: Kito.cheng ; Wang, Yanzhang ; Li, Pan2 Subject: Re: [PATCH v2] RISC-V: Add test cases for the RVV mask insn shortcut. LGTM

RE: [PATCH v2] RISC-V: Add test cases for the RVV mask insn shortcut.

2023-04-13 Thread Li, Pan2 via Gcc-patches
--Original Message- From: Kito Cheng Sent: Friday, April 14, 2023 2:42 PM To: Li, Pan2 Cc: juzhe.zh...@rivai.ai; gcc-patches ; Kito.cheng ; Wang, Yanzhang Subject: Re: [PATCH v2] RISC-V: Add test cases for the RVV mask insn shortcut. OK, thanks for the patch :) On Fri, Apr 14, 2023 at 1

RE: [PATCH v2] RISC-V: Add test cases for the RVV mask insn shortcut.

2023-04-16 Thread Li, Pan2 via Gcc-patches
BTW, this patch will be in GCC 13 or master? The underlying patches may depend on this tests for ensuring correctness. Pan -Original Message- From: Li, Pan2 Sent: Friday, April 14, 2023 2:47 PM To: Kito Cheng Cc: juzhe.zh...@rivai.ai; gcc-patches ; Kito.cheng ; Wang, Yanzhang

RE: [PATCH v2] RISC-V: Add test cases for the RVV mask insn shortcut.

2023-04-16 Thread Li, Pan2 via Gcc-patches
Cool, thank you! Pan -Original Message- From: Kito Cheng Sent: Monday, April 17, 2023 9:52 AM To: Li, Pan2 Cc: juzhe.zh...@rivai.ai; gcc-patches ; Kito.cheng ; Wang, Yanzhang Subject: Re: [PATCH v2] RISC-V: Add test cases for the RVV mask insn shortcut. Pushed to trunk :) On Mon

RE: [PATCH] RISC-V: Allow Vector IOR(V1, NOT V1) optimiztion

2023-04-17 Thread Li, Pan2 via Gcc-patches
Passed the X86 bootstrap and regression tests. Pan -Original Message- From: Li, Pan2 Sent: Monday, April 17, 2023 10:50 PM To: gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; kito.ch...@sifive.com; rguent...@suse.de; Li, Pan2 ; Wang, Yanzhang ; richard.sandif...@arm.com Subject

RE: [PATCH] RISC-V: Allow Vector IOR(V1, NOT V1) optimiztion

2023-04-18 Thread Li, Pan2 via Gcc-patches
Thanks Richard for comments, CIL and will have a try for the suggestions. Pan -Original Message- From: Richard Biener Sent: Tuesday, April 18, 2023 4:00 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; rguent...@suse.de; Wang, Yanzhang

RE: [PATCH] RISC-V: Allow Vector IOR(V1, NOT V1) optimiztion

2023-04-18 Thread Li, Pan2 via Gcc-patches
I look into the IOR simplification code for this optimization. Mostly I try to implement them with generic vector operations. Pan -Original Message- From: Richard Biener Sent: Tuesday, April 18, 2023 4:01 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch

RE: [PATCH] RISC-V: Allow Vector IOR(V1, NOT V1) optimiztion

2023-04-18 Thread Li, Pan2 via Gcc-patches
Update the PATCH v2 here, https://gcc.gnu.org/pipermail/gcc-patches/2023-April/615937.html. Running the boostrap/regression test, and keep you posted. Pan -Original Message- From: Gcc-patches On Behalf Of Li, Pan2 via Gcc-patches Sent: Tuesday, April 18, 2023 4:20 PM To: Richard

RE: [PATCH] RISC-V: Allow Vector IOR(V1, NOT V1) optimiztion

2023-04-18 Thread Li, Pan2 via Gcc-patches
Passed the X86 bootstrap and regression tests. Pan -Original Message- From: Li, Pan2 Sent: Tuesday, April 18, 2023 5:12 PM To: Li, Pan2 ; Richard Biener Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; rguent...@suse.de; Wang, Yanzhang ; richard.sandif

RE: [PATCH v2] RISC-V: Allow Vector IOR(V1, NOT V1) optimization

2023-04-18 Thread Li, Pan2 via Gcc-patches
Oh, I see. The message need to be re-generated. Thank you for pointing out, will update ASPA. Pan -Original Message- From: Richard Biener Sent: Wednesday, April 19, 2023 2:40 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; richard.sandif

RE: [PATCH v2] RISC-V: Allow Vector IOR(V1, NOT V1) optimization

2023-04-19 Thread Li, Pan2 via Gcc-patches
.c #...new file: gcc/testsuite/gcc.target/riscv/simplify_ior_optimization.c Pan -Original Message- From: Li, Pan2 Sent: Wednesday, April 19, 2023 2:47 PM To: Richard Biener Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; richard.sandif...@arm.com; W

RE: [PATCH] RISC-V: Allow VMS{Compare} (V1, V1) shortcut optimization

2023-04-19 Thread Li, Pan2 via Gcc-patches
Passed the X86 bootstrap and regression tests. Pan -Original Message- From: Li, Pan2 Sent: Wednesday, April 19, 2023 11:21 AM To: gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang ; Li, Pan2 Subject: [PATCH] RISC-V: Allow VMS{Compare} (V1, V1

RE: [PATCH v2] RISC-V: Allow Vector IOR(V1, NOT V1) optimization

2023-04-19 Thread Li, Pan2 via Gcc-patches
Thank you for information. Updated the v3 version as below. https://gcc.gnu.org/pipermail/gcc-patches/2023-April/616154.html Pan -Original Message- From: Richard Biener Sent: Wednesday, April 19, 2023 4:52 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch

RE: Re: [PATCH] RISC-V: Allow VMS{Compare} (V1, V1) shortcut optimization

2023-04-19 Thread Li, Pan2 via Gcc-patches
Sure thing. For Changlog, I consider it was generated automatically in previous. LOL. Pan -Original Message- From: Kito Cheng Sent: Wednesday, April 19, 2023 5:46 PM To: juzhe.zh...@rivai.ai Cc: Li, Pan2 ; gcc-patches ; Kito.cheng ; Wang, Yanzhang Subject: Re: Re: [PATCH] RISC-V

RE: Re: [PATCH] RISC-V: Allow VMS{Compare} (V1, V1) shortcut optimization

2023-04-19 Thread Li, Pan2 via Gcc-patches
Update the Patch v2 for more detail information for clarification. Please help to review continuously. https://gcc.gnu.org/pipermail/gcc-patches/2023-April/616175.html Pan -Original Message- From: Li, Pan2 Sent: Wednesday, April 19, 2023 6:33 PM To: Kito Cheng ; juzhe.zh...@rivai.ai

RE: Re: [PATCH v2] RISC-V: Bugfix for RVV vbool*_t vn_reference_equal.

2023-04-20 Thread Li, Pan2 via Gcc-patches
Hi Kito, There is one patch reviewed already and I suppose it will be ok after GCC 14 open. Could you please help to double check about it? Pann -Original Message- From: Gcc-patches On Behalf Of Li, Pan2 via Gcc-patches Sent: Wednesday, March 29, 2023 6:39 PM To: juzhe.zh...@rivai.ai

RE: Re: [PATCH] RISC-V: Allow VMS{Compare} (V1, V1) shortcut optimization

2023-04-21 Thread Li, Pan2 via Gcc-patches
Kindly ping for the PATCH v2. Just FYI there will be some underlying investigation based on this PATCH like VMSEQ. Pan -Original Message- From: Li, Pan2 Sent: Wednesday, April 19, 2023 7:27 PM To: 'Kito Cheng' ; 'juzhe.zh...@rivai.ai' Cc: 'gcc-patche

RE: Re: [PATCH] RISC-V: Allow VMS{Compare} (V1, V1) shortcut optimization

2023-04-21 Thread Li, Pan2 via Gcc-patches
Thanks kito, will try to reproduce this issue and keep you posted. Pan -Original Message- From: Kito Cheng Sent: Friday, April 21, 2023 6:17 PM To: Li, Pan2 Cc: juzhe.zh...@rivai.ai; gcc-patches ; Kito.cheng ; Wang, Yanzhang Subject: Re: Re: [PATCH] RISC-V: Allow VMS{Compare} (V1

RE: Re: [PATCH] RISC-V: Allow VMS{Compare} (V1, V1) shortcut optimization

2023-04-21 Thread Li, Pan2 via Gcc-patches
PM To: Li, Pan2 Cc: juzhe.zh...@rivai.ai; gcc-patches ; Kito.cheng ; Wang, Yanzhang Subject: Re: Re: [PATCH] RISC-V: Allow VMS{Compare} (V1, V1) shortcut optimization Hi Pan: One idea come to my mind, maybe we should add a new define_insn_and_split pattern instead of change @pred_mov On Fri, A

RE: Re: [PATCH v2] RISC-V: Bugfix for RVV vbool*_t vn_reference_equal.

2023-04-24 Thread Li, Pan2 via Gcc-patches
Hi, Just synced this patch with upstream, and passed the X86 bootstrap and regression test already. Pan -Original Message- From: Li, Pan2 Sent: Thursday, April 20, 2023 9:57 PM To: kito.ch...@sifive.com Cc: gcc-patches ; Kito.cheng ; Wang, Yanzhang ; juzhe.zh...@rivai.ai Subject: RE

RE: Re: [PATCH] RISC-V: Allow VMS{Compare} (V1, V1) shortcut optimization

2023-04-25 Thread Li, Pan2 via Gcc-patches
g the decision? Thanks in advance! Pan -Original Message- From: Kito Cheng Sent: Tuesday, April 25, 2023 9:08 PM To: Li, Pan2 ; Jeff Law Cc: juzhe.zh...@rivai.ai; gcc-patches ; Kito.cheng ; Wang, Yanzhang Subject: Re: Re: [PATCH] RISC-V: Allow VMS{Compare} (V1, V1) shortcut optimiz

RE: Re: [PATCH v2] RISC-V: Bugfix for RVV vbool*_t vn_reference_equal.

2023-04-25 Thread Li, Pan2 via Gcc-patches
Oh, I see. This PATCH month drafted ago and missed that part. Sorry for inconvenient and will update it ASAP. Pan -Original Message- From: Kito Cheng Sent: Tuesday, April 25, 2023 10:05 PM To: Li, Pan2 Cc: kito.ch...@sifive.com; gcc-patches ; Wang, Yanzhang ; juzhe.zh...@rivai.ai

RE: Re: [PATCH] RISC-V: Allow VMS{Compare} (V1, V1) shortcut optimization

2023-04-25 Thread Li, Pan2 via Gcc-patches
I see. If there is no question from Juzhe, I will try to implement it follow the option 2. Pan From: Kito Cheng Sent: Tuesday, April 25, 2023 9:57 PM To: Li, Pan2 Cc: Kito Cheng ; Jeff Law ; juzhe.zh...@rivai.ai; gcc-patches ; Wang, Yanzhang Subject: Re: Re: [PATCH] RISC-V: Allow VMS

RE: Re: [PATCH v2] RISC-V: Bugfix for RVV vbool*_t vn_reference_equal.

2023-04-25 Thread Li, Pan2 via Gcc-patches
Thanks for patient, update the PATCH v3 as below link. https://gcc.gnu.org/pipermail/gcc-patches/2023-April/616686.html Pan -Original Message- From: Li, Pan2 Sent: Tuesday, April 25, 2023 10:10 PM To: Kito Cheng Cc: kito.ch...@sifive.com; gcc-patches ; Wang, Yanzhang ; juzhe.zh

RE: Re: [PATCH] RISC-V: Allow VMS{Compare} (V1, V1) shortcut optimization

2023-04-25 Thread Li, Pan2 via Gcc-patches
Aligned with Ju-Zhe, will take the option 2 for the VMS{Compare} optimization. Pan From: Li, Pan2 Sent: Tuesday, April 25, 2023 10:11 PM To: Kito Cheng Cc: Kito Cheng ; Jeff Law ; juzhe.zh...@rivai.ai; gcc-patches ; Wang, Yanzhang Subject: RE: Re: [PATCH] RISC-V: Allow VMS{Compare} (V1, V1

RE: [PATCH v3] RISC-V: Bugfix for RVV vbool*_t vn_reference_equal

2023-04-25 Thread Li, Pan2 via Gcc-patches
Thanks a lot, kito, will pay more attention for the changelogs. Pan From: Kito Cheng Sent: Wednesday, April 26, 2023 11:30 AM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; Wang, Yanzhang Subject: Re: [PATCH v3] RISC-V: Bugfix for RVV vbool*_t vn_reference_equal Committed

<    4   5   6   7   8   9   10   >