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
8int
9foo (int x, int y, int z)
10{
11   return x + y + z;
12}
13