Discussion:
x86: AVX-512 pixel_satd_x3 and pixel_satd_x4
(too old to reply)
Henrik Gramner
2017-12-25 19:39:37 UTC
Permalink
Raw Message
x264 | branch: master | Henrik Gramner <***@gramner.com> | Thu Aug 17 18:04:13 2017 +0200| [3f9f6554a4cfa4189855756860a61ceb2f2a41a3] | committer: Anton Mitrofanov

x86: AVX-512 pixel_satd_x3 and pixel_satd_x4
http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=3f9f6554a4cfa4189855756860a61ceb2f2a41a3
---

common/pixel.c | 3 +++
1 file changed, 3 insertions(+)

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;

Loading...