rs6000.c (gimple-fold.h): New #include.
authorWill Schmidt <will_schmidt@vnet.ibm.com>
Fri, 12 May 2017 15:35:17 +0000 (15:35 +0000)
committerWill Schmidt <willschm@gcc.gnu.org>
Fri, 12 May 2017 15:35:17 +0000 (15:35 +0000)
commita7785078b5edd903bf07686b3cdbc3c75a9bf58e
tree3a194f6f00935f35c5a13888aa034df309f6908e
parentedc19e037029e1d98762e893bb668721109652e5
rs6000.c (gimple-fold.h): New #include.

[gcc]

2017-05-10  Will Schmidt  <will_schmidt@vnet.ibm.com>

* config/rs6000/rs6000.c (gimple-fold.h): New #include.
(rs6000_gimple_fold_builtin): Add handling for early GIMPLE
expansion of vector logical operations (and, andc, or, xor,
nor, orc, nand)

[gcc/testsuite]

2017-05-10  Will Schmidt  <will_schmidt@vnet.ibm.com>

* gcc.target/powerpc/fold-vec-logical-ands-char.c: New.
* gcc.target/powerpc/fold-vec-logical-ands-int.c: New.
* gcc.target/powerpc/fold-vec-logical-ands-longlong.c: New.
* gcc.target/powerpc/fold-vec-logical-ands-short.c: New.
* gcc.target/powerpc/fold-vec-logical-ors-char.c: New.
* gcc.target/powerpc/fold-vec-logical-ors-int.c: New.
* gcc.target/powerpc/fold-vec-logical-ors-longlong.c: New.
* gcc.target/powerpc/fold-vec-logical-ors-short.c: New.
* gcc.target/powerpc/fold-vec-logical-other-char.c: New.
* gcc.target/powerpc/fold-vec-logical-other-int.c: New.
* gcc.target/powerpc/fold-vec-logical-other-longlong.c: New.
* gcc.target/powerpc/fold-vec-logical-other-short.c: New.

From-SVN: r247976
15 files changed:
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/fold-vec-logical-ands-char.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-logical-ands-int.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-logical-ands-longlong.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-logical-ands-short.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-logical-ors-char.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-logical-ors-int.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-logical-ors-longlong.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-logical-ors-short.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-char.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-int.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-longlong.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-short.c [new file with mode: 0644]