PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / interrupt-24.c
blobf7ec9da3f2b8224db09d596e66ad8b37df0548ec
1 /* { dg-do compile { target *-*-linux* } } */
2 /* { dg-options "-O2 -mgeneral-regs-only -mno-cld -mno-iamcu -mno-push-args" } */
4 extern void bar (void) __attribute__ ((noreturn));
6 void
7 __attribute__ ((no_caller_saved_registers))
8 foo (int i0, int i1, int i2, int i3, int i4, int i5, int i6,
9 int i7, int i8)
11 if (i7)
12 bar ();
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 } } } } */