aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-06-07 18:04:55 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2014-06-10 19:39:34 +0400
commite3a17ef6cc8034b6a453014746c34b41435c3345 (patch)
tree716bd92660654459044941eef575a701b10f619f
parentf46b9cc71ca69907d7e0b75eae669ed747f375b0 (diff)
downloadqemu-e3a17ef6cc8034b6a453014746c34b41435c3345.zip
qemu-e3a17ef6cc8034b6a453014746c34b41435c3345.tar.gz
qemu-e3a17ef6cc8034b6a453014746c34b41435c3345.tar.bz2
target-i386/translate.c: Remove unused tcg_gen_lshift()
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>
-rw-r--r--target-i386/translate.c8
1 files changed, 0 insertions, 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);