PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr81769-1a.c
blob8ebe7292184c2cae9869e97f9ca84860d92b768b
1 /* { dg-do compile } */
2 /* { dg-options "-O -mavx" } */
4 typedef int v8si __attribute__ ((vector_size (32)));
5 typedef unsigned long long int u64 __attribute__ ((aligned(64)));
8 void
9 #ifndef __x86_64__
10 __attribute__((regparm(3)))
11 #endif
12 foo (u64 *idx, v8si *out_start, v8si *regions)
14 if (*idx < 20 ) {
15 v8si base = regions[*idx];
16 *out_start = base;
20 /* Verify no dynamic realignment is performed. */
21 /* { dg-final { scan-assembler-not "and\[^\n\r]*sp" } } */