This is the mail archive of the gcc@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: 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
*****************************************************************


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