Re: [PATCH 0/7] Sparc atomic optabs errata

2011-11-22 Thread David Miller
From: Richard Henderson Date: Tue, 22 Nov 2011 14:36:53 -0800 > On 11/21/2011 09:21 PM, David Miller wrote: >> Hey Richard, after the ICE fix you made today the only test that >> fails is gcc.dg/atomic-flag.c at -O0. Below is the assembler >> generated. > > Yeah, that test is in error. > > And

Re: [PATCH 0/7] Sparc atomic optabs errata

2011-11-22 Thread Richard Henderson
On 11/21/2011 09:21 PM, David Miller wrote: > Hey Richard, after the ICE fix you made today the only test that > fails is gcc.dg/atomic-flag.c at -O0. Below is the assembler > generated. Yeah, that test is in error. Andrew and I are discussing how to re-arrange the atomic_bool support. r~

Re: [PATCH 0/7] Sparc atomic optabs errata

2011-11-21 Thread David Miller
From: Richard Henderson Date: Thu, 17 Nov 2011 11:22:53 -1000 > Full sparc64-linux testing still underway; I've pushed these two > patches to the git branch previously mentioned. Hey Richard, after the ICE fix you made today the only test that fails is gcc.dg/atomic-flag.c at -O0. Below is the

Re: [PATCH 0/7] Sparc atomic optabs errata

2011-11-20 Thread David Miller
From: Richard Henderson Date: Sun, 20 Nov 2011 14:50:49 -1000 > I can't reproduce this. What's the exact cc1 command-line? /home/davem/src/GIT/GCC/build-sparc-linux/gcc/cc1 -quiet -v -I /home/davem/src/GIT/GCC/build-sparc-linux/sparc-unknown-linux-gnu/./libgomp -I /home/davem/src/GIT/GCC/gcc/

Re: [PATCH 0/7] Sparc atomic optabs errata

2011-11-20 Thread Richard Henderson
On 11/20/2011 12:47 PM, David Miller wrote: > From: Richard Henderson > Date: Thu, 17 Nov 2011 11:22:53 -1000 > >> Full sparc64-linux testing still underway; I've pushed these two >> patches to the git branch previously mentioned. > > With these changes most of the libgomp atomic tests fail to b

Re: [PATCH 0/7] Sparc atomic optabs errata

2011-11-20 Thread David Miller
From: Richard Henderson Date: Thu, 17 Nov 2011 11:22:53 -1000 > Full sparc64-linux testing still underway; I've pushed these two > patches to the git branch previously mentioned. With these changes most of the libgomp atomic tests fail to build: /home/davem/src/GIT/GCC/gcc/libgomp/testsuite/lib

[PATCH 0/7] Sparc atomic optabs errata

2011-11-17 Thread Richard Henderson
... of course, I immediately found two problems by inspection. (1) Accidentally dropped the barrier for sync_test_and_set when used on post-v7. Given that we have only SImode atomic_exchange, and we do have QImode sync_test_and_set, we will probably try to use LDSTUB for the c++ atomic_bool_test_