qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 6/7] tcg-ia64: Fix address compilation in qemu_st.


From: Richard Henderson
Subject: [Qemu-devel] [PATCH 6/7] tcg-ia64: Fix address compilation in qemu_st.
Date: Mon, 22 Nov 2010 14:57:57 -0800

A typo in the usermode address calculation path; R3 used where R2 needed.

Signed-off-by: Richard Henderson <address@hidden>
---
 tcg/ia64/tcg-target.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tcg/ia64/tcg-target.c b/tcg/ia64/tcg-target.c
index da81f1b..57d0bcc 100644
--- a/tcg/ia64/tcg-target.c
+++ b/tcg/ia64/tcg-target.c
@@ -1818,7 +1818,7 @@ static inline void tcg_out_qemu_st(TCGContext *s, const 
TCGArg *args, int opc)
         tcg_out_bundle(s, miI,
                        tcg_opc_m48(TCG_REG_P0, OPC_NOP_M48, 0),
                        tcg_opc_i29(TCG_REG_P0, OPC_ZXT4_I29,
-                                   TCG_REG_R3, addr_reg),
+                                   TCG_REG_R2, addr_reg),
                        tcg_opc_i18(TCG_REG_P0, OPC_NOP_I18, 0));
     }
 
-- 
1.7.2.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]