qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v6 10/50] tcg: Avoid loops against variable boun


From: Emilio G. Cota
Subject: Re: [Qemu-devel] [PATCH v6 10/50] tcg: Avoid loops against variable bounds
Date: Tue, 17 Oct 2017 18:03:22 -0400
User-agent: Mutt/1.5.24 (2015-08-30)

On Mon, Oct 16, 2017 at 10:25:29 -0700, Richard Henderson wrote:
> From: Richard Henderson <address@hidden>
> 
> 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: Alex Bennée <address@hidden>
> Signed-off-by: Richard Henderson <address@hidden>

Reviewed-by: Emilio G. Cota <address@hidden>

FWIW on a Skylake host I couldn't measure a difference. However, the
generated code is indeed slightly different.

                E.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]