This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch ARM] Fix atomic nand operations.


On Tue, 20 Jul 2010, Ramana Radhakrishnan wrote:

> Hi ,
> 
> Marcus pointed out that the way we implement __sync_nand_and_fetch in
> the helper routines is broken today because of the way we test the value
> we get.

What I immediately wondered is why no testcase in the testsuite detected 
this issue.  It looks like the check_effective_target_sync_* do not know 
about sync support on ARM Linux.  Since patches need testcases where 
possible, I think this means you get to fix those functions - or, if that 
does not enable any testcase that fails without the linux-atomic.c change 
and passes with it, to add a new testcase that does show the issue on ARM.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]