This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] Use atomic builtins (powerpc, alpha)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 25 May 2005 08:37:32 -0400
- Subject: Re: [v3] Use atomic builtins (powerpc, alpha)
- References: <429445C8.8020103@suse.de>
On Wed, May 25, 2005 at 11:30:48AM +0200, Paolo Carlini wrote:
> Hi,
>
> tested on ia64/powerpc64/alphaev67-linux, committed to mainline.
Two comments:
- Is there anything architecture-specific left in the patched files,
or could you use a common file for arches which support the
builtins?
- Looks like nothing in GCC handles this:
> -#ifdef __PPC405__
> -#define _STWCX "sync \n\tstwcx. "
> -#else
> -#define _STWCX "stwcx. "
> -#endif
> -
Would be nice to fix that or at least file a bug report about it.
--
Daniel Jacobowitz
CodeSourcery, LLC