* gcc.target/i386/pr70021.c: Add -mtune=skylake.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr81769-2.c
blobe020db20227bbe6215c67416a31998bcb25bc39b
1 /* { dg-do compile } */
2 /* { dg-options "-O -mavx -fno-omit-frame-pointer" } */
4 typedef unsigned long long int u64 __attribute__ ((aligned(64)));
6 void
7 #ifndef __x86_64__
8 __attribute__((regparm(3)))
9 #endif
10 foo (u64 *idx, unsigned int *out_start, unsigned int *out_end,
11 unsigned int *regions)
13 if (*idx < 20 ) {
14 unsigned int base = regions[*idx];
15 *out_start = base;
16 *out_end = base;
20 /* Verify no dynamic realignment is performed. */
21 /* { dg-final { scan-assembler-not "and\[^\n\r]*sp" } } */