This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How do I run SIMD Testcases on PPC64?
- From: GT <tnggil at protonmail dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, Segher Boessenkool <segher at kernel dot crashing dot org>
- Date: Thu, 05 Mar 2020 17:04:16 +0000
- Subject: How do I run SIMD Testcases on PPC64?
- Reply-to: GT <tnggil at protonmail dot com>
I tried the make command below:
make check RUNTESTFLAGS="*.exp=*simd*"
gcc.log did not have any output indicating that it ran
.../gcc/testsuite/gcc.dg/vect/vect-simd-2.c
At the top of that file is dejagnu directive:
/* { dg-require-effective-target vect_int } */
1. How do I check to see if vect_int is defined? I suspect it as the reason
the test isn't run.
2. Multiple other testcases in testsuite/gcc.dg/vect/ have this line at the top:
/* { dg-additional-options "-mavx" { target avx_runtime } } */
An example is vect-simd-16.c
2.1 Should not these testcases be in directory testsuite/gcc.target/i386/ ?
2.2 To run vect-simd-16.c on PPC64, is it enough to put a copy of the file
in testsuite/gcc.target/powerpc/ ? (After modifying target appropriately.)
Thanks.
Bert.