I totally botched up this sve test file in 259437.
It needs C++, so move it to g++.dg/other and make it a .C file.
Also adds the target guards to prevent it from running on non-aarch64 targets.
Tested that it passes on aarch64-none-elf and doesn't get run on arm-none-eabi.
Committing to trunk as obvious.
PR testsuite/85483
* gcc.target/aarch64/sve/vcond_1.c: Move to...
* g++.dg/other/sve_vcond_1.C: ... Here. Add target directives.
* gcc.target/aarch64/sve/vcond_1_run.c: Move to...
* g++.dg/other/sve_vcond_1_run.C: ... Here. Change include file name.
From-SVN: r259526
+2018-04-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ PR testsuite/85483
+ * gcc.target/aarch64/sve/vcond_1.c: Move to...
+ * g++.dg/other/sve_vcond_1.C: ... Here. Add target directives.
+ * gcc.target/aarch64/sve/vcond_1_run.c: Move to...
+ * g++.dg/other/sve_vcond_1_run.C: ... Here. Change include file name.
+
2018-04-20 H.J. Lu <hongjiu.lu@intel.com>
PR target/85469
-/* { dg-do assemble { target aarch64_asm_sve_ok } } */
-/* { dg-options "-O -msve-vector-bits=256 --save-temps" } */
+/* { dg-do assemble { target { aarch64_asm_sve_ok && { ! ilp32 } } } } */
+/* { dg-options "-march=armv8.2-a+sve -O -msve-vector-bits=256 --save-temps" } */
typedef __INT8_TYPE__ vnx16qi __attribute__((vector_size(32)));
typedef __INT16_TYPE__ vnx8hi __attribute__((vector_size(32)));
/* { dg-options "-O" } */
/* { dg-options "-O -msve-vector-bits=256" { target aarch64_sve256_hw } } */
-#include "vcond_1.c"
+#include "sve_vcond_1.c"
#define NUM_ELEMS(X) (sizeof (X) / sizeof (X[0]))