rs6000.c (rs6000_gimple_fold_builtin): Add handling for early expansion of vector...
authorWill Schmidt <will_schmidt@vnet.ibm.com>
Fri, 12 May 2017 15:40:04 +0000 (15:40 +0000)
committerWill Schmidt <willschm@gcc.gnu.org>
Fri, 12 May 2017 15:40:04 +0000 (15:40 +0000)
commit302a0e37cfa7255c3049ec97996a050e7ade3407
tree5fd4b86f7df4bd780cb77771961051901555c33c
parenta7785078b5edd903bf07686b3cdbc3c75a9bf58e
rs6000.c (rs6000_gimple_fold_builtin): Add handling for early expansion of vector divide builtins.

[gcc]

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

* config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add handling for
early expansion of vector divide builtins.
(builtin_function_type): Add VSX_BUILTIN_UDIV_V2DI to the list of
builtins identified as having unsigned arguments.

[gcc/testsuite]

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

* gcc.target/powerpc/fold-vec-div-float.c: New.
* gcc.target/powerpc/fold-vec-div-floatdouble.c: New.
* gcc.target/powerpc/fold-vec-div-longlong.c: New.

From-SVN: r247977
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/fold-vec-div-float.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-div-floatdouble.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-div-longlong.c [new file with mode: 0644]