--- trunk/xvidcore/src/image/x86_asm/reduced_mmx.asm 2008/08/19 09:06:48 1790 +++ trunk/xvidcore/src/image/x86_asm/reduced_mmx.asm 2008/11/11 20:46:24 1793 @@ -19,7 +19,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: reduced_mmx.asm,v 1.7 2008-08-19 09:06:48 Isibaar Exp $ +; * $Id: reduced_mmx.asm,v 1.8 2008-11-11 20:46:24 Isibaar Exp $ ; * ; *************************************************************************/ @@ -30,15 +30,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 @@ -271,7 +275,7 @@ STORE_1 mm2, mm3 ret -.endfunc +ENDFUNC ;=========================================================================== ; @@ -466,7 +470,7 @@ STORE_ADD_1 mm2, mm3 ret -.endfunc +ENDFUNC ;=========================================================================== ; @@ -598,7 +602,7 @@ STORE_1 mm2, mm3 ret -.endfunc +ENDFUNC ;=========================================================================== ; @@ -707,7 +711,7 @@ STORE_ADD_1 mm2, mm3 ret -.endfunc +ENDFUNC ;=========================================================================== @@ -764,7 +768,7 @@ pop edi pop esi ret -.endfunc +ENDFUNC ; mmx is of no use here. Better use plain ASM. Moreover, ; this is for the fun of ASM coding, coz' every modern compiler can @@ -804,7 +808,7 @@ pop edi pop esi ret -.endfunc +ENDFUNC ; this one's just a little faster than gcc's code. Very little. @@ -841,7 +845,7 @@ pop edi pop esi ret -.endfunc +ENDFUNC ;////////////////////////////////////////////////////////////////////// ;// 16b downsampling 16x16 -> 8x8 @@ -931,7 +935,7 @@ COPY_TWO_LINES_1331 ecx + 6*16 +8 ret -.endfunc +ENDFUNC ;=========================================================================== ; @@ -996,7 +1000,7 @@ DIFF_TWO_LINES_1331 ecx + 6*16 +8 ret -.endfunc +ENDFUNC ;//////////////////////////////////////////////////////////////////////