Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78167 - trunk/libs/context/src/asm
From: oliver.kowalke_at_[hidden]
Date: 2012-04-23 17:10:54


Author: olli
Date: 2012-04-23 17:10:53 EDT (Mon, 23 Apr 2012)
New Revision: 78167
URL: http://svn.boost.org/trac/boost/changeset/78167

Log:
context: fix in Win64 asm
Text files modified:
   trunk/libs/context/src/asm/fcontext_x86_64_ms_pe_masm.asm | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/libs/context/src/asm/fcontext_x86_64_ms_pe_masm.asm
==============================================================================
--- trunk/libs/context/src/asm/fcontext_x86_64_ms_pe_masm.asm (original)
+++ trunk/libs/context/src/asm/fcontext_x86_64_ms_pe_masm.asm 2012-04-23 17:10:53 EDT (Mon, 23 Apr 2012)
@@ -107,8 +107,8 @@
     mov rax, [r10+018h] ; load fiber local storage
     mov [rcx+060h], rax ; save fiber local storage
 
- cmp r9, 0
- je 1f
+ test r9, r9
+ je nxt
 
     stmxcsr [rcx+068h] ; save MMX control and status word
     fnstcw [rcx+06ch] ; save x87 control word
@@ -137,7 +137,7 @@
     movaps xmm13, [r10+070h]
     movaps xmm14, [r10+080h]
     movaps xmm15, [r10+090h]
-1:
+nxt:
 
     lea rax, [rsp+08h] ; exclude the return address
     mov [rcx+040h], rax ; save as stack pointer


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