Boost logo

Boost-Commit :

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


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

Log:
context: fix for i386 SysV in asm

Text files modified:
   trunk/libs/context/src/asm/fcontext_i386_sysv_elf_gas.S | 4 ++--
   trunk/libs/context/src/asm/fcontext_i386_sysv_macho_gas.S | 4 ++--
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/libs/context/src/asm/fcontext_i386_sysv_elf_gas.S
==============================================================================
--- trunk/libs/context/src/asm/fcontext_i386_sysv_elf_gas.S (original)
+++ trunk/libs/context/src/asm/fcontext_i386_sysv_elf_gas.S 2012-04-23 17:16:44 EDT (Mon, 23 Apr 2012)
@@ -16,7 +16,7 @@
  * -------------------------------------------------------------- *
  * -------------------------------------------------------------- *
  * | 6 | 7 | | *
- * -------------------i------------------------------------------ *
+ * -------------------------------------------------------------- *
  * | 0x18 | 0x1c | | *
  * -------------------------------------------------------------- *
  * | sbase | slimit | | *
@@ -54,7 +54,7 @@
     movl 0xc(%edx), %ebp /* restore EBP */
 
     movl 0x10(%esp), %eax /* check if fpu enve preserving was requested */
- cmp $0, %eax
+ test %eax, %eax
     je 1f
 
     stmxcsr 0x20(%ecx) /* save MMX control and status word */

Modified: trunk/libs/context/src/asm/fcontext_i386_sysv_macho_gas.S
==============================================================================
--- trunk/libs/context/src/asm/fcontext_i386_sysv_macho_gas.S (original)
+++ trunk/libs/context/src/asm/fcontext_i386_sysv_macho_gas.S 2012-04-23 17:16:44 EDT (Mon, 23 Apr 2012)
@@ -16,7 +16,7 @@
  * -------------------------------------------------------------- *
  * -------------------------------------------------------------- *
  * | 6 | 7 | | *
- * -------------------i------------------------------------------ *
+ * -------------------------------------------------------------- *
  * | 0x18 | 0x1c | | *
  * -------------------------------------------------------------- *
  * | sbase | slimit | | *
@@ -53,7 +53,7 @@
     movl 0xc(%edx), %ebp /* restore EBP */
 
     movl 0x10(%esp), %eax /* check if fpu enve preserving was requested */
- cmp $0, %eax
+ test %eax, %eax
     je 1f
 
     stmxcsr 0x20(%ecx) /* save MMX control and status word */


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