qemu-s390x
[Top][All Lists]
Advanced

[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: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 15/38 6/6] target/s390x: Improve general case of disas_jcc
Date: Sat, 20 Jan 2024 00:27:32 +0100
User-agent: Mozilla Thunderbird

On 20/1/24 00:23, 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(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]