Roland McGrath 859e708f0e * csu/tst-atomic.c (do_test): Add some new
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.
2003-03-26 04:02:03 +00:00
..
2002-08-10 07:54:55 +00:00
2002-08-10 07:54:55 +00:00
1998-11-12 18:03:43 +00:00
2003-01-28 05:59:24 +00:00
1999-11-23 17:22:17 +00:00
2002-03-18 23:38:37 +00:00
2000-12-28 15:08:51 +00:00
1998-04-10 10:52:25 +00:00
1998-08-03 16:47:01 +00:00
1998-03-24 10:39:42 +00:00
2001-08-20 07:17:10 +00:00
2000-06-08 04:48:56 +00:00
2001-03-30 05:34:59 +00:00
2002-12-31 20:46:11 +00:00
1997-06-21 02:59:26 +00:00
1999-11-23 17:22:17 +00:00
2002-11-04 09:36:53 +00:00
2002-09-10 01:40:26 +00:00
1999-11-23 17:22:17 +00:00
1997-06-21 02:59:26 +00:00
1997-11-18 02:50:07 +00:00
2001-07-06 04:58:11 +00:00
1999-08-21 00:38:15 +00:00
1997-06-21 02:59:26 +00:00
2002-12-20 09:33:33 +00:00
2001-07-06 04:58:11 +00:00
2002-09-10 01:40:26 +00:00
1997-06-21 02:59:26 +00:00
2002-04-09 20:36:24 +00:00
1997-06-21 02:59:26 +00:00
2002-12-31 20:46:11 +00:00
1997-06-21 02:59:26 +00:00
1997-12-22 20:53:38 +00:00
1997-06-21 02:59:26 +00:00
1997-06-21 02:59:26 +00:00
2002-08-04 09:27:27 +00:00
2000-08-21 16:02:48 +00:00
2002-08-03 07:02:10 +00:00
2002-08-10 07:54:55 +00:00
1998-12-08 13:12:47 +00:00
2003-03-03 22:02:13 +00:00
2001-07-06 04:58:11 +00:00
2002-12-31 09:46:42 +00:00
1997-06-21 02:59:26 +00:00
2002-08-10 07:54:55 +00:00
2002-12-31 20:46:11 +00:00
2000-10-01 19:15:29 +00:00
1997-06-21 02:59:26 +00:00
2002-04-09 20:36:24 +00:00
1997-06-21 02:59:26 +00:00
1997-10-15 05:34:02 +00:00
1997-06-21 02:59:26 +00:00
1997-06-21 02:59:26 +00:00
1997-06-21 02:59:26 +00:00
1997-06-21 02:59:26 +00:00
1998-09-06 23:45:24 +00:00
2003-02-01 20:53:16 +00:00
1999-10-12 18:17:41 +00:00
1999-11-23 17:22:17 +00:00
2002-12-31 20:46:11 +00:00
1999-11-23 17:22:17 +00:00
2001-07-06 04:58:11 +00:00
2002-12-31 23:13:55 +00:00
2002-12-06 23:38:01 +00:00
1997-06-21 02:59:26 +00:00