VirtualBox

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


Ignore:
Timestamp:
Apr 3, 2024 12:57:47 PM (10 months ago)
Author:
vboxsync
Message:

VMM/IEM: Convert the 256-bit vmovsldup/vmovshdup/vmovddup emulations to microcode, bugref:10641 [bug fix for IEM_MC_STORE_YREG_U64_U256 in the interpreter]

File:
1 edited

Legend:

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

    r104133 r104134  
    713713    do { uintptr_t const iYRegDstTmp    = (a_iYRegDst); \
    714714         if ((a_iQwDst) < 2) \
    715             pVCpu->cpum.GstCtx.XState.x87.aXMM[(iYRegDstTmp)].au64[(a_iQwDst)] = (a_u256Value).au64[(a_iQwDst)]; \
     715            pVCpu->cpum.GstCtx.XState.x87.aXMM[(iYRegDstTmp)].au64[(a_iQwDst)] = (a_u256Value).au64[(a_iQwSrc)]; \
    716716         else \
    717             pVCpu->cpum.GstCtx.XState.u.YmmHi.aYmmHi[(iYRegDstTmp)].au64[(a_iQwDst) - 4] = (a_u256Value).au64[(a_iQwDst)]; \
     717            pVCpu->cpum.GstCtx.XState.u.YmmHi.aYmmHi[(iYRegDstTmp)].au64[(a_iQwDst) - 2] = (a_u256Value).au64[(a_iQwSrc)]; \
    718718    } while (0)
    719719#define IEM_MC_STORE_YREG_U64(a_iYRegDst, a_iQword, a_u64Value) \
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