VirtualBox

Changeset 104343 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Apr 17, 2024 1:19:06 PM (10 months ago)
Author:
vboxsync
Message:

VMM/IEM: Fixed debug/strict regression from r162198 where x0/rax could be trashed by IEMNATIVE_STRICT_EFLAGS_SKIPPING_EMIT_CHECK in iemNativeEmitEpilog leading to weird return status codes and misbehaviour. bugref:10375

File:
1 edited

Legend:

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

    r104342 r104343  
    63986398#endif
    63996399    IEMNATIVE_ASSERT_INSTR_BUF_ENSURE(pReNative, off);
     6400
     6401    /* HACK: For IEMNATIVE_STRICT_EFLAGS_SKIPPING_EMIT_CHECK. */
     6402    pReNative->Core.bmHstRegs &= ~RT_BIT_32(IEMNATIVE_CALL_RET_GREG);
    64006403
    64016404    return iemNativeEmitRcFiddling(pReNative, off, idxReturn);
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