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 tree-optimization/16799] PowerPC - load reuse opportunity


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-28 04:27 -------
Fixed on the mainline (note this is powerp64-darwin but should represent  powerpc64-linux closely):
_foo:
        lwz r0,0(r3)
        .align32 4,0x60000000
L2:
        subf r9,r0,r3
        lwz r0,0(r9)
        mr r3,r9
        cmpdi cr7,r0,0
        beq cr7,L2
        lis r2,ha16(L_q$non_lazy_ptr)
        ld r2,lo16(L_q$non_lazy_ptr)(r2)
        std r9,0(r2)
        blr
.comm _q,8

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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