Changeset 10655 in vbox
- Timestamp:
- Jul 15, 2008 1:05:08 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 33365
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/CPUMR0.cpp
r10647 r10655 168 168 * 169 169 * MSR_K6_EFER_FFXSR changes the behaviour of fxsave and fxrstore: the XMM state isn't saved/restored 170 * 171 * If the guest uses the MSR_K6_EFER_FFXSR as well, then it has to manually restore the XMM state. 172 * In that case we don't care. 173 * 174 * We would end up saving/restoring too much if the guest has it enabled, but the host hasn't. 175 */ 176 if ( (pVM->cpum.s.aGuestCpuIdExt[1].edx & X86_CPUID_AMD_FEATURE_EDX_FFXSR) /* 0x80000001 */ 177 && !(pCtx->msrEFER & MSR_K6_EFER_FFXSR)) 170 */ 171 if (pVM->cpum.s.aGuestCpuIdExt[1].edx & X86_CPUID_AMD_FEATURE_EDX_FFXSR /* cpuid 0x80000001 */) 178 172 { 179 173 /* @todo Do we really need to read this every time?? The host could change this on the fly though. */
Note:
See TracChangeset
for help on using the changeset viewer.