[amdgcn] Add support for sub-word sync_compare_and_swap operations

Programming / Compilers / GCC - kcy [138bc75d-0d04-0410-961f-82ee72b054a4] - 9 January 2020 15:35 UTC

2020-01-09 Kwok Cheung Yeung

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

05b0063b982 [amdgcn] Add support for sub-word sync_compare_and_swap operations
libgcc/ChangeLog | 5 ++++
libgcc/config/gcn/atomic.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++
libgcc/config/gcn/t-amdgcn | 3 ++-
3 files changed, 67 insertions(+), 1 deletion(-)

Upstream: gcc.gnu.org


  • Share