Subject: [Boost-bugs] [Boost C++ Libraries] #6692: spinlock_gcc_arm.hpp uses deprecated assembly instructions on ARMv7
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-16 18:29:53
#6692: spinlock_gcc_arm.hpp uses deprecated assembly instructions on ARMv7
------------------------------------------+---------------------------------
Reporter: Ben Craig <ben.craig@â¦> | Type: Bugs
Status: new | Milestone: Boost 1.50.0
Component: None | Version: Boost 1.49.0
Severity: Problem | Keywords:
------------------------------------------+---------------------------------
spinlock_gcc_arm implements try_lock() in terms of the SWP instruction.
This instruction is deprecated due to performance issues, and it causes
linkers to emit tons of warnings. I have attached a patch that implements
try_lock in terms of LDREX and STREX, which are the preferred replacements
for SWP.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6692> 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:50:09 UTC