Debian Codegraph @

gcc/testsuite/gcc.target/i386/apx-push2pop2-2.c

raw
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -mpreferred-stack-boundary=3 -mapx-features=push2pop2 -fomit-frame-pointer" } */
3
4 extern int bar (int);
5
6 void foo ()
7 {
8 int a,b,c,d,e,f,i;
9 a = bar (5);
10 b = bar (a);
11 c = bar (b);
12 d = bar (c);
13 e = bar (d);
14 f = bar (e);
15 for (i = 1; i < 10; i++)
16 {
17 a += bar (a + i) + bar (b + i) +
18 bar (c + i) + bar (d + i) +
19 bar (e + i) + bar (f + i);
20 }
21 }
22
23 /* { dg-final { scan-assembler-not "push2(|p)\[\\t \]*%r" } } */
24 /* { dg-final { scan-assembler-not "pop2(|p)\[\\t \]*%r" } } */