VirtualBox

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


Ignore:
Timestamp:
Dec 21, 2023 1:39:13 AM (14 months ago)
Author:
vboxsync
Message:

VMM/IEM: Fixed typo in amd64 part of iemNativeEmitAddTwoGprs and a missing shift in the arm64 part of iemNativeEmitCmpGprWithImm. bugref:10371

File:
1 edited

Legend:

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

    r102624 r102662  
    17421742    pbCodeBuf[off++] = (iGprDst < 8 ? X86_OP_REX_W : X86_OP_REX_W | X86_OP_REX_R)
    17431743                     | (iGprAddend < 8 ? 0 : X86_OP_REX_B);
    1744     pbCodeBuf[off++] = 0x04;
     1744    pbCodeBuf[off++] = 0x03;
    17451745    pbCodeBuf[off++] = X86_MODRM_MAKE(X86_MOD_REG, iGprDst & 7, iGprAddend & 7);
    17461746
     
    25252525    {
    25262526        uint32_t *pu32CodeBuf = iemNativeInstrBufEnsure(pReNative, off, 1);
    2527         pu32CodeBuf[off++] = Armv8A64MkInstrAddSubUImm12(true /*fSub*/, ARMV8_A64_REG_XZR, iGprLeft, (uint32_t)uImm,
     2527        pu32CodeBuf[off++] = Armv8A64MkInstrAddSubUImm12(true /*fSub*/, ARMV8_A64_REG_XZR, iGprLeft, (uint32_t)uImm >> 12,
    25282528                                                         true /*64Bit*/, true /*fSetFlags*/, true /*fShift12*/);
    25292529    }
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