--- trunk/xvidcore/src/motion/x86_asm/sad_mmx.asm 2004/08/29 05:32:29 1539 +++ trunk/xvidcore/src/motion/x86_asm/sad_mmx.asm 2004/08/29 10:02:38 1540 @@ -20,7 +20,7 @@ ; * along with this program; if not, write to the Free Software ; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ; * -; * $Id: sad_mmx.asm,v 1.15 2004-08-22 11:46:10 edgomez Exp $ +; * $Id: sad_mmx.asm,v 1.16 2004-08-29 10:02:38 edgomez Exp $ ; * ; ***************************************************************************/ @@ -29,15 +29,15 @@ %macro cglobal 1 %ifdef PREFIX %ifdef MARK_FUNCS - global _%1:function - %define %1 _%1:function + global _%1:function %1.endfunc-%1 + %define %1 _%1:function %1.endfunc-%1 %else global _%1 %define %1 _%1 %endif %else %ifdef MARK_FUNCS - global %1:function + global %1:function %1.endfunc-%1 %else global %1 %endif @@ -328,6 +328,7 @@ movd eax, mm6 ret +.endfunc ;----------------------------------------------------------------------------- ; @@ -360,6 +361,7 @@ movd eax, mm6 ret +.endfunc ;----------------------------------------------------------------------------- ; @@ -450,6 +452,7 @@ pop ebx ret +.endfunc ;----------------------------------------------------------------------------- ; @@ -514,6 +517,7 @@ pop ebx ret +.endfunc ;----------------------------------------------------------------------------- ; @@ -552,6 +556,7 @@ movd eax, mm6 pop ebx ret +.endfunc ;----------------------------------------------------------------------------- ; @@ -631,6 +636,7 @@ movd eax, mm6 ret +.endfunc ;----------------------------------------------------------------------------- ; @@ -680,6 +686,7 @@ pop edi pop esi ret +.endfunc ;----------------------------------------------------------------------------- ; @@ -744,3 +751,5 @@ pop edi pop esi ret +.endfunc +