Re: [PATCH] RISC-V: Change vlmul printing rule

2022-12-19 Thread Kito Cheng via Gcc-patches
Commited

Jeff Law via Gcc-patches  於 2022年12月17日 週六 03:51
寫道:

>
>
> On 12/13/22 23:57, juzhe.zh...@rivai.ai wrote:
> > From: Ju-Zhe Zhong 
> >
> > This patch is preparing patch for the following patch (VSETVL PASS)
> > support since the current vlmul printing rule is not appropriate
> > information for VSETVL PASS. I split this fix in a single patch.
> >
> > gcc/ChangeLog:
> >
> >  * config/riscv/riscv-v.cc (emit_vlmax_vsetvl): Pass through
> VLMUL enum instead of machine mode.
> >  * config/riscv/riscv-vector-builtins-bases.cc: Ditto.
> >  * config/riscv/riscv.cc (riscv_print_operand): Print LMUL by
> enum vlmul instead of machine mode.
> OK.  Though I suspect your ChangeLog will need to be wrapped to get past
> the commit hooks.
>
> jeff
>


Re: [PATCH] RISC-V: Change vlmul printing rule

2022-12-16 Thread Jeff Law via Gcc-patches




On 12/13/22 23:57, juzhe.zh...@rivai.ai wrote:

From: Ju-Zhe Zhong 

This patch is preparing patch for the following patch (VSETVL PASS)
support since the current vlmul printing rule is not appropriate
information for VSETVL PASS. I split this fix in a single patch.

gcc/ChangeLog:

 * config/riscv/riscv-v.cc (emit_vlmax_vsetvl): Pass through VLMUL enum 
instead of machine mode.
 * config/riscv/riscv-vector-builtins-bases.cc: Ditto.
 * config/riscv/riscv.cc (riscv_print_operand): Print LMUL by enum 
vlmul instead of machine mode.
OK.  Though I suspect your ChangeLog will need to be wrapped to get past 
the commit hooks.


jeff