MIPS: math-emu: Fix instruction decoding.
Tested-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
8393c524a2
commit
c3b9b945e0
1 changed files with 1 additions and 1 deletions
|
@ -1827,7 +1827,7 @@ dcopuop:
|
|||
case -1:
|
||||
|
||||
if (cpu_has_mips_4_5_r)
|
||||
cbit = fpucondbit[MIPSInst_RT(ir) >> 2];
|
||||
cbit = fpucondbit[MIPSInst_FD(ir) >> 2];
|
||||
else
|
||||
cbit = FPU_CSR_COND;
|
||||
if (rv.w)
|
||||
|
|
Loading…
Reference in a new issue