Re: RISCV: Add zmmul extension

2021-10-27 Thread Jim Wilson
On Wed, Oct 27, 2021 at 12:14 AM Kito Cheng wrote: > Otherwise it is LGTM, but I'm just surprised it's still 0.1 and not frozen > yet. > We should have binutils support first before we have gcc support. Otherwise that may lead to binutils errors later when zmmul gets passed down to binutils. I

Re: RISCV: Add zmmul extension

2021-10-27 Thread Kito Cheng
Hi Shi-Hua: > --- a/gcc/config/riscv/riscv.c > +++ b/gcc/config/riscv/riscv.c > @@ -1872,7 +1872,7 @@ riscv_rtx_costs (rtx x, machine_mode mode, int > outer_code, int opno ATTRIBUTE_UN > case MULT: >if (float_mode_p) > *total = tune_param->fp_mul[mode == DFmode]; > - els

RISCV: Add zmmul extension

2021-10-26 Thread shihua
From: Liaoshihua --- gcc/common/config/riscv/riscv-common.c | 3 +++ gcc/config/riscv/riscv-c.c | 2 +- gcc/config/riscv/riscv-opts.h | 3 +++ gcc/config/riscv/riscv.c | 5 - gcc/config/riscv/riscv.md | 30 +- gcc/co