Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / arm / neon-vlshr-imm-1.c
blobaaf190594dcbc8295b944260d8bfde96a5ec5d77
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_neon_ok } */
3 /* { dg-options "-O2 -ftree-vectorize" } */
4 /* { dg-add-options arm_neon } */
5 /* { dg-final { scan-assembler "vshr\.u32.*#3" } } */
7 /* Verify that VSHR immediate is used. */
8 void f1(int n, unsigned int x[], unsigned int y[]) {
9 int i;
10 for (i = 0; i < n; ++i)
11 y[i] = x[i] >> 3;