[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/5] tcg/sparc: Only one call output register needed
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH 4/5] tcg/sparc: Only one call output register needed for 64 bit hosts |
Date: |
Mon, 5 Sep 2011 11:07:01 +0200 |
The second register is only needed for 32 bit hosts.
Cc: Blue Swirl <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
---
tcg/sparc/tcg-target.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/tcg/sparc/tcg-target.c b/tcg/sparc/tcg-target.c
index ac76e11..fc3fd7f 100644
--- a/tcg/sparc/tcg-target.c
+++ b/tcg/sparc/tcg-target.c
@@ -84,9 +84,11 @@ static const int tcg_target_call_iarg_regs[6] = {
TCG_REG_O5,
};
-static const int tcg_target_call_oarg_regs[2] = {
+static const int tcg_target_call_oarg_regs[] = {
TCG_REG_O0,
- TCG_REG_O1,
+#if TCG_TARGET_REG_BITS == 32
+ TCG_REG_O1
+#endif
};
static inline int check_fit_tl(tcg_target_long val, unsigned int bits)
--
1.7.0.4
- [Qemu-devel] [PATCH 0/5] Only one call output register needed for 64 bit hosts, Stefan Weil, 2011/09/05
- [Qemu-devel] [PATCH 4/5] tcg/sparc: Only one call output register needed for 64 bit hosts,
Stefan Weil <=
- [Qemu-devel] [PATCH 2/5] tcg/ia64: Only one call output register needed for 64 bit hosts, Stefan Weil, 2011/09/05
- [Qemu-devel] [PATCH 5/5] tcg/ppc64: Only one call output register needed for 64 bit hosts, Stefan Weil, 2011/09/05
- [Qemu-devel] [PATCH 1/5] tcg/i386: Only one call output register needed for 64 bit hosts, Stefan Weil, 2011/09/05
- [Qemu-devel] [PATCH 3/5] tcg/s390: Only one call output register needed for 64 bit hosts, Stefan Weil, 2011/09/05
- Re: [Qemu-devel] [PATCH 0/5] Only one call output register needed for 64 bit hosts, Stefan Weil, 2011/09/17