[gcc]
commit809c04ad07e3da76d747d1dab50c74386359c983
authorwillschm <willschm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 May 2017 15:40:04 +0000 (12 15:40 +0000)
committerwillschm <willschm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 May 2017 15:40:04 +0000 (12 15:40 +0000)
tree5fd4b86f7df4bd780cb77771961051901555c33c
parent14b20aa1c320cd6423722708f2a159ed694d5ac9
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247977 138bc75d-0d04-0410-961f-82ee72b054a4
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]