Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr53447-5.c
blobda91811710af1e3960a2fc808040cacab9415136
1 /* { dg-do compile } */
2 /* { dg-options "-Os -mthumb" } */
3 /* { dg-require-effective-target arm_thumb2_ok } */
5 void foo(long long* p)
7 p[1] |= 0x100000001;
8 p[2] &= 0x100000001;
9 p[3] ^= 0x100000001;
10 p[4] += 0x100000001;
11 p[5] -= 0x100000001;
12 p[6] = ~p[6];
13 p[7] <<= 5;
14 p[8] >>= 5;
15 p[9] -= p[10];
18 /* We accept neon instructions vldr.64 and vstr.64 as well.
19 Note: DejaGnu counts patterns with alternatives twice,
20 so actually there are only 10 loads and 9 stores. */
21 /* { dg-final { scan-assembler-times "(ldrd|vldr\\.64)" 20 } } */
22 /* { dg-final { scan-assembler-times "(strd|vstr\\.64)" 18 } } */