VirtualBox

Changeset 49528 in vbox


Ignore:
Timestamp:
Nov 18, 2013 12:46:50 PM (11 years ago)
Author:
vboxsync
Message:

VMM/VMMSwitcher: Use explicit REX.W prefix for fxsave/fxrstor for 64-bit guests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMSwitcher/LegacyandAMD64.mac

    r49524 r49528  
    629629    and     rax, ~(X86_CR0_TS | X86_CR0_EM)
    630630    mov     cr0, rax
    631     ;; @todo r=ramshankar: Shouldn't we use the explicit REX prefix here!?!
    632     fxrstor [rdx + CPUMCPU.Guest.fpu]
     631    ; Use explicit REX prefix. See @bugref{6398}.
     632    o64 fxrstor [rdx + CPUMCPU.Guest.fpu]
    633633    mov     cr0, rcx                    ; and restore old CR0 again
    634634
     
    12231223    mov     cr0, rax
    12241224
    1225     ;; @todo r=ramshankar: Shouldn't we use the explicit REX prefix here!?!
    1226     fxsave  [rsi + CPUMCTX.fpu]
     1225    ; Use explicit REX prefix. See @bugref{6398}.
     1226    o64 fxsave  [rsi + CPUMCTX.fpu]
    12271227
    12281228    mov     cr0, rcx                    ; and restore old CR0 again
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