VirtualBox

Ignore:
Timestamp:
Sep 19, 2013 3:38:41 PM (11 years ago)
Author:
vboxsync
Message:

VMM/CPUMAllA.asm: Yasm requires explicit REX prefix for fxsave/rstor. Don't corrupt the FPU state for 64-bit guests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/CPUMAllA.asm

    r44528 r48540  
    158158%endif
    159159
     160%ifdef RT_ARCH_AMD64
     161    ; Use explicit REX prefix. See @bugref{6398}.
     162    o64 fxsave  [xDX + CPUMCPU.Host.fpu]
     163%else
    160164    fxsave  [xDX + CPUMCPU.Host.fpu]
     165%endif
    161166    or      dword [xDX + CPUMCPU.fUseFlags], (CPUM_USED_FPU | CPUM_USED_FPU_SINCE_REM)
    162167    fxrstor [xDX + CPUMCPU.Guest.fpu]
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