blob: 053095ca691532bd2756fb3a3cd48fb78122ae58 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -mmovbe" } */
extern int x;
void
foo (int i)
{
x = __builtin_bswap32 (i);
}
int
bar ()
{
return __builtin_bswap32 (x);
}
/* { dg-final { scan-assembler-times "movbel\[ \t\]" 2 } } */