bug-gnubg
[Top][All Lists]
Advanced

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

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


From: Michael Petch
Subject: Re: stack align in multithread.c (was Re: [Bug-gnubg] OS/X check in)
Date: Thu, 10 Apr 2008 04:18:07 -0600
User-agent: Microsoft-Entourage/11.4.0.080122



On 4/10/08 4:14 AM, "Jonathan Kinsey" <address@hidden> wrote:

> 
>> From: address@hidden
>> 
>> 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:
> 
> This was added to get around a bug in gcc that miss-aligns the stack of new
> threads.  It might work ok on Mac's...  So just don't define GCC_ALIGN_HACK
> and see if it the sse code crashes (this is the code that relies on an aligned
> stack).
> 

This is what I thought. PPC doesn't have SSE support (It uses Altivec) so
this hack likely doesn't apply to any processor not supporting SSE?






reply via email to

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