On Wed, Oct 24, 2018 at 07:55:44PM -0500, Bill Schmidt wrote:
> The intrinsic compatibility headers make use of some deprecated functions for
> vector shifts, which are not available in some compilers.  For compatibility
> reasons, this patch, replaces those with intrinsics guaranteed to be portable.
> 
> Bootstrapped and tested on powerpc64le-linux-gnu with no regressions.
> Is this okay for trunk?

This is fine.  Thanks!


Segher


> 2018-10-24  Bill Schmidt  <wschm...@linux.ibm.com>
>           Jinsong Ji <j...@us.ibm.com>
> 
>       * config/rs6000/emmintrin.h (_mm_slli_epi16): Replace deprecated
>       function with vec_sl.
>       (_mm_slli_epi32): Likewise.
>       (_mm_slli_epi64): Likewise.
>       (_mm_srai_epi16): Replace deprecated function with vec_sra.
>       (_mm_srai_epi32): Likewise.
>       (_mm_srli_epi16): Replace deprecated function with vec_sr.
>       (_mm_srli_epi32): Likewise.
>       (_mm_srli_epi64): Likewise.
>       (_mm_sll_epi16): Replace deprecated function with vec_sl.
>       (_mm_sll_epi32): Likewise.
>       (_mm_sll_epi64): Likewise.
>       (_mm_sra_epi16): Replace deprecated function with vec_sra.
>       (_mm_sra_epi32): Likewise.
>       (_mm_srl_epi16): Replace deprecated function with vec_sr.
>       (_mm_srl_epi32): Likewise.
>       (_mm_srl_epi64): Likewise.

Reply via email to