VirtualBox

Changeset 105657 in vbox for trunk


Ignore:
Timestamp:
Aug 13, 2024 7:40:48 AM (5 months ago)
Author:
vboxsync
Message:

VMM/IEM: Fix bound instruction emulation when running in the recompiler on ARM, bugref:10741 [Follow up fixes]

File:
1 edited

Legend:

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

    r105656 r105657  
    37943794    iemNativeVarSetKindToStack(pReNative, idxDstVar);
    37953795    uint8_t const idxVarReg = iemNativeVarRegisterAcquire(pReNative, idxDstVar, &off);
    3796 #ifdef RT_ARCH_ARM64 /* Note! There are no 16-bit registers on ARM, we emulate that through 32-bit registers which requires sign extension. */
     3796#ifdef RT_ARCH_AMD64
     3797    off = iemNativeEmitLoadGprFromGpr16(pReNative, off, idxVarReg, idxGstFullReg);
     3798#elif defined(RT_ARCH_ARM64) /* Note! There are no 16-bit registers on ARM, we emulate that through 32-bit registers which requires sign extension. */
    37973799    off = iemNativeEmitLoadGpr32SignExtendedFromGpr16(pReNative, off, idxVarReg, idxGstFullReg);
    37983800#endif
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