VirtualBox

Changeset 102684 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Dec 21, 2023 9:36:01 PM (15 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160851
Message:

VMM/IEM: Fixed another bug in related to ah,ch,dh,bh storing (AMD64 host). bugref:10371

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllN8veRecompiler.cpp

    r102663 r102684  
    40234023 */
    40244024DECL_HIDDEN_THROW(uint32_t)
    4025 iemNativeRegMoveAndFreeAndFlushAtCall(PIEMRECOMPILERSTATE pReNative, uint32_t off, uint8_t cArgs, uint32_t fKeepVars = 0)
     4025iemNativeRegMoveAndFreeAndFlushAtCall(PIEMRECOMPILERSTATE pReNative, uint32_t off, uint8_t cArgs, uint32_t fKeepVars /*= 0*/)
    40264026{
    40274027    Assert(cArgs <= IEMNATIVE_CALL_MAX_ARG_COUNT);
     
    47864786 * Emits a call to a threaded worker function.
    47874787 */
    4788 static uint32_t iemNativeEmitThreadedCall(PIEMRECOMPILERSTATE pReNative, uint32_t off, PCIEMTHRDEDCALLENTRY pCallEntry)
     4788DECL_HIDDEN_THROW(uint32_t)
     4789iemNativeEmitThreadedCall(PIEMRECOMPILERSTATE pReNative, uint32_t off, PCIEMTHRDEDCALLENTRY pCallEntry)
    47894790{
    47904791    iemNativeRegFlushGuestShadows(pReNative, UINT64_MAX); /** @todo optimize this */
     
    82308231    else if (idxGstTmpReg < 4 && idxVarReg < 4)
    82318232    {
    8232         /** @todo test this.   */
    82338233        uint8_t * const pbCodeBuf = iemNativeInstrBufEnsure(pReNative, off, 2+1);
    82348234        pbCodeBuf[off++] = 0x8a;
     
    82488248        if (idxGstTmpReg >= 8 || idxVarReg >= 8)
    82498249            pbCodeBuf[off++] = (idxGstTmpReg >= 8 ? X86_OP_REX_R : 0) | (idxVarReg >= 8 ? X86_OP_REX_B : 0);
    8250         else if (idxGstTmpReg >= 4)
     8250        else if (idxGstTmpReg >= 4 || idxVarReg >= 4)
    82518251            pbCodeBuf[off++] = X86_OP_REX;
    82528252        pbCodeBuf[off++] = 0x8a;
  • trunk/src/VBox/VMM/VMMAll/IEMAllThrdRecompiler.cpp

    r102663 r102684  
    23642364
    23652365#if defined(LOG_ENABLED) && 0 /* for debugging */
    2366             iemThreadedCompileEmitNop(pTb);
     2366            //iemThreadedCompileEmitNop(pTb);
    23672367            iemThreadedCompileEmitLogCpuState(pTb);
    23682368#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette