blob: df55a6adfefbfe84fc6605c3e0b2df1e39cba4f9 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-mror -O2" } */
unsigned int rotate (unsigned int a, int b) {
return ( a >> b ) | ( a << ( 32 - b ) );
}
/* { dg-final { scan-assembler "l.ror" } } */