mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
target/i386: Truncate values for lcall_real to i32
Use i32 not int or tl for eip and cs arguments. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20221001140935.465607-15-richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
faf9ea5fa5
commit
8c03ab9f74
3 changed files with 5 additions and 6 deletions
|
@ -5346,7 +5346,8 @@ static bool disas_insn(DisasContext *s, CPUState *cpu)
|
|||
tcg_const_tl(s->pc - s->cs_base));
|
||||
} else {
|
||||
tcg_gen_trunc_tl_i32(s->tmp2_i32, s->T0);
|
||||
gen_helper_lcall_real(cpu_env, s->tmp2_i32, s->T1,
|
||||
tcg_gen_trunc_tl_i32(s->tmp3_i32, s->T1);
|
||||
gen_helper_lcall_real(cpu_env, s->tmp2_i32, s->tmp3_i32,
|
||||
tcg_const_i32(dflag - 1),
|
||||
tcg_const_i32(s->pc - s->cs_base));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue