[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 09/15] tcg-mips: Fix exit_tb for mips64
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 09/15] tcg-mips: Fix exit_tb for mips64 |
Date: |
Tue, 9 Feb 2016 21:39:57 +1100 |
Signed-off-by: Richard Henderson <address@hidden>
---
tcg/mips/tcg-target.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c
index b5982de..b8c5d90 100644
--- a/tcg/mips/tcg-target.c
+++ b/tcg/mips/tcg-target.c
@@ -1656,6 +1656,7 @@ static inline void tcg_out_op(TCGContext *s, TCGOpcode
opc,
{
TCGReg b0 = TCG_REG_ZERO;
+ a0 = (intptr_t)a0;
if (a0 & ~0xffff) {
tcg_out_movi(s, TCG_TYPE_PTR, TCG_REG_V0, a0 & ~0xffff);
b0 = TCG_REG_V0;
--
2.5.0
- [Qemu-devel] [PATCH 00/15] tcg mips64 and mipsr6 improvements, Richard Henderson, 2016/02/09
- [Qemu-devel] [PATCH 01/15] tcg-mips: Add mips64 opcodes, Richard Henderson, 2016/02/09
- [Qemu-devel] [PATCH 02/15] tcg-mips: Support 64-bit opcodes, Richard Henderson, 2016/02/09
- [Qemu-devel] [PATCH 04/15] tcg-mips: Adjust load/store functions for mips64, Richard Henderson, 2016/02/09
- [Qemu-devel] [PATCH 03/15] tcg-mips: Adjust move functions for mips64, Richard Henderson, 2016/02/09
- [Qemu-devel] [PATCH 05/15] tcg-mips: Adjust prologue for mips64, Richard Henderson, 2016/02/09
- [Qemu-devel] [PATCH 06/15] tcg-mips: Add tcg unwind info, Richard Henderson, 2016/02/09
- [Qemu-devel] [PATCH 08/15] tcg-mips: Adjust calling conventions for mips64, Richard Henderson, 2016/02/09
- [Qemu-devel] [PATCH 09/15] tcg-mips: Fix exit_tb for mips64,
Richard Henderson <=
- [Qemu-devel] [PATCH 10/15] tcg-mips: Move bswap code to subroutines, Richard Henderson, 2016/02/09
- [Qemu-devel] [PATCH 07/15] tcg-mips: Adjust qemu_ld/st for mips64, Richard Henderson, 2016/02/09
- [Qemu-devel] [PATCH 12/15] tcg-mips: Use mips64r6 instructions in tcg_out_ldst, Richard Henderson, 2016/02/09
- [Qemu-devel] [PATCH 13/15] tcg-mips: Use mips64r6 instructions in constant addition, Richard Henderson, 2016/02/09
- [Qemu-devel] [PATCH 11/15] tcg-mips: Use mips64r6 instructions in tcg_out_movi, Richard Henderson, 2016/02/09