bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stack align in multithread.c (was Re: [Bug-gnubg] OS/X check in)


From: Christian Anthon
Subject: stack align in multithread.c (was Re: [Bug-gnubg] OS/X check in)
Date: Thu, 10 Apr 2008 11:37:49 +0200

On Wed, Apr 9, 2008 at 11:58 PM, Michael Petch <address@hidden> wrote:
>
>  Howdy,
>
>  I have put away changes to support OS/X sound with Quicktime (The way it was
>  previously), and fixed up the multithreaded code to only align the stack on
>  X86 processors. I am unsure this has to be done on the PPC and other
>  processors so I have ifdef'ed it out if the target of the build is not Intel
>  x86 (or x86_64).

x86: the pattern you provided doesn't match x86_64. I believe that
host, not target is the right thing to use here.

The alignment of the stack seems to be something gcc specific. Perhaps
we need/want it on ppc-mac as well? Jon, can we use the aligned gcc
attribute instead like in sse.h:

Christian.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]