vector.md (vec_shr_<mode>): Fix to do a shift instead of a rotate.
authorPat Haugen <pthaugen@us.ibm.com>
Thu, 27 Aug 2015 18:20:45 +0000 (18:20 +0000)
committerPat Haugen <pthaugen@gcc.gnu.org>
Thu, 27 Aug 2015 18:20:45 +0000 (18:20 +0000)
commit2b6fb4aa47e25c530ee97c4354896443403da585
treeb2cec59ef3a583ee196b3de9541aa025bd9713c7
parentb7e36a33eb4b756440b9a93f812414a42800f38b
vector.md (vec_shr_<mode>): Fix to do a shift instead of a rotate.

* config/rs6000/vector.md (vec_shr_<mode>): Fix to do a shift
instead of a rotate.

* gcc.target/powerpc/vec-shr.c: New.

From-SVN: r227270
gcc/ChangeLog
gcc/config/rs6000/vector.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/vec-shr.c [new file with mode: 0644]