VirtualBox

Changeset 96634 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 7, 2022 3:18:28 PM (2 years ago)
Author:
vboxsync
Message:

VMM/IEM: Split the 128-bit copy into two 64-bit ones because at least gcc will emit a movaps instruction otherwise which crashes due to a misaligned destination (on Ubuntu 16.04.1 i386 and TinyCore Linux 13.1 i386), bugref:9898

File:
1 edited

Legend:

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

    r96626 r96634  
    86598659        uint32_t cXmmRegs = enmEffOpSize == IEMMODE_64BIT ? 16 : 8;
    86608660        for (uint32_t i = 0; i < cXmmRegs; i++)
    8661             pCompDst->aYmmHi[i] = pCompSrc->aYmmHi[i];
     8661        {
     8662            pCompDst->aYmmHi[i].au64[0] = pCompSrc->aYmmHi[i].au64[0];
     8663            pCompDst->aYmmHi[i].au64[1] = pCompSrc->aYmmHi[i].au64[1];
     8664        }
    86628665
    86638666        rcStrict = iemMemCommitAndUnmap(pVCpu, pCompDst, IEM_ACCESS_DATA_W | IEM_ACCESS_PARTIAL_WRITE);
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