Ignore:
File:
1 edited

Legend:

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

    r7b2c2c5f r35dd180f  
    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
     
    7569        // argument is now at 8 + 12 = 20(%esp)
    7670
    77         movl 28(%esp),%eax
     71        movl 20(%esp),%eax
    7872
    7973        // Load new context from the "to" area.
     
    8781        popl %edi
    8882        popl %ebx
    89 
    90         // Load floating & SSE control words from the stack.
    91 
    92         fldcw   4(%esp)
    93         ldmxcsr 0(%esp)
    94         add    $8,%esp
    9583
    9684        // Return to thread.
Note: See TracChangeset for help on using the changeset viewer.