[PATCH, ARM] ARM Linux kernel-assisted atomic operation helpers vs. libcall argument promotion

2013-03-15 Thread Julian Brown
Hi, At present, the libcall helpers implementing atomic operations (__sync_val_compare_and_swap_X) for char and short types suffer from a type mismatch. This is leading to test failures, i.e.: FAIL: gcc.dg/atomic-compare-exchange-1.c execution test FAIL: gcc.dg/atomic-compare-exchange-2.c executi

Re: [PATCH, ARM] ARM Linux kernel-assisted atomic operation helpers vs. libcall argument promotion

2013-04-05 Thread Ramana Radhakrishnan
On 03/15/13 18:16, Julian Brown wrote: Hi, At present, the libcall helpers implementing atomic operations (__sync_val_compare_and_swap_X) for char and short types suffer from a type mismatch. This is leading to test failures, i.e.: FAIL: gcc.dg/atomic-compare-exchange-1.c execution test FAIL: g

Re: [PATCH, ARM] ARM Linux kernel-assisted atomic operation helpers vs. libcall argument promotion

2013-04-03 Thread Julian Brown
On Fri, 15 Mar 2013 18:16:48 + Julian Brown wrote: > Hi, > > At present, the libcall helpers implementing atomic operations > (__sync_val_compare_and_swap_X) for char and short types suffer from > a type mismatch. This is leading to test failures, i.e.: > > FAIL: gcc.dg/atomic-compare-excha