[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 09/14] target/s390x: Raise exception from helper_per_branch
From: |
Ilya Leoshkevich |
Subject: |
Re: [PATCH 09/14] target/s390x: Raise exception from helper_per_branch |
Date: |
Thu, 23 May 2024 00:45:37 +0200 |
User-agent: |
Evolution 3.50.4 (3.50.4-1.fc39) |
On Wed, 2024-05-01 at 22:44 -0700, Richard Henderson wrote:
> 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>
> ---
> target/s390x/helper.h | 2 +-
> target/s390x/tcg/misc_helper.c | 15 +++++++----
> target/s390x/tcg/translate.c | 48 ++++++++++++--------------------
> --
> 3 files changed, 27 insertions(+), 38 deletions(-)
[...]
> static bool use_goto_tb(DisasContext *s, uint64_t dest)
> {
> - if (unlikely(s->base.tb->flags & FLAG_MASK_PER_BRANCH)) {
> - return false;
> - }
Why was this required in the first place and why can we remove it now?
- [PATCH 05/14] target/s390x: Disable conditional branch-to-next for PER, (continued)
- [PATCH 05/14] target/s390x: Disable conditional branch-to-next for PER, Richard Henderson, 2024/05/02
- [PATCH 10/14] target/s390x: Raise exception from per_store_real, Richard Henderson, 2024/05/02
- [PATCH 11/14] target/s390x: Fix helper_per_ifetch flags, Richard Henderson, 2024/05/02
- [PATCH 13/14] target/s390x: Adjust check of noreturn in translate_one, Richard Henderson, 2024/05/02
- [PATCH 07/14] target/s390x: Simplify help_branch, Richard Henderson, 2024/05/02
- [PATCH 12/14] target/s390x: Simplify per_ifetch, per_check_exception, Richard Henderson, 2024/05/02
- [PATCH 08/14] target/s390x: Split per_breaking_event from per_branch_*, Richard Henderson, 2024/05/02
- [PATCH 09/14] target/s390x: Raise exception from helper_per_branch, Richard Henderson, 2024/05/02
- Re: [PATCH 09/14] target/s390x: Raise exception from helper_per_branch,
Ilya Leoshkevich <=
- [PATCH 14/14] tests/tcg/s390x: Add per.S, Richard Henderson, 2024/05/02
- [PATCH 06/14] target/s390x: Introduce help_goto_indirect, Richard Henderson, 2024/05/02