diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-12-19 23:03:29 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-12-19 23:03:29 +0000 |
commit | 9772c73bbc9f24a66bf060e16c0625a258b1bb41 (patch) | |
tree | 29ea3466c4f90d184f4e1999576f28b06537a072 /target-i386/translate.c | |
parent | de06c511ff3dc672f5f4e7884683893a92712c99 (diff) | |
download | qemu-9772c73bbc9f24a66bf060e16c0625a258b1bb41.zip |
fixed ins in case of page fault
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1178 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/translate.c')
-rw-r--r-- | target-i386/translate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c index 1e9bea5726..eba99052ae 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -874,8 +874,10 @@ static inline void gen_cmps(DisasContext *s, int ot) static inline void gen_ins(DisasContext *s, int ot) { - gen_op_in_DX_T0[ot](); gen_string_movl_A0_EDI(s); + gen_op_movl_T0_0(); + gen_op_st_T0_A0[ot + s->mem_index](); + gen_op_in_DX_T0[ot](); gen_op_st_T0_A0[ot + s->mem_index](); gen_op_movl_T0_Dshift[ot](); if (s->aflag) { |