From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUCis-0005Hf-V8 for qemu-devel@nongnu.org; Mon, 22 Apr 2013 05:07:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUCio-0003K9-1f for qemu-devel@nongnu.org; Mon, 22 Apr 2013 05:07:42 -0400 Received: from hall.aurel32.net ([2001:470:1f15:c4f::1]:56901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUCin-0003K5-Ql for qemu-devel@nongnu.org; Mon, 22 Apr 2013 05:07:37 -0400 Date: Mon, 22 Apr 2013 11:07:31 +0200 From: Aurelien Jarno Message-ID: <20130422090731.GH16361@ohm.aurel32.net> References: <1364769305-3687-1-git-send-email-rth@twiddle.net> <1364769305-3687-13-git-send-email-rth@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1364769305-3687-13-git-send-email-rth@twiddle.net> Subject: Re: [Qemu-devel] [PATCH v5 12/19] tcg-arm: Use R12 for the tcg temporary List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org On Sun, Mar 31, 2013 at 03:34:58PM -0700, Richard Henderson wrote: > R12 is call clobbered, while R8 is call saved. This change > gives tcg one more call saved register for real data. > > Signed-off-by: Richard Henderson > --- > tcg/arm/tcg-target.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c > index b62d9f6..6e1a4b5 100644 > --- a/tcg/arm/tcg-target.c > +++ b/tcg/arm/tcg-target.c > @@ -113,7 +113,7 @@ static const int tcg_target_call_oarg_regs[2] = { > TCG_REG_R0, TCG_REG_R1 > }; > > -#define TCG_REG_TMP TCG_REG_R8 > +#define TCG_REG_TMP TCG_REG_R12 > > static inline void reloc_abs32(void *code_ptr, tcg_target_long target) > { Reviewed-by: Aurelien Jarno -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net