Re: i386 __atomic_compare_exchange_n not found

2013-08-09 Thread Deng Hengyi
Hi all, does anyone know how to configure gcc to build with __atomic_compare_exchange_n support for i386 target? WeiY Best Regards 在 2013-8-6,下午11:37,Jonathan Wakely jwakely@gmail.com 写道: On 6 August 2013 16:30, Deng Hengyi wrote: Hi Jonathan, Thank you for your reply. And about

Re: i386 __atomic_compare_exchange_n not found

2013-08-09 Thread Deng Hengyi
: error: ld returned 1 exit status WeiY Best Regards 在 2013-8-10,上午12:02,Joel Sherrill joel.sherr...@oarcorp.com 写道: On 8/9/2013 10:15 AM, Deng Hengyi wrote: Hi all, does anyone know how to configure gcc to build with __atomic_compare_exchange_n support for i386 target? I recall that one

Re: [SPARC] access to atomic compare-and-swap on LEON3

2013-08-09 Thread Deng Hengyi
Hi Eric, Thank you very much for your work. I will test it ASAP WeiY Best Regards 在 2013-8-9,下午5:06,Eric Botcazou ebotca...@adacore.com 写道: This enables access to the atomic compare-and-swap on LEON3 in conjunction with the binutils patch at:

i386 __atomic_compare_exchange_n not found

2013-08-06 Thread Deng Hengyi
Hi all, I am form RTEMS org, recently we are working on atomic support for RTEMS. The C11 stdatomic.h has been ported to RTEMS. But when i build the atomic test case for pc686 BSP it will post some error like this :

Re: i386 __atomic_compare_exchange_n not found

2013-08-06 Thread Deng Hengyi
,Jonathan Wakely jwakely@gmail.com 写道: On 6 August 2013 15:47, Deng Hengyi wrote: And i have found some mail list talking about gcc has remove lock free atomic int support [1][2], is this true? or just some error caused by my toolchain? I am waiting for your reply, Thank you! [1

Re: atomic support for LEON3 platform

2013-07-24 Thread Deng Hengyi
Hi Eric, Thank you for your interesting on this feature. Best Regards WeiY 在 2013-7-24,上午1:07,Eric Botcazou ebotca...@adacore.com 写道: ok, because i am not familiar with compiler implementation. So if you can give me some references i will appreciate you very much. And by the way is there

Re: atomic support for LEON3 platform

2013-07-23 Thread Deng Hengyi
在 2013-7-23,上午5:54,Eric Botcazou ebotca...@adacore.com 写道: Recently i am working on the atomic support for RTEMS. Our basic idea is to integrate the C11 atomic API into RTEMS. we have integrated the stdatomic.h into newlib which is used by RTEMS. And when we test the atomic ops on LEON3

Re: atomic support for LEON3 platform

2013-07-23 Thread Deng Hengyi
在 2013-7-23,下午11:31,Eric Botcazou ebotca...@adacore.com 写道: Hi Eric, do you mean that you already have a patch to solve this issue which is just not merged to mainline? If yes could you send me your patch and tell me to how enable this feature? Thank you! No, I only installed a patch on

atomic support for LEON3 platform

2013-07-20 Thread Deng Hengyi
Hi all, Recently i am working on the atomic support for RTEMS. Our basic idea is to integrate the C11 atomic API into RTEMS. we have integrated the stdatomic.h into newlib which is used by RTEMS. And when we test the atomic ops on LEON3 platform (an important platform for RTEMS to test and