VirtualBox

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


Ignore:
Timestamp:
Dec 26, 2023 12:20:10 AM (15 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160870
Message:

VMM/IEM: A couple of ARM fixes. Disassembly fix. bugref:10371

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

Legend:

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

    r102699 r102701  
    11481148# ifdef VBOX_STRICT /* Assert(!(pVCpu->iem.s.GCPhysInstrBuf & X86_PAGE_OFFSET_MASK)); */
    11491149    off = iemNativeEmitAndGpr32ByImm(pReNative, off, idxRegTmp2, X86_PAGE_OFFSET_MASK, true /*fSetFlags*/);
    1150     off = iemNativeEmitJzToFixed(pReNative, off, off + 1 /* correct for ARM64 */);
     1150    off = iemNativeEmitJzToFixed(pReNative, off, off + 2 /* correct for ARM64 */);
    11511151    off = iemNativeEmitBrk(pReNative, off, 0x2005);
    11521152# endif
     
    14691469# ifdef VBOX_STRICT /* Assert(!(pVCpu->iem.s.GCPhysInstrBuf & X86_PAGE_OFFSET_MASK)); */
    14701470    off = iemNativeEmitAndGpr32ByImm(pReNative, off, idxRegTmp2, X86_PAGE_OFFSET_MASK, true /*fSetFlags*/);
    1471     off = iemNativeEmitJzToFixed(pReNative, off, off + 1 /* correct for ARM64 */);
     1471    off = iemNativeEmitJzToFixed(pReNative, off, off + 2 /* correct for ARM64 */);
    14721472    off = iemNativeEmitBrk(pReNative, off, 0x2005);
    14731473# endif
  • trunk/src/VBox/VMM/VMMAll/IEMAllN8veRecompiler.cpp

    r102699 r102701  
    1134311343                            /* Disassemble the instruction. */
    1134411344                            //uint8_t const cbInstrMax = RT_MIN(pTb->aRanges[idxRange].cbOpcodes - offRange, 15);
    11345                             uint8_t const cbInstrMax = RT_MIN(cbOpcodes - offRange, 15);
     11345                            uint8_t const cbInstrMax = RT_MIN(cbOpcodes - offOpcodes, 15);
    1134611346                            uint32_t      cbInstr    = 1;
    1134711347                            int rc = DISInstrWithPrefetchedBytes(GCPhysPc, enmGstCpuMode, DISOPTYPE_ALL,
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