1 2 3 4 5 6
/* { dg-options "-O2" } */ /* { dg-final { scan-assembler-not "slwi" } } */ unsigned int foo (unsigned int x) { return ((x >> 16) & 0xffff) | ((x & 0xffff) << 16); }