Re: [FFmpeg-devel] [PATCH] x86/aacencdsp: add SSE2 and AVX versions of quantize_bands

2024-06-04 Thread James Almer
On 6/4/2024 3:37 AM, Rémi Denis-Courmont wrote: Le 4 juin 2024 04:23:43 GMT+03:00, James Almer a écrit : quant_bands_signed_sse2: 417.0 quant_bands_signed_avx: 202.0 What about unsigned? Pretty much the same. Will add them before pushing. ___ ff

Re: [FFmpeg-devel] [PATCH] x86/aacencdsp: add SSE2 and AVX versions of quantize_bands

2024-06-03 Thread Rémi Denis-Courmont
Le 4 juin 2024 04:23:43 GMT+03:00, James Almer a écrit : >quant_bands_signed_sse2: 417.0 >quant_bands_signed_avx: 202.0 What about unsigned? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To uns

Re: [FFmpeg-devel] [PATCH] x86/aacencdsp: add SSE2 and AVX versions of quantize_bands

2024-06-03 Thread James Almer
On 6/3/2024 10:42 PM, Andreas Rheinhardt wrote: James Almer: quant_bands_signed_sse2: 417.0 quant_bands_signed_avx: 202.0 Missing benchmark numbers for the C code About 1670. And it doesn't matter as I'm only adding the AVX version (The subject is wrong, copy-paste fail), so i mentioned the

Re: [FFmpeg-devel] [PATCH] x86/aacencdsp: add SSE2 and AVX versions of quantize_bands

2024-06-03 Thread Andreas Rheinhardt
James Almer: > quant_bands_signed_sse2: 417.0 > quant_bands_signed_avx: 202.0 Missing benchmark numbers for the C code > > Signed-off-by: James Almer > --- > libavcodec/aacenc.h | 2 +- > libavcodec/x86/aacencdsp.asm| 27 --- > libavcodec/x86/aacencdsp_

[FFmpeg-devel] [PATCH] x86/aacencdsp: add SSE2 and AVX versions of quantize_bands

2024-06-03 Thread James Almer
quant_bands_signed_sse2: 417.0 quant_bands_signed_avx: 202.0 Signed-off-by: James Almer --- libavcodec/aacenc.h | 2 +- libavcodec/x86/aacencdsp.asm| 27 --- libavcodec/x86/aacencdsp_init.c | 6 ++ tests/checkasm/aacencdsp.c | 4 ++-- 4 files c