From: Henrik Gramner Date: Thu, 17 Aug 2017 16:04:13 +0000 (+0200) Subject: x86: AVX-512 pixel_satd_x3 and pixel_satd_x4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f9f6554a4cfa4189855756860a61ceb2f2a41a3;p=libx264 x86: AVX-512 pixel_satd_x3 and pixel_satd_x4 --- diff --git a/common/pixel.c b/common/pixel.c index d668491b..51631045 100644 --- a/common/pixel.c +++ b/common/pixel.c @@ -503,6 +503,7 @@ SATD_X_DECL6( _ssse3_atom ) SATD_X_DECL7( _sse4 ) SATD_X_DECL7( _avx ) SATD_X_DECL7( _xop ) +SATD_X_DECL7( _avx512 ) #endif // !HIGH_BIT_DEPTH #endif @@ -1363,6 +1364,8 @@ void x264_pixel_init( int cpu, x264_pixel_function_t *pixf ) INIT7( sad_x3, _avx512 ); INIT7( sad_x4, _avx512 ); INIT8( satd, _avx512 ); + INIT7( satd_x3, _avx512 ); + INIT7( satd_x4, _avx512 ); pixf->sa8d[PIXEL_8x8] = x264_pixel_sa8d_8x8_avx512; pixf->var[PIXEL_8x8] = x264_pixel_var_8x8_avx512; pixf->var[PIXEL_8x16] = x264_pixel_var_8x16_avx512;