Changeset 96626 in vbox
- Timestamp:
- Sep 7, 2022 11:36:22 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp
r96539 r96626 9426 9426 { 9427 9427 uint32_t u32Eflags = pfnAImpl(pFpuCtx, &u16Fsw, &pFpuCtx->aRegs[0].r80, &pFpuCtx->aRegs[iStReg].r80); 9428 NOREF(u32Eflags);9429 9428 9430 9429 pFpuCtx->FSW &= ~X86_FSW_C1; … … 9434 9433 { 9435 9434 pVCpu->cpum.GstCtx.eflags.u &= ~(X86_EFL_OF | X86_EFL_SF | X86_EFL_AF | X86_EFL_ZF | X86_EFL_PF | X86_EFL_CF); 9436 pVCpu->cpum.GstCtx.eflags.u |= pVCpu->cpum.GstCtx.eflags.u& (X86_EFL_ZF | X86_EFL_PF | X86_EFL_CF);9435 pVCpu->cpum.GstCtx.eflags.u |= u32Eflags & (X86_EFL_ZF | X86_EFL_PF | X86_EFL_CF); 9437 9436 } 9438 9437 } … … 9461 9460 { 9462 9461 pFpuCtx->FTW &= ~RT_BIT(iReg1); 9463 pFpuCtx->FSW &= X86_FSW_TOP_MASK; 9464 pFpuCtx->FSW |= ((iReg1 + 7) & X86_FSW_TOP_SMASK) << X86_FSW_TOP_SHIFT; 9462 iemFpuStackIncTop(pVCpu); 9465 9463 } 9466 9464
Note:
See TracChangeset
for help on using the changeset viewer.