VirtualBox

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


Ignore:
Timestamp:
May 26, 2023 10:05:54 PM (21 months ago)
Author:
vboxsync
Message:

VMM/IEM: Corrected IEM_MC_REF_FPUREG so it'll reference the correct register - aRegs is in stack order. Only used by FXAM, so relative limited impact. Broke CALC.EXE in Win 3.11. bugref:10464

File:
1 edited

Legend:

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

    r99355 r99992  
    15061506
    15071507#define IEM_MC_REF_FPUREG(a_pr80Dst, a_iSt) \
    1508     do { (a_pr80Dst) = &pVCpu->cpum.GstCtx.XState.x87.aRegs[X86_FSW_TOP_GET_ST(pVCpu->cpum.GstCtx.XState.x87.FSW, a_iSt)].r80; } while (0)
     1508    do { (a_pr80Dst) = &pVCpu->cpum.GstCtx.XState.x87.aRegs[a_iSt].r80; } while (0)
    15091509#define IEM_MC_IF_FPUREG_IS_EMPTY(a_iSt) \
    15101510    if (iemFpuStRegNotEmpty(pVCpu, (a_iSt)) != VINF_SUCCESS) {
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