rs6000: support vector int type rotatert
authorKewen Lin <linkw@gcc.gnu.org>
Wed, 7 Aug 2019 07:11:14 +0000 (07:11 +0000)
committerKewen Lin <linkw@gcc.gnu.org>
Wed, 7 Aug 2019 07:11:14 +0000 (07:11 +0000)
commit4e708f5ebd82ce7e63d7f6ba43fde3b921c0fe53
treec8475ab1dab59c37a113f6b6f90c5a3edc834eb2
parentb69e0fabc2f58fe29dea74ff87f85a9b9a51bc02
rs6000: support vector int type rotatert

gcc/ChangeLog

2019-08-07  Kewen Lin  <linkw@gcc.gnu.org>

    * config/rs6000/vector.md (vrotr<mode>3): New define_expand.

gcc/testsuite/ChangeLog

2019-08-07  Kewen Lin  <linkw@gcc.gnu.org>

    * gcc.target/powerpc/vec_rotate-1.c: New test.
    * gcc.target/powerpc/vec_rotate-2.c: New test.
    * gcc.target/powerpc/vec_rotate-3.c: New test.
    * gcc.target/powerpc/vec_rotate-4.c: New test.

From-SVN: r274158
gcc/ChangeLog
gcc/config/rs6000/vector.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/vec_rotate-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/vec_rotate-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/vec_rotate-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/vec_rotate-4.c [new file with mode: 0644]