projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80e55f5
)
target/i386: do not use s->tmp4 for push
author
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 20 Oct 2023 07:32:06 +0000
(09:32 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 29 Dec 2023 21:03:53 +0000
(22:03 +0100)
Just create a temporary for the occasion.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/translate.c
patch
|
blob
|
history
diff --git
a/target/i386/tcg/translate.c
b/target/i386/tcg/translate.c
index b79c312465b2b7cb5c41aaf0791794aa7612306b..afe0fa6c65f2d9a8d35839337dce86adb7210948 100644
(file)
--- 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);