VirtualBox

Changeset 104341 in vbox


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

VMM/IEM: Improved iemNativeEmitMarker on arm64. bugref:10375

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/armv8.h

    r104323 r104341  
    22992299 * @{ */
    23002300
     2301/** A64: Official NOP instruction. */
     2302#define ARMV8_A64_INSTR_NOP         UINT32_C(0xd503201f)
    23012303/** A64: Return instruction. */
    23022304#define ARMV8_A64_INSTR_RET         UINT32_C(0xd65f03c0)
  • trunk/src/VBox/VMM/include/IEMN8veRecompilerEmit.h

    r104168 r104341  
    6868    /* nop */
    6969    uint32_t *pu32CodeBuf = iemNativeInstrBufEnsure(pReNative, off, 1);
    70     pu32CodeBuf[off++] = 0xd503201f;
     70    if (uInfo == 0)
     71        pu32CodeBuf[off++] = ARMV8_A64_INSTR_NOP;
     72    else
     73        pu32CodeBuf[off++] = Armv8A64MkInstrMovZ(ARMV8_A64_REG_XZR, (uint16_t)uInfo);
    7174
    7275    RT_NOREF(uInfo);
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