aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/aarch64/ldp_stp_q_disable.c
blob: 38c1870c47c69175e4b641532333bf7108351476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* { dg-options "-O2 -moverride=tune=no_ldp_stp_qregs" } */

typedef float float32x4_t __attribute__ ((__vector_size__ ((16))));

float32x4_t arr[4][4];

void
foo (float32x4_t x, float32x4_t y)
{
  arr[0][1] = x;
  arr[1][0] = y;
  arr[2][0] = x;
  arr[1][1] = y;
  arr[0][2] = x;
  arr[0][3] = y;
  arr[1][2] = x;
  arr[2][1] = y;
  arr[3][0] = x;
  arr[3][1] = y;
  arr[2][2] = x;
  arr[1][3] = y;
  arr[2][3] = x;
  arr[3][2] = y;
}

/* { dg-final { scan-assembler-not "stp\tq\[0-9\]+, q\[0-9\]" } } */