Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75381 - in branches/release: . boost boost/smart_ptr/detail
From: pdimov_at_[hidden]
Date: 2011-11-07 09:25:23


Author: pdimov
Date: 2011-11-07 09:25:23 EST (Mon, 07 Nov 2011)
New Revision: 75381
URL: http://svn.boost.org/trac/boost/changeset/75381

Log:
Merge [70452] to release. Fixes #5327.
Properties modified:
   branches/release/ (props changed)
   branches/release/boost/ (props changed)
Text files modified:
   branches/release/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp | 9 +++++++++
   1 files changed, 9 insertions(+), 0 deletions(-)

Modified: branches/release/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp
==============================================================================
--- branches/release/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp (original)
+++ branches/release/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp 2011-11-07 09:25:23 EST (Mon, 07 Nov 2011)
@@ -37,9 +37,12 @@
     __asm__ __volatile__
     (
         "0:\n\t"
+ ".set push\n\t"
+ ".set mips2\n\t"
         "ll %0, %1\n\t"
         "addiu %0, 1\n\t"
         "sc %0, %1\n\t"
+ ".set pop\n\t"
         "beqz %0, 0b":
         "=&r"( tmp ), "=m"( *pw ):
         "m"( *pw )
@@ -55,9 +58,12 @@
     __asm__ __volatile__
     (
         "0:\n\t"
+ ".set push\n\t"
+ ".set mips2\n\t"
         "ll %1, %2\n\t"
         "addiu %0, %1, -1\n\t"
         "sc %0, %2\n\t"
+ ".set pop\n\t"
         "beqz %0, 0b\n\t"
         "addiu %0, %1, -1":
         "=&r"( rv ), "=&r"( tmp ), "=m"( *pw ):
@@ -78,10 +84,13 @@
     __asm__ __volatile__
     (
         "0:\n\t"
+ ".set push\n\t"
+ ".set mips2\n\t"
         "ll %0, %2\n\t"
         "beqz %0, 1f\n\t"
         "addiu %1, %0, 1\n\t"
         "sc %1, %2\n\t"
+ ".set pop\n\t"
         "beqz %1, 0b\n\t"
         "addiu %0, %0, 1\n\t"
         "1:":


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