Changeset 64545 in vbox for trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
- Timestamp:
- Nov 4, 2016 1:58:05 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
r62639 r64545 11390 11390 * @{ 11391 11391 */ 11392 #ifdef VBOX_WITH_STATISTICS 11393 # define IEMOP_INC_STATS(a_Stats) do { pVCpu->iem.s.CTX_SUFF(pStats)->a_Stats += 1; } while (0) 11394 #else 11395 # define IEMOP_INC_STATS(a_Stats) do { } while (0) 11396 #endif 11397 11392 11398 #ifdef DEBUG 11393 # define IEMOP_MNEMONIC(a_ szMnemonic) \11394 Log4(("decode - %04x:%RGv %s%s [#%u]\n", IEM_GET_CTX(pVCpu)->cs.Sel, IEM_GET_CTX(pVCpu)->rip,\11395 pVCpu->iem.s.fPrefixes & IEM_OP_PRF_LOCK ? "lock " : "", a_szMnemonic, pVCpu->iem.s.cInstructions))11396 # define IEMOP_MNEMONIC2(a_szMnemonic, a_szOps)\11397 Log4(("decode - %04x:%RGv %s%s %s [#%u]\n", IEM_GET_CTX(pVCpu)->cs.Sel, IEM_GET_CTX(pVCpu)->rip,\11398 pVCpu->iem.s.fPrefixes & IEM_OP_PRF_LOCK ? "lock " : "", a_szMnemonic, a_szOps, pVCpu->iem.s.cInstructions))11399 # define IEMOP_MNEMONIC(a_Stats, a_szMnemonic) \ 11400 do { \ 11401 IEMOP_INC_STATS(a_Stats); \ 11402 Log4(("decode - %04x:%RGv %s%s [#%u]\n", IEM_GET_CTX(pVCpu)->cs.Sel, IEM_GET_CTX(pVCpu)->rip, \ 11403 pVCpu->iem.s.fPrefixes & IEM_OP_PRF_LOCK ? "lock " : "", a_szMnemonic, pVCpu->iem.s.cInstructions)); \ 11404 } while (0) 11399 11405 #else 11400 # define IEMOP_MNEMONIC(a_szMnemonic) do { } while (0) 11401 # define IEMOP_MNEMONIC2(a_szMnemonic, a_szOps) do { } while (0) 11406 # define IEMOP_MNEMONIC(a_Stats, a_szMnemonic) IEMOP_INC_STATS(a_Stats) 11402 11407 #endif 11403 11408
Note:
See TracChangeset
for help on using the changeset viewer.