[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 06/10 1/4] target/s390x: Rename local variable in save_link_in
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 06/10 1/4] target/s390x: Rename local variable in save_link_info |
Date: |
Tue, 10 Sep 2024 01:19:07 +0200 |
From: Richard Henderson <richard.henderson@linaro.org>
To simplify the following commits, rename 't' as 't2'.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240605215739.4758-7-richard.henderson@linaro.org>
[PMD: Split patch, part 1/4]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/s390x/tcg/translate.c | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c
index e1b1dd43e1..faa6d37c8e 100644
--- a/target/s390x/tcg/translate.c
+++ b/target/s390x/tcg/translate.c
@@ -1417,24 +1417,25 @@ static DisasJumpType op_bas(DisasContext *s, DisasOps
*o)
static void save_link_info(DisasContext *s, DisasOps *o)
{
- TCGv_i64 t;
+ TCGv_i64 t2;
if (s->base.tb->flags & (FLAG_MASK_32 | FLAG_MASK_64)) {
pc_to_link_info(o->out, s);
return;
}
+
gen_op_calc_cc(s);
- t = tcg_temp_new_i64();
+ t2 = tcg_temp_new_i64();
tcg_gen_andi_i64(o->out, o->out, 0xffffffff00000000ull);
- gen_psw_addr_disp(s, t, s->ilen);
- tcg_gen_or_i64(o->out, o->out, t);
+ gen_psw_addr_disp(s, t2, s->ilen);
+ tcg_gen_or_i64(o->out, o->out, t2);
tcg_gen_ori_i64(o->out, o->out, (s->ilen / 2) << 30);
- tcg_gen_shri_i64(t, psw_mask, 16);
- tcg_gen_andi_i64(t, t, 0x0f000000);
- tcg_gen_or_i64(o->out, o->out, t);
- tcg_gen_extu_i32_i64(t, cc_op);
- tcg_gen_shli_i64(t, t, 28);
- tcg_gen_or_i64(o->out, o->out, t);
+ tcg_gen_shri_i64(t2, psw_mask, 16);
+ tcg_gen_andi_i64(t2, t2, 0x0f000000);
+ tcg_gen_or_i64(o->out, o->out, t2);
+ tcg_gen_extu_i32_i64(t2, cc_op);
+ tcg_gen_shli_i64(t2, t2, 28);
+ tcg_gen_or_i64(o->out, o->out, t2);
}
static DisasJumpType op_bal(DisasContext *s, DisasOps *o)
--
2.45.2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH v2 06/10 1/4] target/s390x: Rename local variable in save_link_info,
Philippe Mathieu-Daudé <=