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:
Rob Kendrick 2014-07-23 10:03:58 +01:00 committed by Ralf Baechle
parent 8393c524a2
commit c3b9b945e0
1 changed files with 1 additions and 1 deletions

View File

@ -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)