Re: Re: [PATCH] RISC-V: Add VLS modes VEC_PERM support[PR111311]

2023-09-10 Thread juzhe.zh...@rivai.ai
Sure. Thanks kito. juzhe.zh...@rivai.ai From: Kito Cheng Date: 2023-09-11 10:57 To: juzhe.zh...@rivai.ai CC: gcc-patches; Kito.cheng Subject: Re: Re: [PATCH] RISC-V: Add VLS modes VEC_PERM support[PR111311] OK, but could you split this patch into two patches? pre-approved for both. On Mon

Re: Re: [PATCH] RISC-V: Add VLS modes VEC_PERM support[PR111311]

2023-09-10 Thread Kito Cheng via Gcc-patches
ov > (mode), > insn_flags, operands, operands[2]); > } > DONE; > } > [(set_attr "type" "vmov")] > ) > > We split special case use emit_insn (gen_rtx_SET (operands[0], operands[1])); > > Missing this pattern will cause ICE b

Re: Re: [PATCH] RISC-V: Add VLS modes VEC_PERM support[PR111311]

2023-09-10 Thread juzhe.zh...@rivai.ai
issues. This issue is recognized after I support this pattern. juzhe.zh...@rivai.ai From: Kito Cheng Date: 2023-09-11 10:18 To: Juzhe-Zhong CC: gcc-patches; kito.cheng Subject: Re: [PATCH] RISC-V: Add VLS modes VEC_PERM support[PR111311] > diff --git a/gcc/config/riscv/autovec-vls.m

Re: [PATCH] RISC-V: Add VLS modes VEC_PERM support[PR111311]

2023-09-10 Thread Kito Cheng via Gcc-patches
> diff --git a/gcc/config/riscv/autovec-vls.md b/gcc/config/riscv/autovec-vls.md > index d208b418e5f..6f48f7d6232 100644 > --- a/gcc/config/riscv/autovec-vls.md > +++ b/gcc/config/riscv/autovec-vls.md > @@ -148,6 +148,14 @@ >[(set_attr "type" "vmov") > (set_attr "mode" "")]) > > +(define_in

[PATCH] RISC-V: Add VLS modes VEC_PERM support[PR111311]

2023-09-08 Thread Juzhe-Zhong
This patch add VLS modes VEC_PERM support which fix these following FAILs in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111311: FAIL: gcc.dg/tree-ssa/forwprop-40.c scan-tree-dump-times optimized "BIT_FIELD_REF" 0 FAIL: gcc.dg/tree-ssa/forwprop-40.c scan-tree-dump-times optimized "BIT_INSERT_EX