- Timestamp:
- Feb 1, 2008 5:05:19 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 27808
- Location:
- trunk/src/recompiler/target-i386
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/target-i386/exec.h
r5197 r6726 197 197 void helper_bswapq_T0(void); 198 198 void helper_cmpxchg8b(void); 199 void helper_single_step(void); 199 200 void helper_cpuid(void); 200 201 void helper_enter_level(int level, int data32); -
trunk/src/recompiler/target-i386/helper.c
r6475 r6726 1772 1772 } 1773 1773 CC_SRC = eflags; 1774 } 1775 1776 void helper_single_step() 1777 { 1778 env->dr[6] |= 0x4000; 1779 raise_exception(EXCP01_SSTP); 1774 1780 } 1775 1781 -
trunk/src/recompiler/target-i386/op.c
r5197 r6726 801 801 { 802 802 helper_cmpxchg8b(); 803 } 804 805 void OPPROTO op_single_step(void) 806 { 807 helper_single_step(); 803 808 } 804 809 -
trunk/src/recompiler/target-i386/translate.c
r6108 r6726 2342 2342 gen_op_debug(); 2343 2343 } else if (s->tf) { 2344 gen_op_ raise_exception(EXCP01_SSTP);2344 gen_op_single_step(); 2345 2345 } else { 2346 2346 gen_op_movl_T0_0(); … … 3873 3873 modrm = ldub_code(s->pc++); 3874 3874 mod = (modrm >> 6) & 3; 3875 if ( mod == 3)3875 if ((mod == 3) || ((modrm & 0x38) != 0x8)) 3876 3876 goto illegal_op; 3877 3877 if (s->cc_op != CC_OP_DYNAMIC)
Note:
See TracChangeset
for help on using the changeset viewer.