summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/incoming-1.c
blob: 86e98a79b479de4a4acbef9305a4b68943603d29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* PR middle-end/37009 */
/* { dg-do compile { target { { ! *-*-darwin* } && ilp32 } } } */
/* { dg-options "-w -msse2 -mpreferred-stack-boundary=2" } */

#include <emmintrin.h>

extern void bar (int *);

int
foo(__m128 x, __m128 y, __m128 z, int size)
{
  int __attribute((aligned(16))) xxx;

  xxx = 2;
  bar (&xxx);
  return size;
}

/* { dg-final { scan-assembler "andl\[\\t \]*\\$-16,\[\\t \]*%esp" } } */