[FFmpeg-devel] [PATCH] x86: move XOP emulation code back to x86inc

Ronald S. Bultje rsbultje at gmail.com
Mon Aug 3 12:27:11 CEST 2015


Hi,

On Mon, Aug 3, 2015 at 2:41 AM, James Almer <jamrial at gmail.com> wrote:

> Only two functions that use xop multiply-accumulate instructions where the
> first operand is the same as the fourth actually took advantage of the
> macros.
>
> This further reduces differences with x264's x86inc.
>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavcodec/x86/flacdsp.asm     |  9 +++++++++
>  libavutil/x86/x86inc.asm       | 16 ++++++++++++++++
>  libavutil/x86/x86util.asm      | 19 -------------------
>  libswresample/x86/resample.asm |  7 ++++++-
>  4 files changed, 31 insertions(+), 20 deletions(-)


OK. (I still think if we ever get more users of the macros, they could move
back to x86util.asm, but not necessary now.)

Ronald


More information about the ffmpeg-devel mailing list