From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtK36-0007kJ-Vv for qemu-devel@nongnu.org; Sat, 07 Jun 2014 13:04:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtK36-0005lu-2V for qemu-devel@nongnu.org; Sat, 07 Jun 2014 13:04:56 -0400 From: Peter Maydell Date: Sat, 7 Jun 2014 18:04:55 +0100 Message-Id: <1402160695-14060-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH] target-i386/translate.c: Remove unused tcg_gen_lshift() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, patches@linaro.org The function tcg_gen_lshift() is unused; remove it. Signed-off-by: Peter Maydell --- target-i386/translate.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/target-i386/translate.c b/target-i386/translate.c index 3aa52eb..c02f7fd 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -1505,14 +1505,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.8.5.4