From a228660860a9d219cdcad8aba1aafd1fbc425574 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 12 Mar 2018 12:38:17 -0400 Subject: [PATCH] target/sparc/fop_helper: Perform comparison pass against qemu Ensure formatting and code is consistent from the backporting --- qemu/target/sparc/fop_helper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qemu/target/sparc/fop_helper.c b/qemu/target/sparc/fop_helper.c index 1c40b99f..b6642fd1 100644 --- a/qemu/target/sparc/fop_helper.c +++ b/qemu/target/sparc/fop_helper.c @@ -64,9 +64,10 @@ static target_ulong do_check_ieee_exceptions(CPUSPARCState *env, uintptr_t ra) cpu_loop_exit_restore(cs, ra); } else { /* Accumulate exceptions */ - fsr |= (env->fsr & FSR_CEXC_MASK) << 5; + fsr |= (fsr & FSR_CEXC_MASK) << 5; } } + return fsr; }