VirtualBox

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


Ignore:
Timestamp:
Apr 4, 2024 10:47:23 AM (10 months ago)
Author:
vboxsync
Message:

VMM/IEM: Implement native emitters for IEM_MC_CLEAR_EFL_BIT(), IEM_MC_FLIP_EFL_BIT() and IEM_MC_SET_EFL_BIT(), bugref:10371

File:
1 edited

Legend:

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

    r104133 r104155  
    54355435
    54365436
     5437/**
     5438 * Emits code for XOR'ing two 32-bit GPRs.
     5439 */
     5440DECL_INLINE_THROW(uint32_t)
     5441iemNativeEmitXorGpr32ByImm(PIEMRECOMPILERSTATE pReNative, uint32_t off, uint8_t iGprDst, uint32_t uImm)
     5442{
     5443#if defined(RT_ARCH_AMD64)
     5444    off = iemNativeEmitXorGpr32ByImmEx(iemNativeInstrBufEnsure(pReNative, off, 7), off, iGprDst, uImm);
     5445#elif defined(RT_ARCH_ARM64)
     5446    off = iemNativeEmitXorGpr32ByImmEx(iemNativeInstrBufEnsure(pReNative, off, 1), off, iGprDst, uImm);
     5447#else
     5448# error "Port me"
     5449#endif
     5450    IEMNATIVE_ASSERT_INSTR_BUF_ENSURE(pReNative, off);
     5451    return off;
     5452}
     5453
     5454
    54375455/*********************************************************************************************************************************
    54385456*   Shifting                                                                                                                     *
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