mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
loop insn fix for non x86 hosts
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1305 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
194884dd6f
commit
0b9dc5e4c3
3 changed files with 9 additions and 6 deletions
|
@ -5271,6 +5271,8 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
|
|||
gen_op_jz_ecx[s->aflag](l1);
|
||||
} else {
|
||||
gen_op_dec_ECX[s->aflag]();
|
||||
if (b <= 1)
|
||||
gen_op_mov_T0_cc();
|
||||
gen_op_loop[s->aflag][b](l1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue