Ticket #12719: boost-1.63.0-fix-context.patch
File boost-1.63.0-fix-context.patch, 2.1 KB (added by , 6 years ago) |
---|
-
boost_1_63_0/libs/context/src/asm/jump_x86_64_ms_pe_gas.asm
old new 143 143 /* restore RSP (pointing to context-data) from RDX */ 144 144 movq %rdx, %rsp 145 145 146 /* save XMM storage */146 /* restore XMM storage */ 147 147 movaps 0x0(%rsp), %xmm6 148 148 movaps 0x10(%rsp), %xmm7 149 149 movaps 0x20(%rsp), %xmm8 … … 154 154 movaps 0x70(%rsp), %xmm13 155 155 movaps 0x80(%rsp), %xmm14 156 156 movaps 0x90(%rsp), %xmm15 157 /* restore MMX control- and status-word */ 158 ldmxcsr 0xa0(%rsp) 159 /* restore x87 control-word */ 160 fldcw 0xa4(%rsp) 157 161 158 162 /* load NT_TIB */ 159 163 movq %gs:(0x30), %r10 … … 179 183 movq 0x100(%rsp), %rbx /* restore RBX */ 180 184 movq 0x108(%rsp), %rbp /* restore RBP */ 181 185 182 movq 0x110(%rsp), %r cx /* restore hidden address of transport_t */186 movq 0x110(%rsp), %rax /* restore hidden address of transport_t */ 183 187 184 188 leaq 0x118(%rsp), %rsp /* prepare stack */ 185 189 -
boost_1_63_0/libs/context/src/asm/ontop_x86_64_ms_pe_gas.asm
old new 143 143 /* restore RSP (pointing to context-data) from RDX */ 144 144 movq %rdx, %rsp 145 145 146 /* save XMM storage */146 /* restore XMM storage */ 147 147 movaps 0x0(%rsp), %xmm6 148 148 movaps 0x10(%rsp), %xmm7 149 149 movaps 0x20(%rsp), %xmm8 … … 154 154 movaps 0x70(%rsp), %xmm13 155 155 movaps 0x80(%rsp), %xmm14 156 156 movaps 0x90(%rsp), %xmm15 157 /* restore MMX control- and status-word */ 158 ldmxcsr 0xa0(%rsp) 159 /* restore x87 control-word */ 160 fldcw 0xa4(%rsp) 157 161 158 162 /* load NT_TIB */ 159 163 movq %gs:(0x30), %r10 … … 179 183 movq 0x100(%rsp), %rbx /* restore RBX */ 180 184 movq 0x108(%rsp), %rbp /* restore RBP */ 181 185 182 movq 0x110(%rsp), %r cx /* restore hidden address of transport_t */186 movq 0x110(%rsp), %rax /* restore hidden address of transport_t */ 183 187 184 188 leaq 0x118(%rsp), %rsp /* prepare stack */ 185 189