VirtualBox

Changeset 104079 in vbox for trunk/src


Ignore:
Timestamp:
Mar 27, 2024 10:30:38 AM (13 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162478
Message:

VMM/IEM: Can't access the high byte of a register when a VEX prefix is present, but will always give access to the regular reegister space, bugref:9898

File:
1 edited

Legend:

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

    r103951 r104079  
    17531753DECL_FORCE_INLINE(uint8_t *) iemGRegRefU8(PVMCPUCC pVCpu, uint8_t iReg) RT_NOEXCEPT
    17541754{
    1755     if (iReg < 4 || (pVCpu->iem.s.fPrefixes & IEM_OP_PRF_REX))
     1755    if (iReg < 4 || (pVCpu->iem.s.fPrefixes & (IEM_OP_PRF_REX | IEM_OP_PRF_VEX)))
    17561756    {
    17571757        Assert(iReg < 16);
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