------- Additional Comments From nathan at gcc dot gnu dot org 2004-11-03 11:25 ------- The situation has improved, as the biv has now been spotted, and the loop turned into, .foo: li 0,8 mtctr 0 .align 4 .L2: stfs 1,0(3) addi 3,3,4 bdnz .L2 blr
Unfortunately this has placed the increment after the load, and so cannot be merged into it. If the loop optimizer knew the target had pre-inc, it might be able to swap them round by biasing the pointer before the loop. -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|nathan at gcc dot gnu dot |unassigned at gcc dot gnu |org |dot org Status|ASSIGNED |NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17108