On Sun, Nov 8, 2015 at 4:39 PM, Michael Meissner
<meiss...@linux.vnet.ibm.com> wrote:
> This patch adds support for the EXTSWSLI instruction that is being added to
> PowerPC ISA 3.0 (power9).
>
> I have built this patch (along with patches #2 and #3) with a bootstrap build
> on a power8 little endian system.  There were no regressions in the test
> suite.  Is this patch ok to install in the trunk once patch #1 has been
> installed.
>
> [gcc]
> 2015-11-08  Michael Meissner  <meiss...@linux.vnet.ibm.com>
>
>         * config/rs6000/predicates.md (u6bit_cint_operand): New
>         predicate, recognize 0..63.
>
>         * config/rs6000/rs6000.c (rs6000_rtx_costs): Adjust the costs if
>         the EXTSWSLI instruction is generated.
>
>         * config/rs6000/rs6000.h (TARGET_EXTSWSLI): Add support for ISA
>         3.0 EXTSWSLI instruction.
>         * config/rs6000/rs6000.md (ashdi3_extswsli): Likewise.
>         (ashdi3_extswsli_dot): Likewise.
>         (ashdi3_extswsli_dot2): Likewise.
>
> [gcc/testsuite]
> 2015-11-08  Michael Meissner  <meiss...@linux.vnet.ibm.com>
>
>         * gcc.target/powerpc/extswsli-1.c: New file to test EXTSWSLI
>         instruction generation.
>         * gcc.target/powerpc/extswsli-2.c: Likewise.
>         * gcc.target/powerpc/extswsli-3.c: Likewise.

Okay.

Thanks, David

Reply via email to