VirtualBox

Changeset 102384 in vbox for trunk/src


Ignore:
Timestamp:
Nov 29, 2023 9:06:16 PM (18 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160520
Message:

VMM/IEM: Quick workaround for unaligned atomic instructions on arm64. bugref:10547

File:
1 edited

Legend:

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

    r102366 r102384  
    24992499     * Init the execution environment.
    25002500     */
    2501     iemInitExec(pVCpu, 0 /*fExecOpts*/);
     2501#ifdef RT_ARCH_ARM64 /** @todo ARM64: fix unaligned locked instructions properly. @bugreg{10547} */
     2502    if (pVM->cCpus == 1)
     2503        iemInitExec(pVCpu, IEM_F_X86_DISREGARD_LOCK /*fExecOpts*/);
     2504    else
     2505#endif
     2506        iemInitExec(pVCpu, 0 /*fExecOpts*/);
    25022507    if (RT_LIKELY(pVCpu->iem.s.msRecompilerPollNow != 0))
    25032508    { }
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