Re: [PATCH 3/4] S390 -march=native related fixes

2015-07-23 Thread Ulrich Weigand
Dominik Vogt wrote: > > gcc/ChangeLog > > * config/s390/driver-native.c (s390_host_detect_local_cpu): Handle > processor capabilities with -march=native. > * config/s390/s390.h (MARCH_MTUNE_NATIVE_SPECS): Likewise. > (DRIVER_SELF_SPECS): Likewise. Join specs for 31 and 6

Re: [PATCH 3/4] S390 -march=native related fixes

2015-07-22 Thread Dominik Vogt
On Tue, Jul 21, 2015 at 07:05:27PM +0200, Ulrich Weigand wrote: > Dominik Vogt wrote: > > * config/s390/driver-native.c (s390_host_detect_local_cpu): Handle > > processor capabilities with -march=native. > > * config/s390/s390.h (MARCH_MTUNE_NATIVE_SPECS): Likewise. > > (DRIVER_SELF

Re: [PATCH 3/4] S390 -march=native related fixes

2015-07-21 Thread Ulrich Weigand
Dominik Vogt wrote: > * config/s390/driver-native.c (s390_host_detect_local_cpu): Handle > processor capabilities with -march=native. > * config/s390/s390.h (MARCH_MTUNE_NATIVE_SPECS): Likewise. > (DRIVER_SELF_SPECS): Likewise. Join specs for 31 and 64 bit. > * (S390

Re: [PATCH 3/4] S390 -march=native related fixes

2015-07-21 Thread Dominik Vogt
On Tue, Jul 21, 2015 at 01:14:44PM +0200, Ulrich Weigand wrote: > Dominik Vogt wrote: > This version is looking good, except for one problem: > > > - "%{!m31:%{!m64:-m64}}", \ > > - "%{!mesa:%{!mzarch:%{m31:-mesa}%{m64:-mzarch}}}",\ > > - "%{!mar

Re: [PATCH 3/4] S390 -march=native related fixes

2015-07-21 Thread Ulrich Weigand
Dominik Vogt wrote: > * config/s390/driver-native.c (s390_host_detect_local_cpu): Handle > processor capabilities with -march=native. > * config/s390/s390.h (MARCH_MTUNE_NATIVE_SPECS): Likewise. > (DRIVER_SELF_SPECS): Likewise. Join specs for 31 and 64 bit. > * (S390

Re: [PATCH 3/4] S390 -march=native related fixes

2015-07-20 Thread Dominik Vogt
On Sat, Jul 18, 2015 at 01:09:26AM +0200, Ulrich Weigand wrote: > Dominik Vogt wrote: > > > + opt_esa_zarch = (has_highgprs) ? " -mzarch" : " -mesa"; > > This will force -mesa on old machines *even in -m64 mode*, > which is wrong and will cause compilation to fail. > > > > -/* Defaulting r

Re: [PATCH 3/4] S390 -march=native related fixes

2015-07-17 Thread Ulrich Weigand
Dominik Vogt wrote: > + opt_esa_zarch = (has_highgprs) ? " -mzarch" : " -mesa"; This will force -mesa on old machines *even in -m64 mode*, which is wrong and will cause compilation to fail. > -/* Defaulting rules. */ > #ifdef DEFAULT_TARGET_64BIT > -#define DRIVER_SELF_SPECS

Re: [PATCH 3/4] S390 -march=native related fixes

2015-07-17 Thread Dominik Vogt
> > The following series of patches contains fixes, and cleanup work > > related to -march=native (and -mtune=native) for S390. > > > > * 0003 -march=native now detects various cpu features and passes > >that as options from the driver to the compiler. Sorry, some old code sneaked into th

[PATCH 3/4] S390 -march=native related fixes

2015-07-17 Thread Dominik Vogt
On Fri, Jul 17, 2015 at 05:00:50PM +0100, Dominik Vogt wrote: > The following series of patches contains fixes, and cleanup work > related to -march=native (and -mtune=native) for S390. > > * 0003 -march=native now detects various cpu features and passes >that as options from the driver to