MIPS: math-emu: Allow m{f,t}hc emulation on MIPS R6
authorMarkos Chandras <markos.chandras@imgtec.com>
Fri, 17 Jul 2015 09:36:03 +0000 (10:36 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 3 Sep 2015 10:07:43 +0000 (12:07 +0200)
commite8f80cc1a6d80587136b015e989a12827e1fcfe5
tree59ce41b6f9a045eaf020ca6b41343f1d3c027212
parent166457436e38175e1d9891f98d9d6edbee100f32
MIPS: math-emu: Allow m{f,t}hc emulation on MIPS R6

The mfhc/mthc instructions are supported on MIPS R6 so emulate
them if needed.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: <stable@vger.kernel.org> # 4.0+
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10737/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/cp1emu.c