Re: Libatomic support

2014-10-06 Thread Sebastian Huber
On 02/10/14 11:16, Daniel Cederman wrote: > I would not put too much time into this. Who needs this stuff? Thanks for the comment. I thought it would be a quick fix to add support, but looking at the code that gcc generates for _Atomic struct's I do not really trust it to be correct. And on em

Re: Libatomic support

2014-10-03 Thread Daniel Cederman
On 2014-10-02 15:09, Daniel Gutson wrote: On Thu, Oct 2, 2014 at 6:16 AM, Daniel Cederman wrote: I would not put too much time into this. Who needs this stuff? Thanks for the comment. I thought it would be a quick fix to add support, but looking at the code that gcc generates for _Atomic s

Re: Libatomic support

2014-10-02 Thread Joel Sherrill
On October 2, 2014 8:09:33 AM CDT, Daniel Gutson wrote: >On Thu, Oct 2, 2014 at 6:16 AM, Daniel Cederman >wrote: >>> I would not put too much time into this. Who needs this stuff? >> >> Thanks for the comment. I thought it would be a quick fix to add >support, >> but looking at the code that

Re: Libatomic support

2014-10-02 Thread Daniel Gutson
On Thu, Oct 2, 2014 at 6:16 AM, Daniel Cederman wrote: >> I would not put too much time into this. Who needs this stuff? > > Thanks for the comment. I thought it would be a quick fix to add support, > but looking at the code that gcc generates for _Atomic struct's I do not > really trust it to be

Re: Libatomic support

2014-10-02 Thread Daniel Cederman
> I would not put too much time into this. Who needs this stuff? Thanks for the comment. I thought it would be a quick fix to add support, but looking at the code that gcc generates for _Atomic struct's I do not really trust it to be correct. And on embedded platforms it is probably better to

Re: Libatomic support

2014-10-01 Thread Sebastian Huber
On 01/10/14 16:20, Daniel Cederman wrote: I'm looking at GCC's libatomic, which provides software emulation of atomic operations that are not supported by hardware. It does this by using a compare-and-swap loop, or, failing that, using locks. At the moment it is not selected for compilation for R