Opened 12 years ago

Closed 12 years ago

#5334 closed Bugs (duplicate)

usage of deprecated swp instruction on arm

Reported by: Boaz Ben-David <boaz.bd@…> Owned by: Peter Dimov
Milestone: To Be Determined Component: smart_ptr
Version: Boost 1.46.0 Severity: Problem
Keywords: arm deprecated Cc:

Description

Hi,

In smart_ptr/detail/spinlock_gcc_arm.hpp There is use of the deprecated swp instruction (for armv6 and above). This emits warning when compiling and also is supposed to have performance penalty on SMP platforms.

Can this be fixed using new instructions (ldrex etc..) ?

Thanks.

Boaz

Change History (1)

comment:1 by Boaz Ben-David <boaz.bd@…>, 12 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.