--- trunk/xvidcore/src/image/x86_asm/reduced_mmx.asm 2004/08/29 05:32:29 1539 +++ trunk/xvidcore/src/image/x86_asm/reduced_mmx.asm 2004/08/29 10:02:38 1540 @@ -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.5 2004-08-22 11:46:10 edgomez Exp $ +; * $Id: reduced_mmx.asm,v 1.6 2004-08-29 10:02:38 edgomez Exp $ ; * ; *************************************************************************/ @@ -28,15 +28,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 @@ -271,6 +271,7 @@ STORE_1 mm2, mm3 ret +.endfunc ;=========================================================================== ; @@ -465,6 +466,7 @@ STORE_ADD_1 mm2, mm3 ret +.endfunc ;=========================================================================== ; @@ -596,6 +598,7 @@ STORE_1 mm2, mm3 ret +.endfunc ;=========================================================================== ; @@ -704,6 +707,7 @@ STORE_ADD_1 mm2, mm3 ret +.endfunc ;=========================================================================== @@ -760,6 +764,7 @@ pop edi pop esi ret +.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 @@ -799,6 +804,7 @@ pop edi pop esi ret +.endfunc ; this one's just a little faster than gcc's code. Very little. @@ -835,6 +841,7 @@ pop edi pop esi ret +.endfunc ;////////////////////////////////////////////////////////////////////// ;// 16b downsampling 16x16 -> 8x8 @@ -924,6 +931,7 @@ COPY_TWO_LINES_1331 ecx + 6*16 +8 ret +.endfunc ;=========================================================================== ; @@ -988,6 +996,7 @@ DIFF_TWO_LINES_1331 ecx + 6*16 +8 ret +.endfunc ;//////////////////////////////////////////////////////////////////////