diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2010-02-10 18:19:36 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-02-23 19:47:24 +0100 |
commit | 6462bfcdeda8ac9061e52f15ed06aae16b260d4c (patch) | |
tree | 9477232cce8b887b0f562cf8adc2cc827947542a /target-mips | |
parent | 153ceefb4a3dfc234df30bf1770c2c085d39eb2f (diff) |
target-mips: remove useless sign extension
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-mips')
-rw-r--r-- | target-mips/translate.c | 2 |
1 files changed, 0 insertions, 2 deletions
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"; |