[amdgcn] Add support for sub-word sync_compare_and_swap operations
authorKwok Cheung Yeung <kcy@codesourcery.com>
Thu, 9 Jan 2020 15:35:14 +0000 (15:35 +0000)
committerKwok Cheung Yeung <kcy@gcc.gnu.org>
Thu, 9 Jan 2020 15:35:14 +0000 (15:35 +0000)
commitd6491d15676b0255eaaa4f5394fbb8ec7e3c6a5f
treed132711071512cdee9c5378d5f8ca89a408f4e38
parentbad5e58a9fdbf6c090ff2adcc4022e1788173ccb
[amdgcn] Add support for sub-word sync_compare_and_swap operations

2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>

libgcc/
* config/gcn/atomic.c: New.
* config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.

From-SVN: r280055
libgcc/ChangeLog
libgcc/config/gcn/atomic.c [new file with mode: 0644]
libgcc/config/gcn/t-amdgcn