diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2017-05-09 10:27:59 +0200 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2017-05-12 15:48:02 -0700 |
commit | 1e8e69f08b05065b9c1a85715773cf844bfa27dd (patch) | |
tree | abe6a4895367fde21b63624abe14866f91a8a647 /target | |
parent | a7c1fadf00027d8ff16326f4ea1548e3fdbc4a55 (diff) |
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>
Diffstat (limited to 'target')
-rw-r--r-- | target/s390x/translate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/s390x/translate.c b/target/s390x/translate.c index 19276cc063..3a0a3ee519 100644 --- a/target/s390x/translate.c +++ b/target/s390x/translate.c @@ -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; } |