]> gcc.gnu.org Git - gcc.git/commit
rs6000: Make _mm_slli_si128 and _mm_bslli_si128 consistent [PR109167]
authorKewen Lin <linkw@linux.ibm.com>
Mon, 27 Mar 2023 02:43:39 +0000 (21:43 -0500)
committerKewen Lin <linkw@linux.ibm.com>
Mon, 27 Mar 2023 02:43:39 +0000 (21:43 -0500)
commit1e20bb6737e1173a0c3ef3e9e48c0eda40985ded
treed5e278338ac766302faf84f23922e599a2120b19
parentf33fc0775706e4db80d584c477608e28f4da0a6f
rs6000: Make _mm_slli_si128 and _mm_bslli_si128 consistent [PR109167]

As PR109167 shows, it's unexpected to have two different
implementation ways for _mm_slli_si128 and _mm_bslli_si128,
as gcc/config/i386/emmintrin.h they should be the same.  So
this patch is to fix it accordingly.

PR target/109167

gcc/ChangeLog:

* config/rs6000/emmintrin.h (_mm_bslli_si128): Move the implementation
from ...
(_mm_slli_si128): ... here.  Change to call _mm_bslli_si128 directly.

gcc/testsuite/ChangeLog:

* gcc.target/powerpc/pr109167.c: New test.
gcc/config/rs6000/emmintrin.h
gcc/testsuite/gcc.target/powerpc/pr109167.c [new file with mode: 0644]
This page took 0.058337 seconds and 5 git commands to generate.