1/* { dg-do compile { target { ! { ia32 } } } } */
2/* { dg-skip-if "" { *-*-* } { "-march=*" } { "-march=atom" } } */
3/* { dg-options "-O2 -fomit-frame-pointer -march=atom" } */
4/* { dg-final { scan-assembler-times "nop" 4 { target { ! x86_64-*-mingw* } } } } */
5/* { dg-final { scan-assembler-times "nop" 2 { target { x86_64-*-mingw* } } } } */
6/* { dg-final { scan-assembler-not "rep" } } */
7
8extern void bar (void);
9
10void
11foo (int x)
12{
13  if (x)
14    bar ();
15}
16