VirtualBox

Changeset 106191 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Oct 1, 2024 12:56:17 PM (4 months ago)
Author:
vboxsync
Message:

VMM/IEM: Liveness fix for IEM_MC_SET_EFL_BIT and IEM_MC_CLEAR_EFL_BIT - neither takes intput, they just clobber the flag. bugref:10720 bugref:10372

File:
1 edited

Legend:

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

    r106179 r106191  
    701701
    702702#define IEM_MC_SET_EFL_BIT(a_fBit) do { \
    703         if ((a_fBit) == X86_EFL_CF)      IEM_LIVENESS_ONE_EFLAG_INPUT(fEflCf); \
     703        if ((a_fBit) == X86_EFL_CF)      IEM_LIVENESS_ONE_EFLAG_CLOBBER(fEflCf); \
    704704        else if ((a_fBit) == X86_EFL_DF) IEM_LIVENESS_ONE_EFLAG_MODIFY(fEflOther); \
    705705        else { AssertFailed();           IEM_LIVENESS_ALL_EFLAGS_MODIFY(); } \
    706706    } while (0)
    707707#define IEM_MC_CLEAR_EFL_BIT(a_fBit) do { \
    708         if ((a_fBit) == X86_EFL_CF)      IEM_LIVENESS_ONE_EFLAG_INPUT(fEflCf); \
     708        if ((a_fBit) == X86_EFL_CF)      IEM_LIVENESS_ONE_EFLAG_CLOBBER(fEflCf); \
    709709        else if ((a_fBit) == X86_EFL_DF) IEM_LIVENESS_ONE_EFLAG_MODIFY(fEflOther); \
    710         else { AssertFailed();           IEM_LIVENESS_ALL_EFLAGS_INPUT(); } \
     710        else { AssertFailed();           IEM_LIVENESS_ALL_EFLAGS_MODIFY(); } \
    711711    } while (0)
    712712#define IEM_MC_FLIP_EFL_BIT(a_fBit) do { \
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