Received: from eggs.gnu.org ([208.118.235.92]:55687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEO5H-00073k-O9 for qemu-devel@nongnu.org; Sat, 09 Mar 2013 13:01:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEO5C-0006ib-Kw for qemu-devel@nongnu.org; Sat, 09 Mar 2013 13:01:27 -0500 Received: from hall.aurel32.net ([2001:470:1f15:c4f::1]:38820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEO5C-0006d2-EI for qemu-devel@nongnu.org; Sat, 09 Mar 2013 13:01:22 -0500 Date: Sat, 9 Mar 2013 19:01:09 +0100 From: Aurelien Jarno Message-ID: <20130309180109.GA9511@ohm.aurel32.net> References: <1362502481-22248-1-git-send-email-rth@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1362502481-22248-1-git-send-email-rth@twiddle.net> Subject: Re: [Qemu-devel] [PATCH] tcg: Don't make exitreq flag a local temporary List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: Peter Maydell , qemu-devel@nongnu.org On Tue, Mar 05, 2013 at 08:54:41AM -0800, Richard Henderson wrote: > The value is not actually live across basic blocks, so there's no > need for the local property. This eliminates storing the temporary > to its home location at the branch. > > Cc: Peter Maydell > Signed-off-by: Richard Henderson > --- > include/exec/gen-icount.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h > index 4e3b17b..4fc7b29 100644 > --- a/include/exec/gen-icount.h > +++ b/include/exec/gen-icount.h > @@ -15,7 +15,7 @@ static inline void gen_tb_start(void) > TCGv_i32 flag; > > exitreq_label = gen_new_label(); > - flag = tcg_temp_local_new_i32(); > + flag = tcg_temp_new_i32(); > tcg_gen_ld_i32(flag, cpu_env, > offsetof(CPUState, tcg_exit_req) - ENV_OFFSET); > tcg_gen_brcondi_i32(TCG_COND_NE, flag, 0, exitreq_label); Thanks, applied. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net