[rs6000] Fix _mm_extract_pi16 for big-endian
authorPaul A. Clarke <pc@us.ibm.com>
Fri, 26 Oct 2018 15:01:22 +0000 (15:01 +0000)
committerPaul Clarke <pc@gcc.gnu.org>
Fri, 26 Oct 2018 15:01:22 +0000 (15:01 +0000)
commit4fa008a718f06108a3ddc06200c7947e0212075c
treeece8a126d76ef73149ad7f3d2cd35635d4810707
parent4bfcf87914b412f8fa56cd46f7c3081365b7e647
[rs6000] Fix _mm_extract_pi16 for big-endian

For compatibility implementation of x86 vector intrinsic, _mm_extract_pi16,
adjust shift value for big-endian mode.

gcc/ChangeLog:

2018-10-25  Paul A. Clarke  <pc@us.ibm.com>

* config/rs6000/xmmintrin.h (_mm_extract_pi16): Fix for big-endian.

From-SVN: r265531
gcc/ChangeLog
gcc/config/rs6000/xmmintrin.h