blob: 0f328e1711faa0c674eb9d97072c876252a928d1 [file] [log] [blame]
/* { dg-do compile { target { ilp32 } } } */
/* { 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" } } */