Re: [PATCH] rs6000: Set rs6000_cpu correctly (PR43871)

2017-12-02 Thread Segher Boessenkool
On Sat, Dec 02, 2017 at 05:41:20PM -0500, David Edelsohn wrote: > On Sat, Dec 2, 2017 at 1:56 PM, Andreas Schwab wrote: > > configured by ../configure, generated by GNU Autoconf 2.64, > > with options " '--prefix=/usr' '--build=powerpc64-suse-linux' > > '--enable-checking=release' '--enable-sha

Re: [PATCH] rs6000: Set rs6000_cpu correctly (PR43871)

2017-12-02 Thread David Edelsohn
On Sat, Dec 2, 2017 at 1:56 PM, Andreas Schwab wrote: > configured by ../configure, generated by GNU Autoconf 2.64, > with options " '--prefix=/usr' '--build=powerpc64-suse-linux' > '--enable-checking=release' '--enable-shared' 'CFLAGS=-O2 -g' 'CXXFLAGS=-O2 > -g' '--with-cpu-64=power4' '--enab

Re: [PATCH] rs6000: Set rs6000_cpu correctly (PR43871)

2017-12-02 Thread Andreas Schwab
configured by ../configure, generated by GNU Autoconf 2.64, with options " '--prefix=/usr' '--build=powerpc64-suse-linux' '--enable-checking=release' '--enable-shared' 'CFLAGS=-O2 -g' 'CXXFLAGS=-O2 -g' '--with-cpu-64=power4' '--enable-secureplt' '--with-long-double-128' '--with-system-zlib' '-

[PATCH] rs6000: Set rs6000_cpu correctly (PR43871)

2017-11-30 Thread Segher Boessenkool
We set rs6000_cpu based on tune_index, but it should be cpu_index. This patch fixes it. Tested on powerpc64-linux {-m32,-m64}. I'll commit this later today, and schedule backports for next week. Unless it is all terribly wrong and someone complains :-) Segher 2017-11-30 Segher Boessenkool