[x264-devel] [PATCH 1/2] ppc: Fix compilation when vsx not available

Luca Barbato lu_zero at gentoo.org
Thu Aug 15 10:46:23 CEST 2019


On 15/08/2019 06:58, Michail Alvanos wrote:
> ---
>   common/ppc/ppccommon.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/common/ppc/ppccommon.h b/common/ppc/ppccommon.h
> index 3d1b685f..4b889482 100644
> --- a/common/ppc/ppccommon.h
> +++ b/common/ppc/ppccommon.h
> @@ -150,7 +150,7 @@ typedef union {
>    **********************************************************************/
>   #ifndef __POWER9_VECTOR__
>   #define VEC_STORE8( v, p ) \
> -    vec_vsx_st( vec_xxpermdi( v, vec_vsx_ld( 0, p ), 1 ), 0, p )
> +    vec_vsx_st( xxpermdi( v, vec_vsx_ld( 0, p ), 1 ), 0, p )
>   #else
>   #define VEC_STORE8( v, p ) vec_xst_len( v, p, 8 )
>   #endif
> 

Both patches are fine.


More information about the x264-devel mailing list