VirtualBox

Changeset 16127 in vbox for trunk/src/recompiler_new


Ignore:
Timestamp:
Jan 21, 2009 11:14:17 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
41848
Message:

REM: sync the FPU state after CR4 and CPUID or we'll get the wrong format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler_new/VBoxRecompiler.c

    r16056 r16127  
    17241724                  | CPUM_CHANGED_FPU_REM | CPUM_CHANGED_SYSENTER_MSR | CPUM_CHANGED_CPUID))
    17251725    {
    1726         if (fFlags & CPUM_CHANGED_FPU_REM)
    1727             save_raw_fp_state(&pVM->rem.s.Env, (uint8_t *)&pCtx->fpu); /* 'save' is an excellent name. */
    1728 
    17291726        if (fFlags & CPUM_CHANGED_GLOBAL_TLB_FLUSH)
    17301727        {
     
    18181815            CPUMGetGuestCpuId(pVM, 0x80000001, &u32Dummy, &u32Dummy, &u32Dummy, &pVM->rem.s.Env.cpuid_ext2_features);
    18191816        }
     1817
     1818        /* Sync FPU state after CR4 and CPUID. */
     1819        if (fFlags & CPUM_CHANGED_FPU_REM)
     1820            save_raw_fp_state(&pVM->rem.s.Env, (uint8_t *)&pCtx->fpu); /* 'save' is an excellent name. */
    18201821    }
    18211822
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