On 22 April 2015 at 11:04, Nicolas Morey-Chaisemartin <[email protected]> wrote:
> > > On 04/22/2015 09:56 AM, Maxim Uvarov wrote: > > > > >> I don't know if this influences the location of odp_atomic_internal.h >> in the ODP source structure. Maybe the makefiles can grab files (to be >> installed) from anywhere. Maxim, Anders? >> >> > _internal.h prefixes says that file has internal content for platform > only and it should not be installed. > > Do you want make in ODP API change memory model for atomics? In that > case you need to move _internal.h to atomic.h with proper renaming. And > _internal.h is not needed in that case. > > Best regards, > Maxim. > > > > > 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?
_______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
