[gcc]
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr59501-3a.c
blobded4336fc88e2c0c36bc8b8ef70d5e27fa6e9b30
1 /* PR target/59501 */
2 /* { dg-do compile { target { ! ia32 } } } */
3 /* { dg-options "-O2 -mavx -mno-accumulate-outgoing-args" } */
5 typedef double V __attribute__ ((vector_size (32)));
8 foo (double *x, int a, int b, int c, int d, int e, int f, unsigned *y)
10 V r = { x[y[0]], x[y[1]], x[y[2]], x[y[3]] };
11 return r;
14 /* Verify no dynamic realignment is performed. */
15 /* { dg-final { scan-assembler-not "and\[^\n\r]*sp" } } */