Re: [PATCH] S/390: Run md tests with -march=native instead of -march=z13.

2016-12-19 Thread Dominik Vogt
On Tue, Dec 13, 2016 at 11:42:40AM +0100, Jakub Jelinek wrote: > On Tue, Dec 13, 2016 at 11:18:31AM +0100, Dominik Vogt wrote: > > > IMHO you want something like x86 avx_runtime effective target > > > (z13_runtime?), which would stand for running on z13 capable hw and > > > with z13 assembler suppo

Re: [PATCH] S/390: Run md tests with -march=native instead of -march=z13.

2016-12-13 Thread Jakub Jelinek
On Tue, Dec 13, 2016 at 11:18:31AM +0100, Dominik Vogt wrote: > > IMHO you want something like x86 avx_runtime effective target > > (z13_runtime?), which would stand for running on z13 capable hw and > > with z13 assembler support. > > Something like that, yes, but it's not so easy because the ker

Re: [PATCH] S/390: Run md tests with -march=native instead of -march=z13.

2016-12-13 Thread Dominik Vogt
On Tue, Dec 13, 2016 at 10:42:37AM +0100, Jakub Jelinek wrote: > On Tue, Dec 13, 2016 at 10:28:29AM +0100, Dominik Vogt wrote: > > The attached patch fixes an md test execution problem on S/390. > > The tests would be built with -march=z13 but executed even on > > older machines. Build with -march

Re: [PATCH] S/390: Run md tests with -march=native instead of -march=z13.

2016-12-13 Thread Jakub Jelinek
On Tue, Dec 13, 2016 at 10:28:29AM +0100, Dominik Vogt wrote: > The attached patch fixes an md test execution problem on S/390. > The tests would be built with -march=z13 but executed even on > older machines. Build with -march=native instead, so executing > the tests should work on any machine ge

[PATCH] S/390: Run md tests with -march=native instead of -march=z13.

2016-12-13 Thread Dominik Vogt
016 10:21:08 +0100 Subject: [PATCH] S/390: Run md tests with -march=native instead of -march=z13. Otherwise the tests are built and _run_ with -march=z13 on machines prior to z13, possibly causing failures due to illegal instructions. --- gcc/testsuite/gcc.target/s390/s390.exp | 10 +-