From: Aurelien Jarno Date: Wed, 10 Feb 2010 17:19:36 +0000 (+0100) Subject: target-mips: remove useless sign extension X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~5710 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=abb6f013e647bb6dc3564444c9c7cd4b726453f6;p=sdk%2Femulator%2Fqemu.git target-mips: remove useless sign extension Signed-off-by: Aurelien Jarno --- diff --git a/target-mips/translate.c b/target-mips/translate.c index dfea6f6e34..11944444ea 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -1455,7 +1455,6 @@ static void gen_shift_imm(CPUState *env, DisasContext *ctx, uint32_t opc, opn = "sll"; break; case OPC_SRA: - tcg_gen_ext32s_tl(t0, t0); tcg_gen_sari_tl(cpu_gpr[rt], t0, uimm); opn = "sra"; break; @@ -1855,7 +1854,6 @@ static void gen_shift (CPUState *env, DisasContext *ctx, uint32_t opc, opn = "sllv"; break; case OPC_SRAV: - tcg_gen_ext32s_tl(t1, t1); tcg_gen_andi_tl(t0, t0, 0x1f); tcg_gen_sar_tl(cpu_gpr[rd], t1, t0); opn = "srav";