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