--- trunk/xvidcore/src/image/x86_asm/interpolate8x8_3dne.asm 2008/08/19 09:06:48 1790 +++ trunk/xvidcore/src/image/x86_asm/interpolate8x8_3dne.asm 2008/11/11 20:46:24 1793 @@ -31,15 +31,19 @@ %ifdef MARK_FUNCS global _%1:function %1.endfunc-%1 %define %1 _%1:function %1.endfunc-%1 + %define ENDFUNC .endfunc %else global _%1 %define %1 _%1 + %define ENDFUNC %endif %else %ifdef MARK_FUNCS global %1:function %1.endfunc-%1 + %define ENDFUNC .endfunc %else global %1 + %define ENDFUNC %endif %endif %endmacro @@ -152,7 +156,7 @@ COPY_H_SSE_RND0 1 ret -.rounding1 +.rounding1: ; we use: (i+j)/2 = ( i+j+1 )/2 - (i^j)&1 mov ecx, [esp+ 4] ; Dst movq mm7, [mmx_one] @@ -164,7 +168,7 @@ lea ecx,[ecx+2*edx] COPY_H_SSE_RND1 ret -.endfunc +ENDFUNC ;----------------------------------------------------------------------------- ; @@ -224,7 +228,7 @@ ret ALIGN 8 -.rounding1 +.rounding1: pcmpeqb mm0, mm0 psubusb mm0, [eax] add eax, edx @@ -288,7 +292,7 @@ movq [ecx], mm4 movq [ecx+edx], mm5 ret -.endfunc +ENDFUNC ;----------------------------------------------------------------------------- ; @@ -411,7 +415,7 @@ ret ALIGN 16 -.rounding1 +.rounding1: COPY_HV_SSE_RND1 lea ecx,[ecx+2*edx] COPY_HV_SSE_RND1 @@ -420,7 +424,7 @@ lea ecx,[ecx+2*edx] COPY_HV_SSE_RND1 ret -.endfunc +ENDFUNC ;----------------------------------------------------------------------------- ; @@ -446,7 +450,7 @@ COPY_H_SSE_RND0 1 ret -.rounding1 +.rounding1: ; we use: (i+j)/2 = ( i+j+1 )/2 - (i^j)&1 mov ecx, [esp+ 4] ; Dst movq mm7, [mmx_one] @@ -454,7 +458,7 @@ lea ecx, [ecx+2*edx] COPY_H_SSE_RND1 ret -.endfunc +ENDFUNC ;----------------------------------------------------------------------------- ; @@ -501,7 +505,7 @@ ret ALIGN 8 -.rounding1 +.rounding1: pcmpeqb mm0, mm0 psubusb mm0, [eax] ; eax==line0 add eax, edx ; eax==line1 @@ -543,7 +547,7 @@ ret -.endfunc +ENDFUNC ;----------------------------------------------------------------------------- ; @@ -578,12 +582,12 @@ ret ALIGN 16 -.rounding1 +.rounding1: COPY_HV_SSE_RND1 lea ecx,[ecx+2*edx] COPY_HV_SSE_RND1 ret -.endfunc +ENDFUNC %ifidn __OUTPUT_FORMAT__,elf