Use gather loads for strided accesses
[official-gcc.git] / gcc / testsuite / gcc.target / arc / loop-4.c
blob99a93a74d1ed85901d02d5e484593b3139f0e6c1
1 /* { dg-do assemble } */
2 /* { dg-do compile } */
3 /* { dg-options "-Os" } */
6 void fn1(void *p1, int p2, int p3)
8 char *d = p1;
9 do
10 *d++ = p2;
11 while (--p3);
14 /* { dg-final { scan-assembler "lp_count" } } */