This is the mail archive of the gcc-patches@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]

Re: [v3] Use atomic builtins (powerpc, alpha)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]