From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0V9O-0002Nw-Qt for qemu-devel@nongnu.org; Mon, 05 Sep 2011 05:07:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R0V9E-00008p-Gq for qemu-devel@nongnu.org; Mon, 05 Sep 2011 05:07:25 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:47700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0V9E-00008d-83 for qemu-devel@nongnu.org; Mon, 05 Sep 2011 05:07:20 -0400 From: Stefan Weil Date: Mon, 5 Sep 2011 11:07:00 +0200 Message-Id: <1315213622-7051-4-git-send-email-weil@mail.berlios.de> In-Reply-To: <1315213622-7051-1-git-send-email-weil@mail.berlios.de> References: <1315213622-7051-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH 3/5] tcg/s390: Only one call output register needed for 64 bit hosts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Cc: Alexander Graf The second register is only needed for 32 bit hosts. Cc: Alexander Graf Signed-off-by: Stefan Weil --- tcg/s390/tcg-target.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c index 2fc5646..b58df71 100644 --- a/tcg/s390/tcg-target.c +++ b/tcg/s390/tcg-target.c @@ -252,7 +252,9 @@ static const int tcg_target_call_iarg_regs[] = { static const int tcg_target_call_oarg_regs[] = { TCG_REG_R2, - TCG_REG_R3, +#if TCG_TARGET_REG_BITS == 32 + TCG_REG_R3 +#endif }; #define S390_CC_EQ 8 -- 1.7.0.4