mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 15:10:38 +00:00
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
@ -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…
x
Reference in New Issue
Block a user