19 |
; * along with this program; if not, write to the Free Software |
; * along with this program; if not, write to the Free Software |
20 |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
; * |
; * |
22 |
; * $Id: sad_3dne.asm,v 1.5 2004-08-22 11:46:10 edgomez Exp $ |
; * $Id: sad_3dne.asm,v 1.6 2004-08-29 10:02:38 edgomez Exp $ |
23 |
; * |
; * |
24 |
; ***************************************************************************/ |
; ***************************************************************************/ |
25 |
|
|
31 |
%macro cglobal 1 |
%macro cglobal 1 |
32 |
%ifdef PREFIX |
%ifdef PREFIX |
33 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
34 |
global _%1:function |
global _%1:function %1.endfunc-%1 |
35 |
%define %1 _%1:function |
%define %1 _%1:function %1.endfunc-%1 |
36 |
%else |
%else |
37 |
global _%1 |
global _%1 |
38 |
%define %1 _%1 |
%define %1 _%1 |
39 |
%endif |
%endif |
40 |
%else |
%else |
41 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
42 |
global %1:function |
global %1:function %1.endfunc-%1 |
43 |
%else |
%else |
44 |
global %1 |
global %1 |
45 |
%endif |
%endif |
265 |
add eax, ecx |
add eax, ecx |
266 |
|
|
267 |
ret |
ret |
268 |
|
.endfunc |
269 |
|
|
270 |
|
|
271 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
320 |
movd eax, mm0 |
movd eax, mm0 |
321 |
|
|
322 |
ret |
ret |
323 |
|
.endfunc |
324 |
|
|
325 |
|
|
326 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
365 |
movd eax, mm6 |
movd eax, mm6 |
366 |
|
|
367 |
ret |
ret |
368 |
|
.endfunc |
369 |
|
|
370 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
371 |
; |
; |
441 |
movd eax, mm6 |
movd eax, mm6 |
442 |
|
|
443 |
ret |
ret |
444 |
|
.endfunc |
445 |
|
|
446 |
|
|
447 |
;=========================================================================== |
;=========================================================================== |
500 |
movd eax, mm7 |
movd eax, mm7 |
501 |
|
|
502 |
ret |
ret |
503 |
|
.endfunc |
504 |
|
|