X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fx86%2Fflacdsp.asm;h=713861152671e40131c5bd71d8fa0fe0b2d53d5c;hb=427598a2f423eb3374ab4c33777c77de2290a324;hp=901c440ccdf5621a73d633ef3b223507e9e66d97;hpb=7a0e085ec5fe19eaa38f1a39bb0b8842fe548c89;p=ffmpeg diff --git a/libavcodec/x86/flacdsp.asm b/libavcodec/x86/flacdsp.asm index 901c440ccdf..71386115267 100644 --- a/libavcodec/x86/flacdsp.asm +++ b/libavcodec/x86/flacdsp.asm @@ -25,6 +25,15 @@ SECTION .text +%macro PMACSDQL 5 +%if cpuflag(xop) + pmacsdql %1, %2, %3, %1 +%else + pmuldq %2, %3 + paddq %1, %2 +%endif +%endmacro + %macro LPC_32 1 INIT_XMM %1 cglobal flac_lpc_32, 5,6,5, decoded, coeffs, pred_order, qlevel, len, j