/[qemu]/qemu/target-i386/translate.c
ViewVC logotype

Diff of /qemu/target-i386/translate.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by bellard, Wed Nov 19 22:08:13 2003 UTC revision 1.9 by bellard, Sun Nov 23 23:09:40 2003 UTC
# Line 3540  static uint8_t *disas_insn(DisasContext Line 3540  static uint8_t *disas_insn(DisasContext
3540                      gen_op_movw_eflags_T0_cpl0();                      gen_op_movw_eflags_T0_cpl0();
3541                  }                  }
3542              } else {              } else {
3543                  if (s->dflag) {                  if (s->cpl <= s->iopl) {
3544                      gen_op_movl_eflags_T0();                      if (s->dflag) {
3545                            gen_op_movl_eflags_T0_io();
3546                        } else {
3547                            gen_op_movw_eflags_T0_io();
3548                        }
3549                  } else {                  } else {
3550                      gen_op_movw_eflags_T0();                      if (s->dflag) {
3551                            gen_op_movl_eflags_T0();
3552                        } else {
3553                            gen_op_movw_eflags_T0();
3554                        }
3555                  }                  }
3556              }              }
3557              gen_pop_update(s);              gen_pop_update(s);
# Line 4265  static uint16_t opc_write_flags[NB_OPS] Line 4273  static uint16_t opc_write_flags[NB_OPS]
4273      [INDEX_op_movb_eflags_T0] = CC_S | CC_Z | CC_A | CC_P | CC_C,      [INDEX_op_movb_eflags_T0] = CC_S | CC_Z | CC_A | CC_P | CC_C,
4274      [INDEX_op_movw_eflags_T0] = CC_OSZAPC,      [INDEX_op_movw_eflags_T0] = CC_OSZAPC,
4275      [INDEX_op_movl_eflags_T0] = CC_OSZAPC,      [INDEX_op_movl_eflags_T0] = CC_OSZAPC,
4276        [INDEX_op_movw_eflags_T0_io] = CC_OSZAPC,
4277        [INDEX_op_movl_eflags_T0_io] = CC_OSZAPC,
4278        [INDEX_op_movw_eflags_T0_cpl0] = CC_OSZAPC,
4279        [INDEX_op_movl_eflags_T0_cpl0] = CC_OSZAPC,
4280      [INDEX_op_clc] = CC_C,      [INDEX_op_clc] = CC_C,
4281      [INDEX_op_stc] = CC_C,      [INDEX_op_stc] = CC_C,
4282      [INDEX_op_cmc] = CC_C,      [INDEX_op_cmc] = CC_C,

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26