21 |
; * along with this program ; if not, write to the Free Software |
; * along with this program ; if not, write to the Free Software |
22 |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 |
; * |
; * |
24 |
; * $Id: mem_transfer_mmx.asm,v 1.14 2004-08-22 11:46:10 edgomez Exp $ |
; * $Id: mem_transfer_mmx.asm,v 1.15 2004-08-29 10:02:38 edgomez Exp $ |
25 |
; * |
; * |
26 |
; ***************************************************************************/ |
; ***************************************************************************/ |
27 |
|
|
30 |
%macro cglobal 1 |
%macro cglobal 1 |
31 |
%ifdef PREFIX |
%ifdef PREFIX |
32 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
33 |
global _%1:function |
global _%1:function %1.endfunc-%1 |
34 |
%define %1 _%1:function |
%define %1 _%1:function %1.endfunc-%1 |
35 |
%else |
%else |
36 |
global _%1 |
global _%1 |
37 |
%define %1 _%1 |
%define %1 _%1 |
38 |
%endif |
%endif |
39 |
%else |
%else |
40 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
41 |
global %1:function |
global %1:function %1.endfunc-%1 |
42 |
%else |
%else |
43 |
global %1 |
global %1 |
44 |
%endif |
%endif |
111 |
COPY_8_TO_16 2 |
COPY_8_TO_16 2 |
112 |
COPY_8_TO_16 3 |
COPY_8_TO_16 3 |
113 |
ret |
ret |
114 |
|
.endfunc |
115 |
|
|
116 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
117 |
; |
; |
147 |
lea ecx,[ecx+2*edx] |
lea ecx,[ecx+2*edx] |
148 |
COPY_16_TO_8 3 |
COPY_16_TO_8 3 |
149 |
ret |
ret |
150 |
|
.endfunc |
151 |
|
|
152 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
153 |
; |
; |
211 |
|
|
212 |
pop ebx |
pop ebx |
213 |
ret |
ret |
214 |
|
.endfunc |
215 |
|
|
216 |
|
|
217 |
ALIGN 16 |
ALIGN 16 |
230 |
|
|
231 |
pop ebx |
pop ebx |
232 |
ret |
ret |
233 |
|
.endfunc |
234 |
|
|
235 |
|
|
236 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
329 |
pop esi |
pop esi |
330 |
pop ebx |
pop ebx |
331 |
ret |
ret |
332 |
|
.endfunc |
333 |
|
|
334 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
335 |
; |
; |
397 |
pop esi |
pop esi |
398 |
pop ebx |
pop ebx |
399 |
ret |
ret |
400 |
|
.endfunc |
401 |
|
|
402 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
403 |
; |
; |
442 |
lea ecx,[ecx+2*edx] |
lea ecx,[ecx+2*edx] |
443 |
COPY_16_TO_8_ADD 3 |
COPY_16_TO_8_ADD 3 |
444 |
ret |
ret |
445 |
|
.endfunc |
446 |
|
|
447 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
448 |
; |
; |
475 |
lea ecx,[ecx+2*edx] |
lea ecx,[ecx+2*edx] |
476 |
COPY_8_TO_8 |
COPY_8_TO_8 |
477 |
ret |
ret |
478 |
|
.endfunc |
479 |
|
|