]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6801071829a4eeaffc6445ddd2131b0e3babf107
treea1125b393cbc0d38bd2039cc188a564efa4d7d90
parent61f2d1c3f452b1287e1496c5c9484e41f2c33e44
MIPS: math-emu: Emulate missing BC1{EQ,NE}Z instructions

Commit 200d8fbdfcd0 ("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: 200d8fbdfcd0 ("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