]> git.proxmox.com Git - mirror_qemu.git/commitdiff
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)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 10 Jun 2014 15:39:34 +0000 (19:39 +0400)
The function tcg_gen_lshift() is unused; remove it.

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

index 2359787b42b218960f6ebabea1daf02edc5d89c7..6fcd8245d2df7117fea5fa226c6fc96c4fd5559e 100644 (file)
@@ -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);