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