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: optimization/10080: Loop unroller nearly useless


Hello,

the problem is that ++i is tranlated into

(insn 28 26 29 1 0x40135c40 (set (reg:DI 79)
        (plus:DI (reg/v:DI 72 [ i ])
            (const_int 1 [0x1]))) -1 (nil)
    (nil))
(insn 29 28 75 1 0x40135c40 (set (reg/v:DI 72 [ i ])
        (sign_extend:DI (subreg:SI (reg:DI 79) 0))) -1 (nil)
    (nil))

but my analysis is overly simplistic and does not recognize this. I am working
on fix.

Zdenek


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