rs6000.c (rs6000_gimple_fold_builtin): Add handling for early expansion of vector...
authorWill Schmidt <will_schmidt@vnet.ibm.com>
Mon, 19 Dec 2016 18:58:19 +0000 (18:58 +0000)
committerWill Schmidt <willschm@gcc.gnu.org>
Mon, 19 Dec 2016 18:58:19 +0000 (18:58 +0000)
commit3b35c54a602e2c0a9dd89c9bc6bcd8607fe0baf6
treec0f46eabbb26b8cb03bbda0ff8c83ae5c7d88872
parent0d3dd8fb65050363f1f82b5f048799fd9a0a0f5a
rs6000.c (rs6000_gimple_fold_builtin): Add handling for early expansion of vector subtract builtins.

2016-12-19  Will Schmidt  <will_schmidt@vnet.ibm.com>

        * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add handling for
        early expansion of vector subtract builtins.

[gcc/testsuite]

2016-12-19  Will Schmidt  <will_schmidt@vnet.ibm.com>

      * gcc.target/powerpc/fold-vec-sub-char.c: New.
      * gcc.target/powerpc/fold-vec-sub-float.c: New.
      * gcc.target/powerpc/fold-vec-sub-floatdouble.c: New.
      * gcc.target/powerpc/fold-vec-sub-int.c: New.
      * gcc.target/powerpc/fold-vec-sub-int128.c: New.
      * gcc.target/powerpc/fold-vec-sub-longlong.c: New.
      * gcc.target/powerpc/fold-vec-sub-short.c: New.

From-SVN: r243806
ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/fold-vec-sub-char.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-sub-float.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-sub-floatdouble.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-sub-int.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-sub-int128.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-sub-longlong.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-sub-short.c [new file with mode: 0644]