]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tcg/s390: Only one call output register needed for 64 bit hosts
authorStefan Weil <weil@mail.berlios.de>
Mon, 5 Sep 2011 09:07:00 +0000 (11:07 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 17 Sep 2011 17:55:21 +0000 (17:55 +0000)
The second register is only needed for 32 bit hosts.

Cc: Alexander Graf <agraf@suse.de>
Acked-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tcg/s390/tcg-target.c

index 2fc564640075389529fd90b3f61dc77fcd950d28..b58df719a64f031afc85c0fc18491101adf5c934 100644 (file)
@@ -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