This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: HP-UX PA long double alignment change
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: rth at redhat dot com (Richard Henderson)
- Cc: law at redhat dot com, sje at cup dot hp dot com, gcc-patches at gcc dot gnu dot org
- Date: Thu, 5 Dec 2002 17:18:57 -0500 (EST)
- Subject: 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)