Changeset 21186 in vbox for trunk/src/recompiler
- Timestamp:
- Jul 3, 2009 9:48:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/target-i386/translate.c
r18476 r21186 8079 8079 } else { 8080 8080 modrm = ldub_code(s->pc++); 8081 #ifndef VBOX /* mod bits are always understood to be 11 (0xc0) regardless of actual content; see AMD manuals */ 8081 8082 if ((modrm & 0xc0) != 0xc0) 8082 8083 goto illegal_op; 8084 #endif 8083 8085 rm = (modrm & 7) | REX_B(s); 8084 8086 reg = ((modrm >> 3) & 7) | rex_r; … … 8119 8121 } else { 8120 8122 modrm = ldub_code(s->pc++); 8123 #ifndef VBOX /* mod bits are always understood to be 11 (0xc0) regardless of actual content; see AMD manuals */ 8121 8124 if ((modrm & 0xc0) != 0xc0) 8122 8125 goto illegal_op; 8126 #endif 8123 8127 rm = (modrm & 7) | REX_B(s); 8124 8128 reg = ((modrm >> 3) & 7) | rex_r;
Note:
See TracChangeset
for help on using the changeset viewer.