This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v2] Run tests only if the machine supports the instruction set.
- From: Jakub Jelinek <jakub at redhat dot com>
- To: vogt at linux dot vnet dot ibm dot com, gcc-patches at gcc dot gnu dot org, Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- Date: Mon, 19 Dec 2016 18:00:21 +0100
- Subject: Re: [PATCH v2] Run tests only if the machine supports the instruction set.
- Authentication-results: sourceware.org; auth=none
- References: <20161219142806.GA23636@linux.vnet.ibm.com> <20161219165040.GA15966@linux.vnet.ibm.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Dec 19, 2016 at 05:50:40PM +0100, Dominik Vogt wrote:
> * config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Define
> __S390_ARCH_LEVEL__.
> gcc/testsuite/ChangeLog-setmem
>
> * gcc.target/s390/md/setmem_long-1.c: Use "runnable".
> * gcc.target/s390/md/rXsbg_mode_sXl.c: Likewise.
> * gcc.target/s390/md/andc-splitter-1.c: Likewise.
> * gcc.target/s390/md/andc-splitter-2.c: Likewise.
> * lib/gcc-dg.exp (gcc-dg-runtest): Export torture_current_flags.
> * gcc.target/s390/s390.exp: Import torture_current_flags.
> (check_effective_target_runnable): New.
Unless you want to add support for all targets in the runnable
effective target, I think it would be better to call it less generically,
s390_runnable or similar.
Jakub