target/s390x: Raise exception from helper_per_branch
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 2 May 2024 05:44:12 +0000 (22:44 -0700)
committerThomas Huth <thuth@redhat.com>
Wed, 29 May 2024 10:41:15 +0000 (12:41 +0200)
commit5331339651dbf081cb78c219f000dab243022de9
tree46cd0b63159103c2047d99a7c57fc9b51d5c4cd7
parent619f6891ffb252ae1a4ca0e13a630bd3c13d198c
target/s390x: Raise exception from helper_per_branch

Drop from argument, since gbea has always been updated with
this address.  Add ilen argument for setting int_pgm_ilen.
Use update_cc_op before calling per_branch.

By raising the exception here, we need not call
per_check_exception later, which means we can clean up the
normal non-exception branch path.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240502054417.234340-10-richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/helper.h
target/s390x/tcg/misc_helper.c
target/s390x/tcg/translate.c