OSDN Git Service

* lib/target-supports.exp (check_effective_target_powerpc_spu):
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / powerpc / 20050603-3.c
1 /* { dg-do compile { target { ilp32 } } } */
2 /* { dg-options "-O2" } */
3 struct Q 
4 {
5   long x:20;
6   long y:4;
7   long z:8;
8 }b;
9 /* This should generate a single rl[w]imi. */
10 void rotins (unsigned int x)
11 {
12   b.y = (x<<12) | (x>>20);
13 }
14
15 /* { dg-final { scan-assembler-not "inm" } } */