This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Enable -mcpu=power8 for PowerPC


On Mon, Nov 5, 2012 at 11:54 PM, Peter Bergner <bergner@vnet.ibm.com> wrote:
> This patch enables new -mcpu and -mtune options for POWER8.  The -mcpu=power8
> option currently is just an alias for power7.  The affect of these options
> will be expanded when more technical details are released by IBM.
>
> Bootstrapped and regtested on powerpc64-linux.  Ok for mainline or should
> we wait to commit this after stage1 (since Jakub said it was ok in another
> thread) when we commit our base power8 patches?
>
> Peter
>
>
>         * doc/invoke.texi (-mcpu=power8): Document.
>         * config.in (HAVE_AS_POWER8): New.
>         * config.gcc: Add cpu_type power8.
>         * configure.ac: (HAVE_AS_POWER8): Check for assembler support for the
>         POWER8 instructions.
>         * configure: Regenerate.
>         * config/rs6000/rs6000.h: (ASM_CPU_POWER8_SPEC): Define.
>         (ASM_CPU_SPEC): Pass %(asm_cpu_power8) for -mcpu=power8.
>         (EXTRA_SPECS): Add asm_cpu_power8 spec string.
>         * config/rs6000/rs6000-cpus.def (processor_target_table): Alias
>         POWER8 to POWER7.
>         * config/rs6000/driver-rs6000.c (ASM_CPU_SPEC): For -mcpu=power8,
>         pass %(asm_cpu_power8)/-mpwr8.
>         * config/rs6000/aix53.h: Likewise.
>         * config/rs6000/aix61.h: Likewise.

This patch is okay.

Thanks, David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]