This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -malign on Pentiums
- To: Robert Lipe <robertl at dgii dot com>
- Subject: Re: -malign on Pentiums
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 27 May 1998 16:26:16 -0600
- cc: acs at alumni dot princeton dot edu, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <19980527163957.C16264@dgii.com>you write:
> > > What are the optimal -malign options for:
> > > pentium? pentiumpro? pentiumII?
>
> > Actually, if you're using recent snapshots with reasonably new
> > versions of gas, the alignment values should be set to reasonable
> > values for you automatically for you.
>
> Why is this GAS-dependent? What's the correct answer for the for the
> gas-not crowd?
I have no idea what the values are -- so I don't know what to tell
folks. gcc figures out a reasonable alignment for the x86 targets
if you're using gas though.
> Is that what the ".p2align" stuff was about?
Yes.
jeff