qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [RFC 4/6] target-i386: Use tcg_gen_{ld,st}64_tl()


From: Andreas Färber
Subject: [Qemu-devel] [RFC 4/6] target-i386: Use tcg_gen_{ld,st}64_tl()
Date: Sat, 10 Dec 2011 13:58:13 +0100

Use new helper function to avoid new temporaries and moves.

Signed-off-by: Andreas Färber <address@hidden>
---
 target-i386/translate.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target-i386/translate.c b/target-i386/translate.c
index c929ef9..17465e9 100644
--- a/target-i386/translate.c
+++ b/target-i386/translate.c
@@ -525,7 +525,7 @@ static inline void gen_op_ld_v(int idx, TCGv t0, TCGv a0)
     case 3:
         /* Should never happen on 32-bit targets.  */
 #ifdef TARGET_X86_64
-        tcg_gen_qemu_ld64(t0, a0, mem_index);
+        tcg_gen_qemu_ld64_tl(t0, a0, mem_index);
 #endif
         break;
     }
@@ -564,7 +564,7 @@ static inline void gen_op_st_v(int idx, TCGv t0, TCGv a0)
     case 3:
         /* Should never happen on 32-bit targets.  */
 #ifdef TARGET_X86_64
-        tcg_gen_qemu_st64(t0, a0, mem_index);
+        tcg_gen_qemu_st64_tl(t0, a0, mem_index);
 #endif
         break;
     }
-- 
1.7.7




reply via email to

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