1/* { dg-do compile } */ 2/* { dg-options "-O2 -mmovbe" } */ 3 4extern int x; 5 6void 7foo (int i) 8{ 9 x = __builtin_bswap32 (i); 10} 11 12int 13bar () 14{ 15 return __builtin_bswap32 (x); 16} 17 18/* { dg-final { scan-assembler-times "movbe\[ \t\]" 2 } } */ 19