Paul Burton ac1496980f MIPS: Fix BC1{EQ,NE}Z return offset calculation
The conditions for branching when emulating the BC1EQZ & BC1NEZ
instructions were backwards, leading to each of those instructions being
treated as the other. Fix this by reversing the conditions, and clear up
the code a little for readability & checkpatch.

Fixes: c8a34581ec09 ("MIPS: Emulate the BC1{EQ,NE}Z FPU instructions")
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13151/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-05-13 14:02:21 +02:00
..
2016-05-13 14:02:20 +02:00
2016-05-13 14:02:20 +02:00
2011-12-07 22:03:45 +00:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2014-08-26 13:45:51 -04:00
2016-05-13 14:02:02 +02:00
2016-04-03 12:32:09 +02:00
2014-05-24 00:07:01 +02:00
2016-05-09 12:00:02 +02:00
2016-05-13 14:01:57 +02:00
2016-05-13 14:01:54 +02:00
2014-08-02 00:06:37 +02:00
2015-11-11 08:36:46 +01:00
2014-05-24 00:07:01 +02:00
2009-06-24 18:34:40 +01:00
2015-09-03 12:08:05 +02:00
2014-05-24 00:07:01 +02:00