[FFmpeg-devel] [PATCH v2 2/3] avcodec/x86/diracdsp: migrate last remaining MMX function to SSE2
Ronald S. Bultje
rsbultje at gmail.com
Thu Nov 14 14:42:12 EET 2024
Hi,
On Wed, Nov 13, 2024 at 5:44 PM Kyosuke Kawakami <kawakami150708 at gmail.com>
wrote:
> The add_dirac_obmc8_mmx function was the only MMX function left. This
> patch migrates it to SSE2.
>
> Here is checkasm benchmark results:
>
> diracdsp.add_dirac_obmc_8_c: 2299.1 ( 1.00x)
> diracdsp.add_dirac_obmc_8_mmx: 237.6 ( 9.68x)
> diracdsp.add_dirac_obmc_8_sse2: 109.1 (21.07x)
>
> Signed-off-by: Kyosuke Kawakami <kawakami150708 at gmail.com>
> ---
> libavcodec/x86/diracdsp.asm | 23 +++++++++++++++++++----
> libavcodec/x86/diracdsp_init.c | 10 +++-------
> 2 files changed, 22 insertions(+), 11 deletions(-)
>
LGTM, thanks.
Ronald
More information about the ffmpeg-devel
mailing list