https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631

--- Comment #25 from dave.anglin at bell dot net ---
On 2015-02-06, at 6:33 AM, ebotcazou at gcc dot gnu.org wrote:

> Correction: we have only one IV on the PA, but it's 'i' and not 'p'.
> 
> Dave, is the generated code optimimal on the PA or should the compiler use 
> 'p'?

The generated code on PA looks optimal to me:

        zdep %r25,29,30,%r28
        b .L2
        ldi 99,%r19
.L6:
        zdep %r25,29,30,%r28
.L2:
        addl %r26,%r28,%r28
        ldo 1(%r25),%r25
        comb,>>= %r19,%r25,.L6
        stw %r0,0(%r28)
        bv,n %r0(%r2)

Dave
--
John David Anglin    dave.ang...@bell.net

Reply via email to