Changeset 37697 in vbox for trunk/src/recompiler/tcg/i386
- Timestamp:
- Jun 29, 2011 7:06:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/tcg/i386/tcg-target.c
r37696 r37697 464 464 the 32-bit-mode absolute addressing encoding. */ 465 465 #ifdef VBOX 466 tcg_target_long pc = (tcg_target_long)s->code_ptr + tcg_calc_opc_len(s, opc, r, 0, 0) + 5; 466 tcg_target_long pc = (tcg_target_long)s->code_ptr 467 + tcg_calc_opc_len(s, opc, r, 0, 0) + 1 + 4; 467 468 #else 468 469 tcg_target_long pc = (tcg_target_long)s->code_ptr + 5 + ~rm; … … 993 994 #ifdef VBOX 994 995 tcg_target_long disp = dest - (tcg_target_long)s->code_ptr 995 - tcg_calc_opc_len(s, call ? OPC_CALL_Jz : OPC_JMP_long, 0, 0, 0); 996 - tcg_calc_opc_len(s, call ? OPC_CALL_Jz : OPC_JMP_long, 0, 0, 0) 997 - 4; 996 998 #else 997 999 tcg_target_long disp = dest - (tcg_target_long)s->code_ptr - 5;
Note:
See TracChangeset
for help on using the changeset viewer.