VirtualBox

Changeset 3507 in vbox


Ignore:
Timestamp:
Jul 9, 2007 1:19:00 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
22725
Message:

Restore FPU state *after* check for TLB flushes.

File:
1 edited

Legend:

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

    r3031 r3507  
    17291729                  | CPUM_CHANGED_FPU_REM | CPUM_CHANGED_SYSENTER_MSR))
    17301730    {
    1731         if (fFlags & CPUM_CHANGED_FPU_REM)
    1732             save_raw_fp_state(&pVM->rem.s.Env, (uint8_t *)&pCtx->fpu); /* 'save' is an excellent name. */
    1733 
    17341731        if (fFlags & CPUM_CHANGED_GLOBAL_TLB_FLUSH)
    17351732        {
     
    18111808            pVM->rem.s.Env.tr.flags &= ~DESC_TSS_BUSY_MASK;
    18121809        }
     1810        /* Note: *after* possible flushes!!! */
     1811        if (fFlags & CPUM_CHANGED_FPU_REM)
     1812            save_raw_fp_state(&pVM->rem.s.Env, (uint8_t *)&pCtx->fpu); /* 'save' is an excellent name. */
    18131813    }
    18141814
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