mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-25 08:26:52 +00:00
target/i386: Save cc_op before loop insns
We forgot to update cc_op before these branch insns, which lead to losing track of the current eflags. Buglink: https://bugs.launchpad.net/qemu/+bug/1888165 Backports commit 3cb3a7720b01830abd5fbb81819dbb9271bf7821 from qemu
This commit is contained in:
parent
001d2e6a29
commit
6390789a09
|
@ -7690,6 +7690,7 @@ static target_ulong disas_insn(DisasContext *s, CPUState *cpu)
|
|||
l1 = gen_new_label(tcg_ctx);
|
||||
l2 = gen_new_label(tcg_ctx);
|
||||
l3 = gen_new_label(tcg_ctx);
|
||||
gen_update_cc_op(s);
|
||||
b &= 3;
|
||||
switch(b) {
|
||||
case 0: /* loopnz */
|
||||
|
|
Loading…
Reference in a new issue