Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbdd8147 authored by Markos Chandras's avatar Markos Chandras Committed by Ralf Baechle
Browse files

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: default avatarMarkos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10733/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 674d10e2
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -2021,8 +2021,11 @@ static int fpu_emu(struct pt_regs *xcp, struct mips_fpu_struct *ctx,
			break;
			break;
		}
		}
		break;
		break;
	}

	case w_fmt: {
		union ieee754dp fs;


	case w_fmt:
		switch (MIPSInst_FUNC(ir)) {
		switch (MIPSInst_FUNC(ir)) {
		case fcvts_op:
		case fcvts_op:
			/* convert word to single precision real */
			/* convert word to single precision real */