This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.1.2 generates different pentium instructions
- From: "H. J. Lu" <hjl at lucon dot org>
- To: fafa <fafa at freesurf dot ch>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 21 Mar 2007 13:29:52 -0700
- Subject: Re: GCC 4.1.2 generates different pentium instructions
- References: <op.tpj2q6i8s6zbp7@max>
On Wed, Mar 21, 2007 at 09:19:44PM +0100, fafa wrote:
> Hi all,
>
> I noticed that G++ 4.1.2 (on a Pentium 4) generates different instructions
> for
> lea 0x0(%esi),%esi
> or
> lea 0x0(%edi),%edi
> with the same meaning but different encoding depending on the switch
> "-momit-leaf-frame-pointer".
>
They are generated by assembler for different alignment adjustments.
H.J.