[Bug target/81822] New: [RX] Should implement __atomic_compare_exchange

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 11 14:07:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81822

            Bug ID: 81822
           Summary: [RX] Should implement __atomic_compare_exchange
           Product: gcc
           Version: 7.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: olegendo at gcc dot gnu.org
  Target Milestone: ---
            Target: rx*-*-*

There are some places which check if the target directly supports SImode atomic
compare and exchange, via the __GCC_ATOMIC_INT_LOCK_FREE macro.  In particular
the C++ std library.

The atomic pattern should be implemented to improve library and user code
compatibility.


More information about the Gcc-bugs mailing list