Re: [Qemu-devel] [PATCH v3 5/9] tcg: Reorg TCGOp chaining

2016-08-03 Thread Richard Henderson
On 07/25/2016 04:53 PM, Aurelien Jarno wrote: On 2016-06-23 20:48, Richard Henderson wrote: @@ -1287,18 +1287,10 @@ void tcg_op_remove(TCGContext *s, TCGOp *op) int next = op->next; int prev = op->prev; -if (next >= 0) { -s->gen_op_buf[next].prev = prev; -} else { -

Re: [Qemu-devel] [PATCH v3 5/9] tcg: Reorg TCGOp chaining

2016-07-25 Thread Aurelien Jarno
On 2016-06-23 20:48, Richard Henderson wrote: > Instead of using -1 as end of chain, use 0, and link through the 0 > entry as a fully circular double-linked list. > > Signed-off-by: Richard Henderson > --- > include/exec/gen-icount.h | 2 +- > tcg/optimize.c| 8

[Qemu-devel] [PATCH v3 5/9] tcg: Reorg TCGOp chaining

2016-06-23 Thread Richard Henderson
Instead of using -1 as end of chain, use 0, and link through the 0 entry as a fully circular double-linked list. Signed-off-by: Richard Henderson --- include/exec/gen-icount.h | 2 +- tcg/optimize.c| 8 ++-- tcg/tcg-op.c | 2 +- tcg/tcg.c