On 12/18/18 3:15 PM, Joseph Myers wrote:
> On Tue, 18 Dec 2018, Vineet Gupta wrote:
>
>> +#define USE_ATOMIC_COMPILER_BUILTINS 0
>
> There is a strong preference for new ports to use 1 for this rather than 0
> (and not to have any asms in their atomic-machine.h unless there's some
> reason use
On Tue, 18 Dec 2018, Vineet Gupta wrote:
> +#define USE_ATOMIC_COMPILER_BUILTINS 0
There is a strong preference for new ports to use 1 for this rather than 0
(and not to have any asms in their atomic-machine.h unless there's some
reason use of built-in functions is unsuitable) - see the
Signed-off-by: Vineet Gupta
---
ChangeLog | 3 ++
sysdeps/arc/atomic-machine.h | 89 +++
sysdeps/arc/nptl/bits/pthreadtypes-arch.h | 72 +
sysdeps/arc/nptl/bits/semaphore.h | 32 +++