glibc/sysdeps/sparc/sparc32/sparcv9
Adhemerval Zanella 3b5ebe85aa sparc: Use atomic compiler builtins on sparc
This patch removes the arch-specific atomic instruction, relying on
compiler builtins.  The __sparc32_atomic_locks support is removed
and a configure check is added to check if compiler uses libatomic
to implement CAS.

It also removes the sparc specific sem_* and pthread_barrier_*
implementations.  It in turn allows buidling against a LEON3/LEON4
sparcv8 target, although it will still be incompatible with generic
sparcv9.

Checked on sparcv9-linux-gnu and sparc64-linux-gnu.  I also checked
with build against sparcv8-linux-gnu with -mcpu=leon3.

Tested-by: Andreas Larsson <andreas@gaisler.com>
2019-11-27 10:31:13 -03:00
..
fpu Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
multiarch Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
addmul_1.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
backtrace.h
bzero.c
dotmul.S
hp-timing.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Makefile sparc: Use atomic compiler builtins on sparc 2019-11-27 10:31:13 -03:00
memchr.S
memcmp.S
memcpy.S
memmove.S sparc: assembly version of memmove for ultra1+ 2017-12-14 08:47:09 -02:00
memset.S
mul_1.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pthread_barrier_wait.c
pthread_spin_init.c
pthread_spin_lock.S
pthread_spin_trylock.S
pthread_spin_unlock.S
rawmemchr.S
rem.S
rtld-memcpy.c
rtld-memmove.c sparc: assembly version of memmove for ultra1+ 2017-12-14 08:47:09 -02:00
rtld-memset.c
sdiv.S
sem_post.c
sem_waitcommon.c
stpcpy.S
stpncpy.S
strcat.S
strchr.S
strcmp.S
strcpy.S
strcspn.S
strlen.S
strncmp.S
strncpy.S
strpbrk.S
strrchr.c
strspn.S
submul_1.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
udiv.S
umul.S
urem.S