On 04/22/2015 10:07 AM, Maxim Uvarov wrote:
>
>
> On 22 April 2015 at 11:04, Nicolas Morey-Chaisemartin <nmo...@kalray.eu 
> <mailto:nmo...@kalray.eu>> wrote:
>
>
>     I guess the idea would be to move odp_atomic_internal.h to 
> include/odp/plat/atomic.h (or something similar) and use its function to 
> implement the include/opd/atomic.h instead of relying both implementations on 
> GCC __atomic_* builtins and making it easier to port.
>
>     Nicolas
>
>
> Nicolas, do you have some problems with gcc buildins? Why no patch gcc to 
> support it?
>
>  
>

Our GCC version does not support these yet. I've reimplement all the functions 
manually for the moment (until our Compiler engineer has some time to implement 
them) but as I said it seems a waste to keep both implementations based on GCC 
builtins instead of using ODP own internal wrappers.

Nicolas
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to