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 optimization/2806] if's are not combined together


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-17 15:41 -------
Suspending as the combining of the if is fixed on the tree-ssa branch.
On PPC the code now looks like:
_foo:
        li r2,0
        cmpwi cr6,r3,1
        ori r0,r2,65535
        cmpw cr7,r4,r0
        bnelr+ cr7
        bnelr+ cr6
        lis r7,ha16(L_abarney$non_lazy_ptr)
        lis r5,ha16(L_afred$non_lazy_ptr)
        lwz r9,lo16(L_abarney$non_lazy_ptr)(r7)
        li r6,6
        li r11,2
        lwz r4,lo16(L_afred$non_lazy_ptr)(r5)
        li r3,5
        stw r6,4(r9)
        stw r11,0(r4)
        stw r3,0(r9)
        blr

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED
   Target Milestone|---                         |tree-ssa


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


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