diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2015-09-23 23:27:15 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2015-09-23 23:27:15 +0000 |
commit | d196fcaae27e810dd0244a71f7c323483ae94204 (patch) | |
tree | 449066e8134e9a201f20c520942ac5c696fd817a /libgcc/offloadstuff.c | |
parent | 2b8d5fbee9c64e38df491b60ce6b50936b662391 (diff) |
* config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
(__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
__kernel_cmpxchg2.
(__sync_##OP##_and_fetch_##WIDTH): Likewise.
(__sync_val_compare_and_swap_##WIDTH): Likewise.
(__sync_bool_compare_and_swap_##WIDTH): Likewise.
(__sync_lock_test_and_set_##WIDTH): Likewise.
(__sync_lock_release_##WIDTH): Likewise.
(__sync_fetch_and_##OP##_4): Change result to match type of
__kernel_cmpxchg.
(__sync_##OP##_and_fetch_4): Likewise.
(__sync_val_compare_and_swap_4): Likewise.
(__sync_bool_compare_and_swap_4): likewise.
(__sync_lock_test_and_set_4): Likewise.
(__sync_lock_release_4): Likewise.
(FETCH_AND_OP_2): Add long long variants.
(OP_AND_FETCH_2): Likewise.
(COMPARE_AND_SWAP_2 ): Likewise.
(SYNC_LOCK_TEST_AND_SET_2): Likewise.
(SYNC_LOCK_RELEASE_2): Likewise.
(__sync_bool_compare_and_swap_##WIDTH): Correct return.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@228065 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/offloadstuff.c')
0 files changed, 0 insertions, 0 deletions