diff options
Diffstat (limited to 'target-i386/translate.c')
-rw-r--r-- | target-i386/translate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c index a3005d8d53..093723944c 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -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); } |