Re: [PATCH] tcg/riscv: Fix reg overlap case in tcg_out_addsub2

2022-10-24 Thread Alistair Francis
On Fri, Oct 21, 2022 at 9:47 AM Richard Henderson wrote: > > There was a typo using opc_addi instead of opc_add with the > two registers. While we're at it, simplify the gating test > to al == bl to improve dynamic scheduling even when the > output register does not overlap the inputs. > > Report

Re: [PATCH] tcg/riscv: Fix reg overlap case in tcg_out_addsub2

2022-10-24 Thread Alistair Francis
On Fri, Oct 21, 2022 at 9:47 AM Richard Henderson wrote: > > There was a typo using opc_addi instead of opc_add with the > two registers. While we're at it, simplify the gating test > to al == bl to improve dynamic scheduling even when the > output register does not overlap the inputs. > > Report

[PATCH] tcg/riscv: Fix reg overlap case in tcg_out_addsub2

2022-10-20 Thread Richard Henderson
There was a typo using opc_addi instead of opc_add with the two registers. While we're at it, simplify the gating test to al == bl to improve dynamic scheduling even when the output register does not overlap the inputs. Reported-by: LIU Zhiwei Signed-off-by: Richard Henderson --- Supersedes: 20