|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r78169 - trunk/libs/context/src/asm
From: oliver.kowalke_at_[hidden]
Date: 2012-04-23 17:19:16
Author: olli
Date: 2012-04-23 17:19:15 EDT (Mon, 23 Apr 2012)
New Revision: 78169
URL: http://svn.boost.org/trac/boost/changeset/78169
Log:
context: fix for Win32 in asm
Text files modified:
trunk/libs/context/src/asm/fcontext_i386_ms_pe_masm.asm | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/libs/context/src/asm/fcontext_i386_ms_pe_masm.asm
==============================================================================
--- trunk/libs/context/src/asm/fcontext_i386_ms_pe_masm.asm (original)
+++ trunk/libs/context/src/asm/fcontext_i386_ms_pe_masm.asm 2012-04-23 17:19:15 EDT (Mon, 23 Apr 2012)
@@ -78,15 +78,15 @@
mov ebx, [edx+08h] ; restore EBX
mov ebp, [edx+0ch] ; restore EBP
- movl eax, [esp+010h] ; check if fpu enve preserving was requested
- cmp 0, eax
- je 1f
+ mov eax, [esp+010h] ; check if fpu enve preserving was requested
+ test eax, eax
+ je nxt
stmxcsr [ecx+028h] ; save MMX control word
fnstcw [ecx+02ch] ; save x87 control word
ldmxcsr [edx+028h] ; restore MMX control word
fldcw [edx+02ch] ; restore x87 control word
-1:
+nxt:
mov ecx, edx
assume fs:nothing
mov edx, fs:[018h] ; load NT_TIB
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk