[Bug tree-optimization/31849] [4.3/4.4 Regression] Code size increased with PR 31360 (IV-opts not understanding autoincrement)

amylaar at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Dec 10 05:30:00 GMT 2008



------- Comment #43 from amylaar at gcc dot gnu dot org  2008-12-10 05:29 -------
(In reply to comment #25)
> Created an attachment (id=14637)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14637&action=view) [edit]
> Patch to make ivopts take autoincrement addressing modes into account
> 
> Ivopts take autoincrement addressing modes into account with this patch (in a
> fairly simplistic form, sufficient to improve the code for the testcases in
> this PR).  However, I do not have access to any architecture where I could test
> it (I somewhat suspect it might cause performance regressions -- using
> autoincrement addressing modes is not necessarily always profitable).
> 

You patch suffered from some bitrot.  After fixing the merge issues, I can
confirm that it fixes the bcmp regression problem for ARC (see PR38440).


-- 


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



More information about the Gcc-bugs mailing list