target-i386/translate.c: Remove unused tcg_gen_lshift() 31/29431/1
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 7 Jun 2014 17:04:55 +0000 (18:04 +0100)
committerGiWoong Kim <giwoong.kim@samsung.com>
Tue, 28 Oct 2014 01:43:28 +0000 (10:43 +0900)
The function tcg_gen_lshift() is unused; remove it.

Change-Id: I1d5ce226649ee2f576698ad7639f7606c3861198
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target-i386/translate.c

index 9cc8922bde67788f033767a2ec33426484a590a1..abb97d103317154abdb48969c2b051f48b4b599d 100644 (file)
@@ -1507,14 +1507,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);