- Timestamp:
- Jan 20, 2009 7:47:12 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler_new/target-i386/translate.c
r15982 r16066 647 647 /* For other segments this check is waste of time, and also TCG is unable to cope with this code, 648 648 for data/stack segments, as expects alive cpu_T[0] */ 649 if (reg != R_GS) 649 if (reg != R_GS) 650 650 return; 651 651 … … 664 664 tcg_gen_ld32u_tl(t0, cpu_env, offsetof(CPUState, eflags) + REG_L_OFFSET); 665 665 tcg_gen_andi_tl(t0, t0, VM_MASK); 666 tcg_gen_brcondi_i32(TCG_COND_NE, t0, 0, skip_label); 666 tcg_gen_brcondi_i32(TCG_COND_NE, t0, 0, skip_label); 667 667 tcg_gen_movi_tl(t0, reg); 668 668 669 669 tcg_gen_helper_0_1(helper_sync_seg, t0); 670 670 … … 4138 4138 case 0x21: case 0x31: /* pmovsxbd, pmovzxbd */ 4139 4139 case 0x24: case 0x34: /* pmovsxwq, pmovzxwq */ 4140 tcg_gen_qemu_ld32u(cpu_tmp 2_i32, cpu_A0,4140 tcg_gen_qemu_ld32u(cpu_tmp0, cpu_A0, 4141 4141 (s->mem_index >> 2) - 1); 4142 tcg_gen_trunc_tl_i32(cpu_tmp2_i32, cpu_tmp0); 4142 4143 tcg_gen_st_i32(cpu_tmp2_i32, cpu_env, op2_offset + 4143 4144 offsetof(XMMReg, XMM_L(0)));
Note:
See TracChangeset
for help on using the changeset viewer.