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

Michail Alvanos malvanos at gmail.com
Thu Aug 15 06:58:57 CEST 2019


---
 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
-- 
2.17.1



More information about the x264-devel mailing list