qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PULL 13/25] target-i386/translate.c: Remove unused tcg_gen


From: Michael Tokarev
Subject: [Qemu-devel] [PULL 13/25] target-i386/translate.c: Remove unused tcg_gen_lshift()
Date: Tue, 10 Jun 2014 20:08:31 +0400

From: Peter Maydell <address@hidden>

The function tcg_gen_lshift() is unused; remove it.

Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
 target-i386/translate.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/target-i386/translate.c b/target-i386/translate.c
index 2359787..6fcd824 100644
--- a/target-i386/translate.c
+++ b/target-i386/translate.c
@@ -1506,14 +1506,6 @@ static void gen_shift_rm_im(DisasContext *s, TCGMemOp 
ot, int op1, int op2,
     }
 }
 
-static inline void tcg_gen_lshift(TCGv ret, TCGv arg1, target_long arg2)
-{
-    if (arg2 >= 0)
-        tcg_gen_shli_tl(ret, arg1, arg2);
-    else
-        tcg_gen_shri_tl(ret, arg1, -arg2);
-}
-
 static void gen_rot_rm_T1(DisasContext *s, TCGMemOp ot, int op1, int is_right)
 {
     target_ulong mask = (ot == MO_64 ? 0x3f : 0x1f);
-- 
1.7.10.4




reply via email to

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