VirtualBox

Ignore:
Timestamp:
Oct 24, 2022 2:58:21 PM (2 years ago)
Author:
vboxsync
Message:

VMM/cpumctx.h: Set CPUMX86EFLAGS_HW_BITS to 24 as there seems to be no clear performance difference to 32. This should allow IEM and others to get away with more efficient encoding of RFLAGS/fIntInhibit updates later (see code comment).

File:
1 edited

Legend:

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

    r97262 r97281  
    48104810            /* Construct the stack frame for the interrupt/exception handler. */
    48114811            VBOXSTRICTRC rcStrict;
    4812             rcStrict = hmR0VmxRealModeGuestStackPush(pVCpu, pCtx->eflags.u);
     4812            rcStrict = hmR0VmxRealModeGuestStackPush(pVCpu, (uint16_t)pCtx->eflags.u);
    48134813            if (rcStrict == VINF_SUCCESS)
    48144814            {
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