VirtualBox

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


Ignore:
Timestamp:
Apr 8, 2024 8:15:10 PM (8 months ago)
Author:
vboxsync
Message:

VMM/IEM: Refactoring assembly helpers to not pass eflags by reference but instead by value and return the updated value (via eax/w0) - sixth chunk: SHL,SHR,SAR,ROL,ROR,RCL,RCR. bugref:10376

File:
1 edited

Legend:

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

    r104209 r104238  
    28952895/** @name Shift operations on bytes (Group 2).
    28962896 * @{ */
    2897 typedef IEM_DECL_IMPL_TYPE(void, FNIEMAIMPLSHIFTU8,(uint8_t *pu8Dst, uint8_t cShift, uint32_t *pEFlags));
     2897typedef IEM_DECL_IMPL_TYPE(uint32_t, FNIEMAIMPLSHIFTU8,(uint32_t fEFlagsIn, uint8_t *pu8Dst, uint8_t cShift));
    28982898typedef FNIEMAIMPLSHIFTU8  *PFNIEMAIMPLSHIFTU8;
    28992899FNIEMAIMPLSHIFTU8 iemAImpl_rol_u8, iemAImpl_rol_u8_amd, iemAImpl_rol_u8_intel;
     
    29082908/** @name Shift operations on words (Group 2).
    29092909 * @{ */
    2910 typedef IEM_DECL_IMPL_TYPE(void, FNIEMAIMPLSHIFTU16,(uint16_t *pu16Dst, uint8_t cShift, uint32_t *pEFlags));
     2910typedef IEM_DECL_IMPL_TYPE(uint32_t, FNIEMAIMPLSHIFTU16,(uint32_t fEFlagsIn, uint16_t *pu16Dst, uint8_t cShift));
    29112911typedef FNIEMAIMPLSHIFTU16  *PFNIEMAIMPLSHIFTU16;
    29122912FNIEMAIMPLSHIFTU16 iemAImpl_rol_u16, iemAImpl_rol_u16_amd, iemAImpl_rol_u16_intel;
     
    29212921/** @name Shift operations on double words (Group 2).
    29222922 * @{ */
    2923 typedef IEM_DECL_IMPL_TYPE(void, FNIEMAIMPLSHIFTU32,(uint32_t *pu32Dst, uint8_t cShift, uint32_t *pEFlags));
     2923typedef IEM_DECL_IMPL_TYPE(uint32_t, FNIEMAIMPLSHIFTU32,(uint32_t fEFlagsIn, uint32_t *pu32Dst, uint8_t cShift));
    29242924typedef FNIEMAIMPLSHIFTU32  *PFNIEMAIMPLSHIFTU32;
    29252925FNIEMAIMPLSHIFTU32 iemAImpl_rol_u32, iemAImpl_rol_u32_amd, iemAImpl_rol_u32_intel;
     
    29342934/** @name Shift operations on words (Group 2).
    29352935 * @{ */
    2936 typedef IEM_DECL_IMPL_TYPE(void, FNIEMAIMPLSHIFTU64,(uint64_t *pu64Dst, uint8_t cShift, uint32_t *pEFlags));
     2936typedef IEM_DECL_IMPL_TYPE(uint32_t, FNIEMAIMPLSHIFTU64,(uint32_t fEFlagsIn, uint64_t *pu64Dst, uint8_t cShift));
    29372937typedef FNIEMAIMPLSHIFTU64  *PFNIEMAIMPLSHIFTU64;
    29382938FNIEMAIMPLSHIFTU64 iemAImpl_rol_u64, iemAImpl_rol_u64_amd, iemAImpl_rol_u64_intel;
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