This is the mail archive of the gcc-bugs@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: target/9832: ARM: Arithmetic and move could be combined using liveness information


Synopsis: ARM: Arithmetic and move could be combined using liveness information

Responsible-Changed-From-To: unassigned->rearnsha
Responsible-Changed-By: rearnsha
Responsible-Changed-When: Mon Mar  3 14:14:27 2003
Responsible-Changed-Why:
    .
State-Changed-From-To: open->closed
State-Changed-By: rearnsha
State-Changed-When: Mon Mar  3 14:14:27 2003
State-Changed-Why:
    The analysis for the reasons behind this are mistaken.  GCC does get the liveness correct, but combine prevented from doing the combine into a hard register.  The current register allocator fails to spot that the move can be eliminated and thus generates sub-optimal code.  Compiling the same code with -fnew-ra shows that the new register allocator does a much better job in this area and eliminates the redundant move.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9832


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