This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Call for compiler help/advice: atomic builtins for v3
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Richard Guenther <richard dot guenther at gmail dot com>
- Cc: gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org, rth at redhat dot com,Ian Lance Taylor <ian at airs dot com>
- Date: Sun, 06 Nov 2005 12:43:50 +0100
- Subject: Re: Call for compiler help/advice: atomic builtins for v3
- References: <436DDC36.8070308@suse.de> <84fc9c000511060252q2aaccac7l479d763b05db1f3b@mail.gmail.com>
Richard Guenther wrote:
We could just provide fallback libcalls in libgcc
All in all, I think this is really the best solution. For 4.2 Sparc will
also have the builtins available and even if we want that the libgcc
code is equivalent to what is currently available in
libstdc++-v3/config/cpu, that is, not just locks when possible, the
amount of code added to libgcc would be very limited. Then, during the
transition phase we could help ourselves with some macro tricks, but
only temporarily.
Paolo.