Add new implementation of 32-bit atomic funcs with atld instructions that can be used if ARC_HAS_ATLD enabled. Also add possibility to use ARC_HAS_ATLD with or without ARC_HAS_LLSC. It will allow to use ATLD variant in case when LLSC is not desirable (because of llock/scond livelock issue) or combine and use ATLD for atomic functions and LLSC for cmpxchg.
Add new implementation of 32-bit atomic funcs with atld instructions that can be used if
ARC_HAS_ATLD
enabled. Also add possibility to useARC_HAS_ATLD
with or withoutARC_HAS_LLSC
. It will allow to use ATLD variant in case when LLSC is not desirable (because of llock/scond livelock issue) or combine and use ATLD for atomic functions and LLSC for cmpxchg.