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 Tue, 2012-11-06 at 10:35 -0500, David Edelsohn wrote:
> >         * 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, committed as revision 193307.

Peter



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