summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2015-07-16 15:06:45 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-09-03 12:07:42 +0200
commitbbdd8147b1b9efb7268a7cad31e148d794363abe (patch)
tree9070ffb81ef28b9329d68f30912cfb51faa3cafd /arch/mips/math-emu
parentMIPS: Kconfig: Drop the EXPERIMENTAL tag from MIPS R6 (diff)
downloadlinux-bbdd8147b1b9efb7268a7cad31e148d794363abe.tar.xz
linux-bbdd8147b1b9efb7268a7cad31e148d794363abe.zip
MIPS: cp1emu: Fix closing bracket for the d_fmt case
The double format (d_fmt) case uses an opening bracket which then closes at the end of the word format (w_fmt). This can be rather confusing so add the closing bracket at the end of the d_fmt case and use another one for the w_fmt one. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/10733/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu')
-rw-r--r--arch/mips/math-emu/cp1emu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c
index 712f17a2ecf2..cd858953a783 100644
--- a/arch/mips/math-emu/cp1emu.c
+++ b/arch/mips/math-emu/cp1emu.c
@@ -2021,8 +2021,11 @@ dcopuop:
break;
}
break;
+ }
+
+ case w_fmt: {
+ union ieee754dp fs;
- case w_fmt:
switch (MIPSInst_FUNC(ir)) {
case fcvts_op:
/* convert word to single precision real */