VirtualBox

Changeset 102471 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Dec 5, 2023 12:46:45 PM (17 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160614
Message:

VMM/IEM: IEM_MC_ASSIGN_TO_SMALLER (lea); fixed a few bugs wrt guest register shadowing. bugref:10371

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/IEMMc.h

    r102448 r102471  
    208208   do { pVCpu->cpum.GstCtx.eflags.u = (a_EFlags); Assert(pVCpu->cpum.GstCtx.eflags.u & X86_EFL_1); } while (0)
    209209
    210 #define IEM_MC_ASSIGN_TO_SMALLER(a_VarOrArg, a_CVariableOrConst) (a_VarOrArg) = (a_CVariableOrConst)
     210/** ASSUMES the source variable not used after this statement. */
     211#define IEM_MC_ASSIGN_TO_SMALLER(a_VarDst, a_VarSrcEol) (a_VarDst) = (a_VarSrcEol)
    211212
    212213#define IEM_MC_FETCH_GREG_U8(a_u8Dst, a_iGReg)          (a_u8Dst)  = iemGRegFetchU8(pVCpu, (a_iGReg))
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