mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +00:00
859e708f0e
atomic_compare_and_exchange_val_acq, atomic_add_zero, atomic_compare_and_exchange_bool_acq and atomic_add_negative tests. * include/atomic.h (atomic_add_negative, atomic_add_zero): Prefix local variable so that it doesn't clash with the one in atomic_exchange_and_add. * sysdeps/ia64/bits/atomic.h (atomic_exchange): Fix for long/void * pointers. (atomic_exchange_and_add): Implement using __sync_fetch_and_add_?i. * sysdeps/powerpc/bits/atomic.h (atomic_exchange_and_add): Force value into register. * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_64_acq): Cast newval to long. * sysdeps/x86_64/bits/atomic.h (__arch_compare_and_exchange_val_64_acq): Cast newval and oldval to long. (atomic_exchange): Cast newvalue to long if sizeof == 8. (atomic_exchange_and_add): Cast value to long if sizeof == 8. (atomic_add, atomic_add_negative, atomic_add_zero): Likewise. (atomic_bit_set): Shift 1L up in all cases to shut up warnings. |
||
---|---|---|
.. | ||
bits | ||
elf | ||
fpu | ||
_mcount.S | ||
abort-instr.h | ||
bcopy.S | ||
bzero.S | ||
Dist | ||
dl-dtprocnum.h | ||
dl-fptr.c | ||
dl-lookupcfg.h | ||
dl-machine.h | ||
dl-symaddr.c | ||
dl-tls.h | ||
gccframe.h | ||
hp-timing.c | ||
hp-timing.h | ||
htonl.S | ||
htons.S | ||
ia64libgcc.S | ||
ieee754.h | ||
Implies | ||
libc-tls.c | ||
machine-gmon.h | ||
Makefile | ||
memccpy.S | ||
memchr.S | ||
memcmp.S | ||
memcpy.S | ||
memmove.S | ||
memset.S | ||
memusage.h | ||
softpipe.h | ||
stackinfo.h | ||
strcat.S | ||
strchr.S | ||
strcmp.S | ||
strcpy.S | ||
strlen.S | ||
strncmp.S | ||
strncpy.S | ||
sysdep.h | ||
Versions |