target-i386/translate.c: Remove unused tcg_gen_lshift()
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 7 Jun 2014 17:04:55 +0000 (18:04 +0100)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Fri, 12 Jun 2015 10:55:30 +0000 (19:55 +0900)
The function tcg_gen_lshift() is unused; remove it.

Change-Id: Ie3669b492812ea84cf847c9120a35a4833217080
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);