]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 17:25:57 +0000 (19:25 +0200)
commit5242720923a0a6d3a59b62e51c053f0948b9d2a3
treee37ad34c8310db5626bbeb98aed45509e8c1f08a
parent2297868856a2208eed7598446edfcc71ffb717a1
MIPS: math-emu: Emulate missing BC1{EQ,NE}Z instructions

commit c909ca718e8f50cf484ef06a8dd935e738e8e53d upstream.

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: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10738/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/math-emu/cp1emu.c