target/s390x: fix SIGNAL PROCESSOR return value
The SIGNAL PROCESSOR helper returns its value through the CC register. set_cc_static should be called just after the helper. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Message-Id: <20170509082800.10756-3-aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
a7c1fadf00
commit
1e8e69f08b
@ -3406,6 +3406,7 @@ static ExitStatus op_sigp(DisasContext *s, DisasOps *o)
|
||||
check_privileged(s);
|
||||
potential_page_fault(s);
|
||||
gen_helper_sigp(cc_op, cpu_env, o->in2, r1, o->in1);
|
||||
set_cc_static(s);
|
||||
tcg_temp_free_i32(r1);
|
||||
return NO_EXIT;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user