[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / ldp_vec_64_1.c
blob59cf9140a33b0c2886e76d842230f9e42ae15a7c
1 /* { dg-do compile } */
2 /* { dg-options "-Ofast" } */
4 typedef int int32x2_t __attribute__ ((__vector_size__ ((8))));
6 void
7 foo (int32x2_t *foo, int32x2_t *bar)
9 int i = 0;
10 int32x2_t val = { 3, 2 };
12 for (i = 0; i < 1024; i+=2)
13 foo[i] = bar[i] + bar[i + 1];
16 /* Xfail for now since IVOPT doesn't choose [base+offset] addressing mode.
17 See PR79213. */
18 /* { dg-final { scan-assembler "ldp\td\[0-9\]+, d\[0-9\]" { xfail *-*-* } } } */