projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: math-emu: dsemul: Remove an unused bit in ADDIUPC emulation
[linux-2.6-microblaze.git]
/
arch
/
mips
/
math-emu
/
dsemul.c
diff --git
a/arch/mips/math-emu/dsemul.c
b/arch/mips/math-emu/dsemul.c
index
46b964d
..
d4ceacd
100644
(file)
--- a/
arch/mips/math-emu/dsemul.c
+++ b/
arch/mips/math-emu/dsemul.c
@@
-60,7
+60,7
@@
int mips_dsemul(struct pt_regs *regs, mips_instruction ir, unsigned long cpc)
unsigned int rs;
s32 v;
- rs = (((insn.mm_a_format.rs + 0x
1
e) & 0xf) + 2);
+ rs = (((insn.mm_a_format.rs + 0xe) & 0xf) + 2);
v = regs->cp0_epc & ~3;
v += insn.mm_a_format.simmediate << 2;
regs->regs[rs] = (long)v;