VirtualBox

Changeset 16128 in vbox for trunk/src/recompiler


Ignore:
Timestamp:
Jan 21, 2009 11:15:09 AM (16 years ago)
Author:
vboxsync
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/VBoxRecompiler.c

    r15012 r16128  
    17821782                  | CPUM_CHANGED_FPU_REM | CPUM_CHANGED_SYSENTER_MSR | CPUM_CHANGED_CPUID))
    17831783    {
    1784         if (fFlags & CPUM_CHANGED_FPU_REM)
    1785             save_raw_fp_state(&pVM->rem.s.Env, (uint8_t *)&pCtx->fpu); /* 'save' is an excellent name. */
    1786 
    17871784        if (fFlags & CPUM_CHANGED_GLOBAL_TLB_FLUSH)
    17881785        {
     
    18761873            CPUMGetGuestCpuId(pVM, 0x80000001, &u32Dummy, &u32Dummy, &u32Dummy, &pVM->rem.s.Env.cpuid_ext2_features);
    18771874        }
     1875
     1876        /* Sync FPU state after CR4 and CPUID. */
     1877        if (fFlags & CPUM_CHANGED_FPU_REM)
     1878            save_raw_fp_state(&pVM->rem.s.Env, (uint8_t *)&pCtx->fpu); /* 'save' is an excellent name. */
    18781879    }
    18791880
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