Re: PowerPC lwsync Instruction

2008-06-23 Thread Gabriel Paubert
On Thu, Jun 19, 2008 at 03:50:34PM -0500, Joel Sherrill wrote: > Andrew Pinski wrote: > >On Thu, Jun 19, 2008 at 1:36 PM, Joel Sherrill > ><[EMAIL PROTECTED]> wrote: > > > >>Hi, > >> > >>I ran into something tracking down a test > >>failure on psim and now thing there is a > >>target specific iss

Re: PowerPC lwsync Instruction

2008-06-19 Thread Joel Sherrill
Joe Buck wrote: On Thu, Jun 19, 2008 at 03:50:34PM -0500, Joel Sherrill wrote: On Thu, Jun 19, 2008 at 1:36 PM, Joel Sherrill <[EMAIL PROTECTED]> wrote: Hi, I ran into something tracking down a test failure on psim and now thing there is a target specific issue that needs addressin

Re: PowerPC lwsync Instruction

2008-06-19 Thread Joe Buck
On Thu, Jun 19, 2008 at 03:50:34PM -0500, Joel Sherrill wrote: > >On Thu, Jun 19, 2008 at 1:36 PM, Joel Sherrill > ><[EMAIL PROTECTED]> wrote: > > > >>Hi, > >> > >>I ran into something tracking down a test > >>failure on psim and now thing there is a > >>target specific issue that needs addressi

Re: PowerPC lwsync Instruction

2008-06-19 Thread Joel Sherrill
Andrew Pinski wrote: On Thu, Jun 19, 2008 at 1:36 PM, Joel Sherrill <[EMAIL PROTECTED]> wrote: Hi, I ran into something tracking down a test failure on psim and now thing there is a target specific issue that needs addressing. lwsync is sync with the bit 9 set. So it should be ok as

Re: PowerPC lwsync Instruction

2008-06-19 Thread Andrew Pinski
On Thu, Jun 19, 2008 at 1:36 PM, Joel Sherrill <[EMAIL PROTECTED]> wrote: > Hi, > > I ran into something tracking down a test > failure on psim and now thing there is a > target specific issue that needs addressing. lwsync is sync with the bit 9 set. So it should be ok as it was a reserved field

PowerPC lwsync Instruction

2008-06-19 Thread Joel Sherrill
Hi, I ran into something tracking down a test failure on psim and now thing there is a target specific issue that needs addressing. libstdc++-v3/config/cpu/powerpc/atomic_word.h uses the lwsync instruction if __NO_LWSYNC__ is not defined. psim does not implement the lwsync instruction. I chec