This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How do I run SIMD Testcases on PPC64?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]