From patchwork Sat Mar 30 20:43:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 232573 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DC7342C00E1 for ; Sun, 31 Mar 2013 08:10:56 +1100 (EST) Received: from localhost ([::1]:58609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UM2io-0004ig-QH for incoming@patchwork.ozlabs.org; Sat, 30 Mar 2013 16:49:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UM2dJ-0003t1-FW for qemu-devel@nongnu.org; Sat, 30 Mar 2013 16:44:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UM2dG-0005u3-Ot for qemu-devel@nongnu.org; Sat, 30 Mar 2013 16:44:13 -0400 Received: from mail-da0-x22b.google.com ([2607:f8b0:400e:c00::22b]:63652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UM2dG-0005tr-K2 for qemu-devel@nongnu.org; Sat, 30 Mar 2013 16:44:10 -0400 Received: by mail-da0-f43.google.com with SMTP id u36so601125dak.2 for ; Sat, 30 Mar 2013 13:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=9zDp1URC9cVzLaz/tozKaSjT0Eb5mgZK8XI1qxhbPjc=; b=xXzFBGY+53XN49y85mLPXxWGsT5j3FSwXDJty+AqmoBNH9sRPX+6SKhF+qRRtRUUTO v0lM6V6NTLtUo6v4MdTen7dWgRYJ4AW2UfB1dAyxFo591Y9AJIt6OtEQihCBw4BcZliq Ua6GZjcF036DVx4EzUJ9BQCav4WCQ87SUNh0VIYvdFDZ1ctvigz9I9RoIYa4V4VKmG3h ZRE65mGLXLLPT9GJJ4cfg16JCrNTgRmLfXL1TVuA+Hs73NfyE9OGe92SL05eT756Ybi9 DoZGAo/bFHOGsrxgBASi1bOmHEzH06SJYyEbdq6JT05xr2mFO0tFSJPfuBvpqE9Gafac DO4Q== X-Received: by 10.68.244.1 with SMTP id xc1mr10137081pbc.165.1364676249982; Sat, 30 Mar 2013 13:44:09 -0700 (PDT) Received: from fremont.twiddle.net (50-194-63-110-static.hfc.comcastbusiness.net. [50.194.63.110]) by mx.google.com with ESMTPS id gf1sm7620362pbc.24.2013.03.30.13.44.07 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 30 Mar 2013 13:44:09 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sat, 30 Mar 2013 13:43:20 -0700 Message-Id: <1364676207-21516-12-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1364676207-21516-1-git-send-email-rth@twiddle.net> References: <1364676207-21516-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c00::22b Cc: Aurelien Jarno Subject: [Qemu-devel] [PATCH v4 11/18] tcg-arm: Use R12 for the tcg temporary X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 32ed9f2..b3ed436 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) {