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" 4 } } */ 6 /* { dg-final { scan-assembler-not "rep" } } */ 7 8 int foo(int x,int y)9foo (int x, int y) 10 { 11 return x + y; 12 } 13