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

2017-06-27 Thread Alex Bennée
Richard Henderson writes: > 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. > > Signed-off-by: Richard Henderson > --- > tcg/tcg.c | 27 ++- >

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

2017-06-20 Thread 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. Signed-off-by: Richard Henderson --- tcg/tcg.c | 27 ++- 1 file changed, 10 insertions(+), 17 deletio