Re: [PATCH] RISC-V: Support cond vnsrl/vnsra

2023-09-13 Thread Lehua Ding
Committed, thanks Kito. On 2023/9/13 15:56, Kito Cheng wrote: LGTM On Wed, Sep 13, 2023 at 12:25 AM Lehua Ding wrote: This patch add combine patterns to combine vnsra.w[vxi] + vcond_mask to a mask vnsra.w[vxi]. gcc/ChangeLog: * config/riscv/autovec-opt.md (*cond_vtrunc):

Re: [PATCH] RISC-V: Support cond vnsrl/vnsra

2023-09-13 Thread Kito Cheng via Gcc-patches
LGTM On Wed, Sep 13, 2023 at 12:25 AM Lehua Ding wrote: > > This patch add combine patterns to combine vnsra.w[vxi] + vcond_mask > to a mask vnsra.w[vxi]. > > gcc/ChangeLog: > > * config/riscv/autovec-opt.md > (*cond_vtrunc): > New combine pattern. > (*cond_trunc): Ditto.

[PATCH] RISC-V: Support cond vnsrl/vnsra

2023-09-12 Thread Lehua Ding
This patch add combine patterns to combine vnsra.w[vxi] + vcond_mask to a mask vnsra.w[vxi]. gcc/ChangeLog: * config/riscv/autovec-opt.md (*cond_vtrunc): New combine pattern. (*cond_trunc): Ditto. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/cond/cond