20 |
; * along with this program; if not, write to the Free Software |
; * along with this program; if not, write to the Free Software |
21 |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 |
; * |
; * |
23 |
; * $Id: sad_mmx.asm,v 1.15 2004-08-22 11:46:10 edgomez Exp $ |
; * $Id: sad_mmx.asm,v 1.16 2004-08-29 10:02:38 edgomez Exp $ |
24 |
; * |
; * |
25 |
; ***************************************************************************/ |
; ***************************************************************************/ |
26 |
|
|
29 |
%macro cglobal 1 |
%macro cglobal 1 |
30 |
%ifdef PREFIX |
%ifdef PREFIX |
31 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
32 |
global _%1:function |
global _%1:function %1.endfunc-%1 |
33 |
%define %1 _%1:function |
%define %1 _%1:function %1.endfunc-%1 |
34 |
%else |
%else |
35 |
global _%1 |
global _%1 |
36 |
%define %1 _%1 |
%define %1 _%1 |
37 |
%endif |
%endif |
38 |
%else |
%else |
39 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
40 |
global %1:function |
global %1:function %1.endfunc-%1 |
41 |
%else |
%else |
42 |
global %1 |
global %1 |
43 |
%endif |
%endif |
328 |
movd eax, mm6 |
movd eax, mm6 |
329 |
|
|
330 |
ret |
ret |
331 |
|
.endfunc |
332 |
|
|
333 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
334 |
; |
; |
361 |
movd eax, mm6 |
movd eax, mm6 |
362 |
|
|
363 |
ret |
ret |
364 |
|
.endfunc |
365 |
|
|
366 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
367 |
; |
; |
452 |
pop ebx |
pop ebx |
453 |
|
|
454 |
ret |
ret |
455 |
|
.endfunc |
456 |
|
|
457 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
458 |
; |
; |
517 |
pop ebx |
pop ebx |
518 |
|
|
519 |
ret |
ret |
520 |
|
.endfunc |
521 |
|
|
522 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
523 |
; |
; |
556 |
movd eax, mm6 |
movd eax, mm6 |
557 |
pop ebx |
pop ebx |
558 |
ret |
ret |
559 |
|
.endfunc |
560 |
|
|
561 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
562 |
; |
; |
636 |
movd eax, mm6 |
movd eax, mm6 |
637 |
|
|
638 |
ret |
ret |
639 |
|
.endfunc |
640 |
|
|
641 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
642 |
; |
; |
686 |
pop edi |
pop edi |
687 |
pop esi |
pop esi |
688 |
ret |
ret |
689 |
|
.endfunc |
690 |
|
|
691 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
692 |
; |
; |
751 |
pop edi |
pop edi |
752 |
pop esi |
pop esi |
753 |
ret |
ret |
754 |
|
.endfunc |
755 |
|
|