This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/10080: Loop unroller nearly useless
- From: rakdver at atrey dot karlin dot mff dot cuni dot cz
- To: gcc-gnats at gcc dot gnu dot org,gcc-bugs at gcc dot gnu dot org,nobody at gcc dot gnu dot org,gcc-prs at gcc dot gnu dot org,falk dot hueffner at student dot uni-tuebingen dot de
- Date: Sat, 15 Mar 2003 00:36:04 +0100
- Subject: 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