提交 1e8e69f0 编写于 作者: A Aurelien Jarno 提交者: Richard Henderson

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: NAurelien Jarno <aurelien@aurel32.net>
Message-Id: <20170509082800.10756-3-aurelien@aurel32.net>
Signed-off-by: NRichard Henderson <rth@twiddle.net>
上级 a7c1fadf
...@@ -3406,6 +3406,7 @@ static ExitStatus op_sigp(DisasContext *s, DisasOps *o) ...@@ -3406,6 +3406,7 @@ static ExitStatus op_sigp(DisasContext *s, DisasOps *o)
check_privileged(s); check_privileged(s);
potential_page_fault(s); potential_page_fault(s);
gen_helper_sigp(cc_op, cpu_env, o->in2, r1, o->in1); gen_helper_sigp(cc_op, cpu_env, o->in2, r1, o->in1);
set_cc_static(s);
tcg_temp_free_i32(r1); tcg_temp_free_i32(r1);
return NO_EXIT; return NO_EXIT;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册