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: HP-UX PA long double alignment change


> On Thu, Dec 05, 2002 at 11:00:59AM -0700, Jeff Law wrote:
> > Under what circumstances are ldcw/ldcd interesting on stack addresses?  
> 
> When you allocate memory on the stack and link it into global data structues.

I see that BLKmode locals are allocated using BIGGEST_ALIGNMENT when there
is no specified alignment.  Increasing BIGGEST_ALIGNMENT allowed a struct
to be allocated on the stack with an alignment suitable for the ldcw/ldcd
instructions.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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