From: Stefan Weil Date: Mon, 5 Sep 2011 09:07:00 +0000 (+0200) Subject: tcg/s390: Only one call output register needed for 64 bit hosts X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5ddd17b4034077abd206ffbfd1d348ebeb804959;p=qemu.git tcg/s390: Only one call output register needed for 64 bit hosts The second register is only needed for 32 bit hosts. Cc: Alexander Graf Acked-by: Richard Henderson Signed-off-by: Stefan Weil Signed-off-by: Blue Swirl --- diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c index 2fc5646400..b58df719a6 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