MIPS: math-emu: Emulate missing BC1{EQ,NE}Z instructions
authorMarkos Chandras <markos.chandras@imgtec.com>
Fri, 17 Jul 2015 09:38:32 +0000 (10:38 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 3 Sep 2015 10:07:43 +0000 (12:07 +0200)
commitc909ca718e8f50cf484ef06a8dd935e738e8e53d
treea1125b393cbc0d38bd2039cc188a564efa4d7d90
parente8f80cc1a6d80587136b015e989a12827e1fcfe5
MIPS: math-emu: Emulate missing BC1{EQ,NE}Z instructions

Commit c8a34581ec09 ("MIPS: Emulate the BC1{EQ,NE}Z FPU instructions")
added support for emulating the new R6 BC1{EQ,NE}Z branches but it missed
the case where the instruction that caused the exception was not on a DS.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Fixes: c8a34581ec09 ("MIPS: Emulate the BC1{EQ,NE}Z FPU instructions")
Cc: <stable@vger.kernel.org> # 4.0+
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10738/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/cp1emu.c