1/* { dg-do compile } */
2/* { dg-require-effective-target ia32 } */
3/* { dg-skip-if "" { *-*-* } { "-march=*" } { "-march=atom" } } */
4/* { dg-options "-O2 -fomit-frame-pointer -march=atom" } */
5/* { dg-final { scan-assembler-times "nop" 2 } } */
6/* { dg-final { scan-assembler-not "rep" } } */
7
8int
9foo (int x, int y, int z)
10{
11   return x + y + z;
12}
13