diff options
author | Victorien Le Couviour--Tuffet <victorien@videolan.org> | 2022-01-18 16:46:31 +0300 |
---|---|---|
committer | Victorien Le Couviour--Tuffet <victorien@videolan.org> | 2022-01-24 17:37:16 +0300 |
commit | 4a52aa4790a57b01ab40831ffb5eb6a53cb8a0f0 (patch) | |
tree | 9106b1d1c3c0dddb845b075f45313e70c4193093 /tests | |
parent | 1cdde64f8297728846d164beaf2f6a74bd7ca20f (diff) |
x86: Add mc.resize AVX-512 (Ice Lake) asm
resize_8bpc_c: 542599.0
resize_8bpc_ssse3: 87635.4
resize_8bpc_avx2: 67401.1
resize_8bpc_avx512icl: 50263.6
resize_16bpc_c: 573438.9
resize_16bpc_ssse3: 121505.2
resize_16bpc_avx2: 83293.4
resize_16bpc_avx512icl: 77974.8
Diffstat (limited to 'tests')
-rw-r--r-- | tests/checkasm/mc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/checkasm/mc.c b/tests/checkasm/mc.c index f922fa8..c8f2dc5 100644 --- a/tests/checkasm/mc.c +++ b/tests/checkasm/mc.c @@ -721,7 +721,7 @@ static int get_upscale_x0(const int in_w, const int out_w, const int step) { static void check_resize(Dav1dMCDSPContext *const c) { PIXEL_RECT(c_dst, 1024, 64); PIXEL_RECT(a_dst, 1024, 64); - ALIGN_STK_64(pixel, src, 512 * 64,); + ALIGN_STK_64(pixel, src, 512 * 64,); const int height = 64; const int max_src_width = 512; @@ -759,7 +759,7 @@ static void check_resize(Dav1dMCDSPContext *const c) { call_new(a_dst, a_dst_stride, src, src_stride, dst_w, height, src_w, dx, mx0 HIGHBD_TAIL_SUFFIX); checkasm_check_pixel_padded_align(c_dst, c_dst_stride, a_dst, a_dst_stride, - dst_w, height, "dst", 8, 1); + dst_w, height, "dst", 16, 1); bench_new(a_dst, a_dst_stride, src, src_stride, 512, height, 512 * 8 / w_den, dx, mx0 HIGHBD_TAIL_SUFFIX); |