--- mem_transfer_mmx.asm 2004/07/24 11:46:08 1.13 +++ mem_transfer_mmx.asm 2004/08/29 10:02:38 1.15 @@ -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: mem_transfer_mmx.asm,v 1.13 2004/07/24 11:46:08 edgomez Exp $ +; * $Id: mem_transfer_mmx.asm,v 1.15 2004/08/29 10:02:38 edgomez Exp $ ; * ; ***************************************************************************/ @@ -29,10 +29,19 @@ %macro cglobal 1 %ifdef PREFIX - global _%1 - %define %1 _%1 + %ifdef MARK_FUNCS + global _%1:function %1.endfunc-%1 + %define %1 _%1:function %1.endfunc-%1 + %else + global _%1 + %define %1 _%1 + %endif %else - global %1 + %ifdef MARK_FUNCS + global %1:function %1.endfunc-%1 + %else + global %1 + %endif %endif %endmacro @@ -102,6 +111,7 @@ COPY_8_TO_16 2 COPY_8_TO_16 3 ret +.endfunc ;----------------------------------------------------------------------------- ; @@ -137,6 +147,7 @@ lea ecx,[ecx+2*edx] COPY_16_TO_8 3 ret +.endfunc ;----------------------------------------------------------------------------- ; @@ -200,6 +211,7 @@ pop ebx ret +.endfunc ALIGN 16 @@ -218,6 +230,7 @@ pop ebx ret +.endfunc ;----------------------------------------------------------------------------- @@ -316,6 +329,7 @@ pop esi pop ebx ret +.endfunc ;----------------------------------------------------------------------------- ; @@ -383,6 +397,7 @@ pop esi pop ebx ret +.endfunc ;----------------------------------------------------------------------------- ; @@ -427,6 +442,7 @@ lea ecx,[ecx+2*edx] COPY_16_TO_8_ADD 3 ret +.endfunc ;----------------------------------------------------------------------------- ; @@ -459,3 +475,5 @@ lea ecx,[ecx+2*edx] COPY_8_TO_8 ret +.endfunc +