From bd2bcf97fa811623441c4e13dfa55e9534220ddc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 1 Nov 2011 21:56:27 +0100 Subject: [PATCH] dirac: drop unused END_HORIZONTAL Signed-off-by: Michael Niedermayer --- libavcodec/x86/dwt_yasm.asm | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/libavcodec/x86/dwt_yasm.asm b/libavcodec/x86/dwt_yasm.asm index b8dccb86f7..71e7a79b66 100644 --- a/libavcodec/x86/dwt_yasm.asm +++ b/libavcodec/x86/dwt_yasm.asm @@ -162,23 +162,6 @@ cglobal vertical_compose_haar_%1, 3,4,3, b0, b1, width %endrep %endmacro -; On x86-64 this does a tail call to the C function to do the final bit -; x86-32 doesn't because isn't enough stack space for the additional argument x -%macro END_HORIZONTAL 1 - shr wd, 1 -%ifdef ARCH_X86_64 - RET ;This RET was a CLEANUP call - jmp %1 -%else - push xd - push wd - push tmpd - push bd - call %1 - add esp, 16 - RET -%endif -%endmacro %macro HAAR_HORIZONTAL 2 ; void horizontal_compose_haari(IDWTELEM *b, IDWTELEM *tmp, int width)