Re: [RFC] POWER8 default for PPC64LE

2015-01-26 Thread David Edelsohn
On Mon, Jan 26, 2015 at 4:46 AM, Jakub Jelinek ja...@redhat.com wrote: On Sat, Jan 17, 2015 at 09:18:14PM -0500, David Edelsohn wrote: Thanks, David * config/rs6000/default64.h: Include rs6000-cpus.def. (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8). *

Re: [RFC] POWER8 default for PPC64LE

2015-01-26 Thread Jakub Jelinek
On Sat, Jan 17, 2015 at 09:18:14PM -0500, David Edelsohn wrote: Thanks, David * config/rs6000/default64.h: Include rs6000-cpus.def. (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8). * config/rs6000/driver-rs6000.c (detect_processor_aix): Add POWER7. *

Re: [RFC] POWER8 default for PPC64LE

2015-01-21 Thread David Edelsohn
On Wed, Jan 21, 2015 at 6:22 AM, Andreas Schwab sch...@suse.de wrote: David Edelsohn dje@gmail.com writes: Index: gcc/config/rs6000/rs6000.c === --- gcc/config/rs6000/rs6000.c(revision 219747) +++

Re: [RFC] POWER8 default for PPC64LE

2015-01-21 Thread Andreas Schwab
David Edelsohn dje@gmail.com writes: Index: gcc/config/rs6000/rs6000.c === --- gcc/config/rs6000/rs6000.c(revision 219747) +++ gcc/config/rs6000/rs6000.c(working copy) @@ -5072,6 +5072,28 @@ rs6000_file_start

Re: [RFC] POWER8 default for PPC64LE

2015-01-18 Thread Alan Modra
On Sat, Jan 17, 2015 at 09:18:14PM -0500, David Edelsohn wrote: Supporting this turned out to be more involved. --with-cpu implicitly adds -mcpu to all specs, which invokes the assembler with the correct option. Directly setting TARGET_DEFAULT does not adjust the assembler invocation. Since

Re: [RFC] POWER8 default for PPC64LE

2015-01-17 Thread David Edelsohn
Supporting this turned out to be more involved. --with-cpu implicitly adds -mcpu to all specs, which invokes the assembler with the correct option. Directly setting TARGET_DEFAULT does not adjust the assembler invocation. This patch adds support to rs6000_file_start to emit the .machine

Re: [RFC] POWER8 default for PPC64LE

2015-01-16 Thread Bill Schmidt
Hi David, Something's not quite right here -- we've been having bootstrap failures with BE and LE PPC64 Linux. Maybe a missing include? g++ -c -g -DIN_GCC-fno-exceptions -fno-rtti -fasynchronous-unwind-tables - W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format

Re: [RFC] POWER8 default for PPC64LE

2015-01-16 Thread Bill Schmidt
On Fri, 2015-01-16 at 09:52 -0600, Bill Schmidt wrote: Hi David, Something's not quite right here -- we've been having bootstrap failures with BE and LE PPC64 Linux. Maybe a missing include? Correction, just on LE. The issue on BE was a different failure. g++ -c -g -DIN_GCC

Re: [RFC] POWER8 default for PPC64LE

2015-01-15 Thread Peter Bergner
On Wed, 2015-01-14 at 13:36 -0700, Jeff Law wrote: On 01/14/15 13:32, David Edelsohn wrote: The PPC64LE ABI specifies POWER8 ISA as the minimum hardware requierment. Currently, Linux distributions are building the toolchain using --with-cpu=power7 or power8, as they wish. GCC defaults

[RFC] POWER8 default for PPC64LE

2015-01-14 Thread David Edelsohn
The PPC64LE ABI specifies POWER8 ISA as the minimum hardware requierment. Currently, Linux distributions are building the toolchain using --with-cpu=power7 or power8, as they wish. GCC defaults to essentially the POWER4 ISA. The appended patch changes the default for PPC64LE to POWER8 (ISA

Re: [RFC] POWER8 default for PPC64LE

2015-01-14 Thread Jeff Law
On 01/14/15 13:32, David Edelsohn wrote: The PPC64LE ABI specifies POWER8 ISA as the minimum hardware requierment. Currently, Linux distributions are building the toolchain using --with-cpu=power7 or power8, as they wish. GCC defaults to essentially the POWER4 ISA. The appended patch changes