1 /* { dg-do compile { target *-*-linux* } } */
2 /* { dg-options "-O2 -mgeneral-regs-only -mno-cld -mno-iamcu -mno-push-args" } */
3 
4 extern void bar (void) __attribute__ ((noreturn));
5 
6 void
7 __attribute__ ((no_caller_saved_registers))
foo(int i0,int i1,int i2,int i3,int i4,int i5,int i6,int i7,int i8)8 foo (int i0, int i1, int i2, int i3, int i4, int i5, int i6,
9      int i7, int i8)
10 {
11   if (i7)
12     bar ();
13 }
14 
15 /* { dg-final { scan-assembler-not "movups\[\\t \]*%(x|y|z)mm\[0-9\]+" } } */
16 /* { dg-final { scan-assembler-not "(push|pop)(l|q)\[\\t \]*%(r|e)(a|b|c|d)x" { target nonpic } } } */
17 /* { dg-final { scan-assembler-not "(push|pop)(l|q)\[\\t \]*%(r|e)(d|s)i" } } */
18 /* { dg-final { scan-assembler-not "(push|pop)(l|q)\[\\t \]*%(r|e)bp" } } */
19 /* { dg-final { scan-assembler-not "(push|pop)q\[\\t \]*%r\[0-9\]+" { target { ! ia32 } } } } */
20