Ignore:
Timestamp:
Apr 18, 2019, 2:59:09 PM (3 years ago)
Author:
tdelisle <tdelisle@…>
Branches:
arm-eh, cleanup-dtors, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
8c3a0336
Parents:
3c06bba
Message:

x87 and SSE flags are now only saved by threads

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/CtxSwitch-i386.S

    r3c06bba rdeca0f5  
    5252        movl 4(%esp),%eax
    5353
    54         // Save floating & SSE control words on the stack.
    55 
    56         sub    $8,%esp
    57         stmxcsr 0(%esp)         // 4 bytes
    58         fnstcw  4(%esp)         // 2 bytes
    59 
    6054        // Save volatile registers on the stack.
    6155
     
    8680        popl %ebx
    8781
    88         // Load floating & SSE control words from the stack.
    89 
    90         fldcw   4(%esp)
    91         ldmxcsr 0(%esp)
    92         add    $8,%esp
    93 
    9482        // Return to thread.
    9583
Note: See TracChangeset for help on using the changeset viewer.