On Wed, Jan 6, 2016 at 1:34 PM, Bill Schmidt
<wschm...@linux.vnet.ibm.com> wrote:
> Hi,
>
> I previously added POWER9 support for lxvx and stxvx to replace the
> load-swap and swap-store patterns for POWER8.  However, I missed the
> fact that we have different patterns for loads and stores of 128-bit
> floats and other scalars.  This patch expands the previous POWER9
> override to catch these cases, and disables those other patterns when P9
> vector support is available.
>
> Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no
> regressions.  Ok for trunk?
>
> Thanks,
> Bill
>
>
> [gcc]
>
> 2015-01-06  Bill Schmidt  <wschm...@linux.vnet.ibm.com>
>
>         * config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M
>         mode iterator with VSX_M2.
>         (*p9_vecstore_<mode>): Likewise.
>         (*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR.
>         (*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise.
>         (*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise.
>         (define_split for VSX_LE128 stores): Likewise.
>         (define_peephole2 for TImode LE swaps): Likewise.
>         (define_split for VSX_LE128 post-reload stores): Likewise.
>
> [gcc/testsuite]
>
> 2015-01-06  Bill Schmidt  <wschm...@linux.vnet.ibm.com>
>
>         * gcc.target/powerpc/p9-lxvx-stxvx-3.c: New test.

Okay.

Thanks, David

Reply via email to