--- trunk/xvidcore/src/motion/x86_asm/sad_xmm.asm 2004/08/29 05:32:29 1539 +++ trunk/xvidcore/src/motion/x86_asm/sad_xmm.asm 2004/08/29 10:02:38 1540 @@ -21,7 +21,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_xmm.asm,v 1.9 2004-08-22 11:46:10 edgomez Exp $ +; * $Id: sad_xmm.asm,v 1.10 2004-08-29 10:02:38 edgomez Exp $ ; * ; ***************************************************************************/ @@ -30,15 +30,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 @@ -189,6 +189,7 @@ paddusw mm6,mm5 movd eax, mm6 ret +.endfunc ;----------------------------------------------------------------------------- @@ -229,6 +230,7 @@ movd eax, mm6 ret +.endfunc ;----------------------------------------------------------------------------- @@ -273,6 +275,7 @@ movd eax, mm6 pop ebx ret +.endfunc ;----------------------------------------------------------------------------- ; @@ -303,6 +306,7 @@ movd eax, mm6 pop ebx ret +.endfunc ;----------------------------------------------------------------------------- @@ -383,6 +387,7 @@ movd eax, mm6 ret +.endfunc ;----------------------------------------------------------------------------- ;int sad16v_xmm(const uint8_t * const cur, @@ -437,3 +442,5 @@ movd eax, mm7 pop ebx ret +.endfunc +