1 /* { dg-options "isa_rev>=2" } */
2 /* { dg-skip-if "bswap recognition needs expensive optimizations" { *-*-* } { "-O0" "-O1" } { "" } } */
7 return (((x
<< 24) & 0xff000000)
8 | ((x
<< 8) & 0xff0000)
10 | ((x
>> 24) & 0xff));
13 /* { dg-final { scan-assembler "\twsbh\t" } } */
14 /* { dg-final { scan-assembler "\tror\t" } } */