Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2885: [smart_ptr] g++/MIPS support for lockless sp_counted_base
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-03-24 21:52:14
#2885: [smart_ptr] g++/MIPS support for lockless sp_counted_base
------------------------------------------------------+---------------------
Reporter: David Joyner <david.joyner_at_[hidden]> | Owner: pdimov
Type: Patches | Status: assigned
Milestone: Boost 1.39.0 | Component: smart_ptr
Version: Boost 1.38.0 | Severity: Optimization
Resolution: | Keywords:
------------------------------------------------------+---------------------
Comment(by David Joyner <david.joyner_at_[hidden]>):
No good reason. ;)
This inline assembly was originally written for atomic subtraction rather
than atomic decrement, thus the extra input parameter to the __asm__
block. I believe GNU's as converts "subu %0, %1, 1" to "addiu %0, %1, -1"
on the fly however I'm okay with changing this to addiu.
Would you like to me to reattach the patch?
As far as g++/MIPS support for `__sync`, the newest g++/MIPS toolchain I
have access to is 4.1.2 and they are not implemented there.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2885#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC