PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr81736-5.c
blobe1602cf25ba9fddc096d6045f2f8588e8723560a
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-omit-frame-pointer -mavx" } */
4 typedef int v8si __attribute__ ((vector_size (32)));
6 void
7 #ifndef __x86_64__
8 __attribute__((regparm(3)))
9 #endif
10 foo (v8si *out_start, v8si *out_end, v8si *regions)
12 v8si base = regions[3];
13 *out_start = base;
14 *out_end = base;
17 /* No need to use a frame pointer. */
18 /* { dg-final { scan-assembler-not "%\[re\]bp" } } */
19 /* Verify no dynamic realignment is performed. */
20 /* { dg-final { scan-assembler-not "and\[^\n\r]*sp" } } */