summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr81563.c
blob: ebfd583daf5b53fa80d628b011dc12849db73bc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile { target ia32 } } */
/* { dg-options "-O2 -maccumulate-outgoing-args -mincoming-stack-boundary=2 -mpreferred-stack-boundary=3 -mregparm=3 -mtune-ctrl=epilogue_using_move" } */

extern void bar (long long int, int);

long long int
fn1 (long long int x)
{
  bar (x, 1);
  return x;
}

/* { dg-final { scan-assembler-times "movl\[\\t \]*-8\\(%ebp\\),\[\\t \]*%esi" 1 } } */
/* { dg-final { scan-assembler-times "movl\[\\t \]*-4\\(%ebp\\),\[\\t \]*%edi" 1 } } */