Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / vax / bswapdi-1.c
blobc658d915ab98d68a0bea5c5d8e98e03e35583b44
1 typedef int DItype __attribute__ ((mode (DI)));
2 DItype
3 __bswapdi2 (DItype u)
5 return ((((u) & 0xff00000000000000ull) >> 56)
6 | (((u) & 0x00ff000000000000ull) >> 40)
7 | (((u) & 0x0000ff0000000000ull) >> 24)
8 | (((u) & 0x000000ff00000000ull) >> 8)
9 | (((u) & 0x00000000ff000000ull) << 8)
10 | (((u) & 0x0000000000ff0000ull) << 24)
11 | (((u) & 0x000000000000ff00ull) << 40)
12 | (((u) & 0x00000000000000ffull) << 56));