projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
153ceef
)
target-mips: remove useless sign extension
author
Aurelien Jarno
<aurelien@aurel32.net>
Wed, 10 Feb 2010 17:19:36 +0000
(18:19 +0100)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Tue, 23 Feb 2010 18:47:24 +0000
(19:47 +0100)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/translate.c
patch
|
blob
|
history
diff --git
a/target-mips/translate.c
b/target-mips/translate.c
index
dfea6f6
..
1194444
100644
(file)
--- 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";