/[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.41 by bellard, Sun Jan 16 01:07:28 2005 UTC revision 1.42 by bellard, Sun Jan 23 20:46:56 2005 UTC
# Line 5631  static target_ulong disas_insn(DisasCont Line 5631  static target_ulong disas_insn(DisasCont
5631              case 2:              case 2:
5632              case 3:              case 3:
5633              case 4:              case 4:
5634                case 8:
5635                  if (b & 2) {                  if (b & 2) {
5636                      gen_op_mov_TN_reg[ot][0][rm]();                      gen_op_mov_TN_reg[ot][0][rm]();
5637                      gen_op_movl_crN_T0(reg);                      gen_op_movl_crN_T0(reg);
5638                      gen_jmp_im(s->pc - s->cs_base);                      gen_jmp_im(s->pc - s->cs_base);
5639                      gen_eob(s);                      gen_eob(s);
5640                  } else {                  } else {
5641                      gen_op_movtl_T0_env(offsetof(CPUX86State,cr[reg]));                      if (reg == 8)
5642                            gen_op_movtl_T0_cr8();
5643                        else
5644                            gen_op_movtl_T0_env(offsetof(CPUX86State,cr[reg]));
5645                      gen_op_mov_reg_T0[ot][rm]();                      gen_op_mov_reg_T0[ot][rm]();
5646                  }                  }
5647                  break;                  break;
                 /* XXX: add CR8 for x86_64 */  
5648              default:              default:
5649                  goto illegal_op;                  goto illegal_op;
5650              }              }

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

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