[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / ldp_stp_5.c
blob94266181df7edf53e5712be9c2f7474016d83724
1 /* { dg-options "-O2" } */
3 double arr[4][4];
5 void
6 foo ()
8 arr[0][1] = 1;
9 arr[1][0] = -1;
10 arr[2][0] = 1;
11 arr[1][1] = -1;
12 arr[0][2] = 1;
13 arr[0][3] = -1;
14 arr[1][2] = 1;
15 arr[2][1] = -1;
16 arr[3][0] = 1;
17 arr[3][1] = -1;
18 arr[2][2] = 1;
19 arr[1][3] = -1;
20 arr[2][3] = 1;
21 arr[3][2] = -1;
24 /* { dg-final { scan-assembler-times "stp\td\[0-9\]+, d\[0-9\]" 7 } } */