Re: [PATCH] Extend nops num in "maybe_gen_insn" for RISC-V Vector intrinsics

2023-03-10 Thread Kito Cheng via Gcc-patches
Committed to trunk, thanks :) On Wed, Mar 8, 2023 at 3:49 PM Richard Biener wrote: > > On Wed, 8 Mar 2023, juzhe.zh...@rivai.ai wrote: > > > From: Ju-Zhe Zhong > > > > Hi, current maybe_gen_insn can only expand 9 nops. > > For RVV intrinsics, I need to extend it as 10, otherwise I should use >

Re: [PATCH] Extend nops num in "maybe_gen_insn" for RISC-V Vector intrinsics

2023-03-07 Thread Richard Biener via Gcc-patches
On Wed, 8 Mar 2023, juzhe.zh...@rivai.ai wrote: > From: Ju-Zhe Zhong > > Hi, current maybe_gen_insn can only expand 9 nops. > For RVV intrinsics, I need to extend it as 10, otherwise I should use GEN_FCN. > This patch is quite obvious change, Ok for trunk ? The optabs.cc change is OK. Thanks,

[PATCH] Extend nops num in "maybe_gen_insn" for RISC-V Vector intrinsics

2023-03-07 Thread juzhe . zhong
From: Ju-Zhe Zhong Hi, current maybe_gen_insn can only expand 9 nops. For RVV intrinsics, I need to extend it as 10, otherwise I should use GEN_FCN. This patch is quite obvious change, Ok for trunk ? Thanks. gcc/ChangeLog: * config/riscv/riscv-vector-builtins.cc (function_expander::us