[Boost-bugs] [Boost C++ Libraries] #5327: MPS ISA issue related to ll / sc

Subject: [Boost-bugs] [Boost C++ Libraries] #5327: MPS ISA issue related to ll / sc
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-17 07:16:55


#5327: MPS ISA issue related to ll / sc
----------------------------------------------------+-----------------------
 Reporter: Oliver Kowalke <oliver.kowalke@…> | Owner: pdimov
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: smart_ptr
  Version: Boost 1.45.0 | Severity: Showstopper
 Keywords: mips ll sc assembler error |
----------------------------------------------------+-----------------------
 boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp uses in its inline
 assembler ll/sc opcode for atomic operations (increment decremet).
 Both opcodes are available since MIPS II ISA - unfortunately gcc assumes
 MIPS ISA I as default - so the inline assembler from
 sp_counted_base_gcc_mips.hpp triggers an assembler error:

 'opcode not supported on this processor : mips1 (ll/sc)'

 The header could be patches so that it instructs the CPU to switch to ISA
 II for ll/sc.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5327>
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:05 UTC