1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-options "-O1" } */
5 preinc (long *q
, long n
)
8 for (i
= 0; i
< n
; i
++)
13 predec (long *q
, long n
)
16 for (i
= n
; i
>= 0; i
--)
20 /* { dg-final { scan-assembler-times {\mstwu\M} 2 { target ilp32 } } } */
21 /* { dg-final { scan-assembler-times {\mstdu\M} 2 { target lp64 } } } */
22 /* { dg-final { scan-assembler-not {\mstfdu\M} } } */