VirtualBox

Changeset 102883 in vbox


Ignore:
Timestamp:
Jan 16, 2024 12:39:13 AM (14 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161103
Message:

VMM/IEM: Maintain pReNative->fExec in iemNativeRecompFunc_BltIn_CheckMode rather than as an extra check in the main loop (unless we need it earlier for debug info). bugref:10371

Location:
trunk/src/VBox/VMM/VMMAll
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllN8veRecompBltIn.cpp

    r102856 r102883  
    275275                                                              kIemNativeLabelType_ReturnBreak);
    276276    iemNativeRegFreeTmp(pReNative, idxTmpReg);
     277
     278    /* Maintain the recompiler fExec state. */
     279    pReNative->fExec = fExpectedExec & IEMTB_F_IEM_F_MASK;
    277280    return off;
    278281}
  • trunk/src/VBox/VMM/VMMAll/IEMAllN8veRecompiler.cpp

    r102876 r102883  
    1317513175             * Debug info and assembly markup.
    1317613176             */
     13177#if defined(IEMNATIVE_WITH_TB_DEBUG_INFO) || !defined(IEMNATIVE_WITH_BLTIN_CHECKMODE)
    1317713178            if (pCallEntry->enmFunction == kIemThreadedFunc_BltIn_CheckMode)
    1317813179                pReNative->fExec = pCallEntry->auParams[0] & IEMTB_F_IEM_F_MASK;
     13180#endif
    1317913181#ifdef IEMNATIVE_WITH_TB_DEBUG_INFO
    1318013182            iemNativeDbgInfoAddNativeOffset(pReNative, off);
  • trunk/src/VBox/VMM/VMMAll/IEMAllThrdPython.py

    r102879 r102883  
    25462546        ];
    25472547
     2548        # Emit indicators as to which of the builtin functions have a native
     2549        # recompiler function and which not.  (We only really need this for
     2550        # kIemThreadedFunc_BltIn_CheckMode, but do all just for simplicity.)
     2551        for atBltIn in self.katBltIns:
     2552            if atBltIn[1]:
     2553                asLines.append('#define IEMNATIVE_WITH_BLTIN_' + atBltIn[0].upper())
     2554            else:
     2555                asLines.append('#define IEMNATIVE_WITHOUT_BLTIN_' + atBltIn[0].upper())
     2556
    25482557        oOut.write('\n'.join(asLines));
    25492558        return True;
Note: See TracChangeset for help on using the changeset viewer.

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