This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: PowerPC : GCC2 optimises better than GCC4???
- From: "Mark Colby" <markc at liferacing dot com>
- To: "Steven Bosscher" <stevenb dot gcc at gmail dot com>, "Andrew Haley" <aph at redhat dot com>
- Cc: <gcc at gcc dot gnu dot org>, "Jakub Jelinek" <jakub at redhat dot com>
- Date: Mon, 4 Jan 2010 11:53:39 -0000
- Subject: RE: PowerPC : GCC2 optimises better than GCC4???
> >> Is there any way to improve this behaviour? I have been using 2.9.5
> very
> >> successfully for years and am now looking at 4.4.2, but have many
> such
> >> examples in my code (for clarity of commenting and maintainability).
> >
> > This is very strange. ?On x86_64, gcc 4.4.1 generates
> >
> > ? ? ? ?movl ? ?$7170, %eax
> > ? ? ? ?ret
> >
> > This optimization is done by the first RTL cse pass. ?I can't
> understand
> > why it's not being done for your target. ?I guess this will need a
> > powerpc expert.
Thanks Andrew for checking this on your system.
> Known bug, see http://gcc.gnu.org/PR22141
>
> I hope Jakub will finish this work for gcc 4.5.
>
> Ciao!
> Steven
Thanks Steven. At least I have a handle on it now. Fingers crossed for 4.5 :-)
*****************************************************************
This email has been checked by the altohiway Mailcontroller Service
*****************************************************************