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]

[Bug rtl-optimization/26479] suboptimal register allocation for return register



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-03-03 18:56 -------
With -O2:
L4:
        addi r1,r1,128
        mr r3,r2
        ld r0,16(r1)
        ld r31,-8(r1)
        mtlr r0
        blr

With -O2 -fno-if-conversion:
L4:
        addi r1,r1,128
        ld r0,16(r1)
        ld r31,-8(r1)
        mtlr r0
        blr

I have not looked enough into the RTL to figure out why this is going wrong.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ra


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26479


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