Changeset 8849 in vbox
- Timestamp:
- May 15, 2008 1:16:14 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 30864
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/target-i386/translate.c
r8832 r8849 3238 3238 static bool is_invalid_lock_sequence(DisasContext *s, target_ulong pc_start, int b) 3239 3239 { 3240 #if 0/** @todo test this properly! */3240 #if 1 /** @todo test this properly! */ 3241 3241 target_ulong pc = s->pc; 3242 3242 int modrm, mod, op; … … 3338 3338 /* /1: CMPXCHG8B mem64 or CMPXCHG16B mem128 */ 3339 3339 case 0xc7: 3340 modrm = ldub_code(pc++); 3340 3341 op = (modrm >> 3) & 7; 3341 3342 if (op != 1) … … 3346 3347 } 3347 3348 3348 /* illegal sequence. */ 3349 /* illegal sequence. The s->pc is past the lock prefix and that 3350 is sufficient for the TB, I think. */ 3349 3351 Log(("illegal lock sequence %VGv (b=%#x)\n", pc_start, b)); 3350 /* exception 6 (UD) is a fault, therefore the PC must not be changed */3351 3352 return true; 3352 3353 #else
Note:
See TracChangeset
for help on using the changeset viewer.