Changeset 99994 in vbox
- Timestamp:
- May 26, 2023 10:09:30 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp
r99988 r99994 8739 8739 } 8740 8740 8741 pDst->FCW &= ~X86_FCW_ZERO_MASK ;8741 pDst->FCW &= ~X86_FCW_ZERO_MASK | X86_FCW_IC_MASK; /* Intel 10980xe allows setting the IC bit. Win 3.11 CALC.EXE sets it. */ 8742 8742 iemFpuRecalcExceptionStatus(pDst); 8743 8743 … … 9021 9021 } 9022 9022 9023 pDst->FCW &= ~X86_FCW_ZERO_MASK ;9023 pDst->FCW &= ~X86_FCW_ZERO_MASK | X86_FCW_IC_MASK; /* Intel 10980xe allows setting the IC bit. Win 3.11 CALC.EXE sets it. */ 9024 9024 iemFpuRecalcExceptionStatus(pDst); 9025 9025 … … 9376 9376 uint16_t const fOldFsw = pDstX87->FSW; 9377 9377 #endif 9378 pDstX87->FCW &= ~X86_FCW_ZERO_MASK ;9378 pDstX87->FCW &= ~X86_FCW_ZERO_MASK | X86_FCW_IC_MASK; /* Intel 10980xe allows setting the IC bit. Win 3.11 CALC.EXE sets it. */ 9379 9379 iemFpuRecalcExceptionStatus(pDstX87); 9380 9380 #ifdef LOG_ENABLED … … 9563 9563 * according to FSW. (This is what is currently implemented.) */ 9564 9564 PX86FXSTATE pFpuCtx = &pVCpu->cpum.GstCtx.XState.x87; 9565 pFpuCtx->FCW = u16Fcw & ~X86_FCW_ZERO_MASK;9565 pFpuCtx->FCW = u16Fcw & (~X86_FCW_ZERO_MASK | X86_FCW_IC_MASK); /* Intel 10980xe allows setting the IC bit. Win 3.11 CALC.EXE sets it. */ 9566 9566 #ifdef LOG_ENABLED 9567 9567 uint16_t fOldFsw = pFpuCtx->FSW;
Note:
See TracChangeset
for help on using the changeset viewer.