Le 07/05/2016 à 00:00, Richard Henderson a écrit : > On 05/04/2016 11:21 AM, Laurent Vivier wrote: >> + reg = AREG(insn, 0); >> + src = gen_load(s, opsize, reg, 1); >> + tcg_gen_addi_i32(reg, reg, opsize_bytes(opsize)); >> + >> + reg = AREG(insn, 9); >> + dest = gen_load(s, opsize, reg, 1); >> + tcg_gen_addi_i32(reg, reg, opsize_bytes(opsize)); > > Delay the writeback to the first areg until after the second load.
We can't delay because we can have "cmpm (%a0)+,(%a0)+" that is used to compare two consecutive memory contents. Laurent