Re: NIOS and atomic primitives

2015-04-20 Thread Jakub Jelinek
On Mon, Apr 20, 2015 at 11:14:48AM -0500, Joel Sherrill wrote: > > > On 4/20/2015 5:04 AM, Jonathan Wakely wrote: > > On 19 April 2015 at 03:06, Sandra Loosemore wrote: > >> Is it one of the standard g++ or libstdc++ test cases that is failing? I > >> could check what nios2-elf does with it if I

Re: NIOS and atomic primitives

2015-04-20 Thread Joel Sherrill
On 4/20/2015 5:04 AM, Jonathan Wakely wrote: > On 19 April 2015 at 03:06, Sandra Loosemore wrote: >> Is it one of the standard g++ or libstdc++ test cases that is failing? I >> could check what nios2-elf does with it if I knew what to look for. > Libstdc++ does not use the __sync built-ins in the

Re: NIOS and atomic primitives

2015-04-20 Thread Jonathan Wakely
On 19 April 2015 at 03:06, Sandra Loosemore wrote: > Is it one of the standard g++ or libstdc++ test cases that is failing? I > could check what nios2-elf does with it if I knew what to look for. Libstdc++ does not use the __sync built-ins in the 4.9 branch, it has switched to the __atomic ones wh

Re: NIOS and atomic primitives

2015-04-19 Thread Joel Sherrill
On 04/18/2015 09:06 PM, Sandra Loosemore wrote: On 04/18/2015 07:35 PM, Joel Sherrill wrote: Hi with nios2-rtems on gcc 4.9.2, we are getting undefineds for some atomic primitives. Are these implemented or is some magic bit of configurery missing for nios-rtems? __sync_fetch_and_add_4 is missi

Re: NIOS and atomic primitives

2015-04-18 Thread Sandra Loosemore
On 04/18/2015 07:35 PM, Joel Sherrill wrote: Hi with nios2-rtems on gcc 4.9.2, we are getting undefineds for some atomic primitives. Are these implemented or is some magic bit of configurery missing for nios-rtems? __sync_fetch_and_add_4 is missing on a simple C++ IO streams sanity test. libg

NIOS and atomic primitives

2015-04-18 Thread Joel Sherrill
Hi with nios2-rtems on gcc 4.9.2, we are getting undefineds for some atomic primitives. Are these implemented or is some magic bit of configurery missing for nios-rtems? __sync_fetch_and_add_4 is missing on a simple C++ IO streams sanity test. Thanks -- Joel Sherrill Ask me about RTEMS: a free