[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 15/22] target/i386: do not use s->tmp4 for push
From: |
Paolo Bonzini |
Subject: |
[PATCH 15/22] target/i386: do not use s->tmp4 for push |
Date: |
Fri, 22 Dec 2023 19:15:56 +0100 |
Just create a temporary for the occasion.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
target/i386/tcg/translate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c
index b79c312465b..afe0fa6c65f 100644
--- a/target/i386/tcg/translate.c
+++ b/target/i386/tcg/translate.c
@@ -2580,7 +2580,7 @@ static void gen_push_v(DisasContext *s, TCGv val)
if (!CODE64(s)) {
if (ADDSEG(s)) {
- new_esp = s->tmp4;
+ new_esp = tcg_temp_new();
tcg_gen_mov_tl(new_esp, s->A0);
}
gen_lea_v_seg(s, a_ot, s->A0, R_SS, -1);
--
2.43.0
- [PATCH 18/22] target/i386: prepare for implementation of STOS/SCAS in new decoder, (continued)
- [PATCH 18/22] target/i386: prepare for implementation of STOS/SCAS in new decoder, Paolo Bonzini, 2023/12/22
- [PATCH 06/22] target/i386: document more deviations from the manual, Paolo Bonzini, 2023/12/22
- [PATCH 10/22] target/i386: add X86_SPECIALs for MOVSX and MOVZX, Paolo Bonzini, 2023/12/22
- [PATCH 13/22] target/i386: do not clobber T0 on string operations, Paolo Bonzini, 2023/12/22
- [PATCH 16/22] target/i386: do not use s->tmp0 for jumps on ECX ==/!= 0, Paolo Bonzini, 2023/12/22
- [PATCH 15/22] target/i386: do not use s->tmp4 for push,
Paolo Bonzini <=
- [PATCH 19/22] target/i386: move operand load and writeback out of gen_cmovcc1, Paolo Bonzini, 2023/12/22
- [PATCH 20/22] target/i386: adjust decoding of J operand, Paolo Bonzini, 2023/12/22
- [PATCH 05/22] target/i386: clean up cpu_cc_compute_all, Paolo Bonzini, 2023/12/22
- [PATCH 07/22] target/i386: reimplement check for validity of LOCK prefix, Paolo Bonzini, 2023/12/22
- [PATCH 09/22] target/i386: rename zext0/zext2 and make them closer to the manual, Paolo Bonzini, 2023/12/22