This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Andrew Haley wrote:Someone has to write the library function. Evidently that has not been done yet.David Daney writes:
> There is nothing that says that __sync_compar_and_swap() cannot expand > to a libcall.
Err, if a port doen't have an implementation, that's what gcc does anyway. :-)
That's what the docs say, but actually if you try to use __sync_* on ARM you'll get a linker error. A library implementation would need to be OS-specific.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |