VirtualBox

Changeset 105878 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 27, 2024 11:31:45 PM (3 months ago)
Author:
vboxsync
Message:

VMM/IEM: Don't flush PC prior to 64-bit relative jumps, flush it when in the #GP(0) code path. [build fix] bugref:10720 bugref:10373

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllN8veRecompFuncs.h

    r105877 r105878  
    11751175           well write it out and reset offPc to zero.  Otherwise, we'd need to use
    11761176           a copy the shadow PC, which will cost another move instruction here. */
     1177# if defined(IEMNATIVE_WITH_TB_DEBUG_INFO) || defined(LOG_ENABLED) || defined(VBOX_WITH_STATISTICS)
    11771178        uint8_t const idxOldInstrPlusOne = pReNative->idxInstrPlusOneOfLastPcUpdate;
    11781179        pReNative->idxInstrPlusOneOfLastPcUpdate = RT_MAX(idxInstr + 1, idxOldInstrPlusOne);
     
    11851186        iemNativeDbgInfoAddDelayedPcUpdate(pReNative, pReNative->Core.offPc, cInstrsSkipped);
    11861187#  endif
     1188# endif
    11871189        pReNative->Core.offPc = 0;
    11881190#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette