diff options
author | Rob Kendrick <rob.kendrick@codethink.co.uk> | 2014-07-23 10:03:58 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-07-30 19:13:35 +0200 |
commit | c3b9b945e02e011c63522761e91133ea43eb6939 (patch) | |
tree | 016753aecbdfb9764f940cfb3bcf2186bfe56b39 /arch/mips/math-emu | |
parent | 8393c524a25609a30129e4a8975cf3b91f6c16a5 (diff) | |
download | linux-c3b9b945e02e011c63522761e91133ea43eb6939.tar.bz2 |
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>
Diffstat (limited to 'arch/mips/math-emu')
-rw-r--r-- | arch/mips/math-emu/cp1emu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c index 736c17a226e9..bf0fc6b16ad9 100644 --- a/arch/mips/math-emu/cp1emu.c +++ b/arch/mips/math-emu/cp1emu.c @@ -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) |