[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 15/38 6/6] target/s390x: Improve general case of disas_jcc
From: |
Ilya Leoshkevich |
Subject: |
Re: [PATCH v3 15/38 6/6] target/s390x: Improve general case of disas_jcc |
Date: |
Mon, 22 Jan 2024 22:38:46 +0100 |
On Sat, Jan 20, 2024 at 12:23:02AM +0100, Philippe Mathieu-Daudé wrote:
> From: Richard Henderson <richard.henderson@linaro.org>
>
> Avoid code duplication by handling 7 of the 14 cases
> by inverting the test for the other 7 cases.
>
> Use TCG_COND_TSTNE for cc in {1,3}.
> Use (cc - 1) <= 1 for cc in {1,2}.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> target/s390x/tcg/translate.c | 52 +++++++++++-------------------------
> 1 file changed, 15 insertions(+), 37 deletions(-)
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>