Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / arm / neon-vaddwu32.c
blob21b063342dc82fadad57d0134ab78380da26b608
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_neon_ok } */
3 /* { dg-options "-O3" } */
4 /* { dg-add-options arm_neon } */
7 int
8 t6 (int len, void * dummy, unsigned int * __restrict x)
10 len = len & ~31;
11 unsigned long long result = 0;
12 __asm volatile ("");
13 for (int i = 0; i < len; i++)
14 result += x[i];
15 return result;
18 /* { dg-final { scan-assembler "vaddw\.u32" } } */