VirtualBox

Changeset 10672 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jul 15, 2008 3:32:21 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33385
Message:

Added a comment about the fact that we trash our own FPU state. Could be an issue with code relying on the FPU control word
to remain the same during the lifetime of the thread.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp

    r10647 r10672  
    771771     */
    772772
    773     /* Restore host FPU and XMM state if necessary. */
     773    /*
     774     * @note We are trashing our own FPU state. That could be a problem if some ring 3 code relies on the FPU control
     775     *       word having a specific value (exceptions, precision etc).
     776     */
     777    /* Save the guest FPU and XMM state if necessary. */
    774778    if (CPUMIsGuestFPUStateActive(pVM))
    775779    {
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