- File:
-
- 1 edited
-
src/libcfa/concurrency/CtxSwitch-i386.S (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/CtxSwitch-i386.S
r7b2c2c5f r35dd180f 52 52 movl 4(%esp),%eax 53 53 54 // Save floating & SSE control words on the stack.55 56 sub $8,%esp57 stmxcsr 0(%esp) // 4 bytes58 fnstcw 4(%esp) // 2 bytes59 60 54 // Save volatile registers on the stack. 61 55 … … 75 69 // argument is now at 8 + 12 = 20(%esp) 76 70 77 movl 2 8(%esp),%eax71 movl 20(%esp),%eax 78 72 79 73 // Load new context from the "to" area. … … 87 81 popl %edi 88 82 popl %ebx 89 90 // Load floating & SSE control words from the stack.91 92 fldcw 4(%esp)93 ldmxcsr 0(%esp)94 add $8,%esp95 83 96 84 // Return to thread.
Note:
See TracChangeset
for help on using the changeset viewer.