Commit 9772c73bbc9f24a66bf060e16c0625a258b1bb41

Authored by bellard
1 parent de06c511

fixed ins in case of page fault


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1178 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 3 additions and 1 deletions
target-i386/translate.c
... ... @@ -874,8 +874,10 @@ static inline void gen_cmps(DisasContext *s, int ot)
874 874  
875 875 static inline void gen_ins(DisasContext *s, int ot)
876 876 {
877   - gen_op_in_DX_T0[ot]();
878 877 gen_string_movl_A0_EDI(s);
  878 + gen_op_movl_T0_0();
  879 + gen_op_st_T0_A0[ot + s->mem_index]();
  880 + gen_op_in_DX_T0[ot]();
879 881 gen_op_st_T0_A0[ot + s->mem_index]();
880 882 gen_op_movl_T0_Dshift[ot]();
881 883 if (s->aflag) {
... ...