Re: [Qemu-devel] [PATCH v7 10/52] tcg: Avoid loops against variable bounds

2017-10-23 Thread Philippe Mathieu-Daudé
On 10/20/2017 08:19 PM, Richard Henderson wrote: > From: Richard Henderson > > Copy s->nb_globals or s->nb_temps to a local variable for the purposes > of iteration. This should allow the compiler to use low-overhead > looping constructs on some hosts. > > Reviewed-by: Emilio G. Cota > Reviewe

[Qemu-devel] [PATCH v7 10/52] tcg: Avoid loops against variable bounds

2017-10-20 Thread Richard Henderson
From: Richard Henderson Copy s->nb_globals or s->nb_temps to a local variable for the purposes of iteration. This should allow the compiler to use low-overhead looping constructs on some hosts. Reviewed-by: Emilio G. Cota Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- tcg/tcg