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: sad_mmx.asm,v 1.2 2008-08-19 09:06:48 Isibaar Exp $ |
; * $Id: sad_mmx.asm,v 1.3 2008-11-11 20:46:24 Isibaar Exp $ |
25 |
; * |
; * |
26 |
; ***************************************************************************/ |
; ***************************************************************************/ |
27 |
|
|
32 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
33 |
global _%1:function %1.endfunc-%1 |
global _%1:function %1.endfunc-%1 |
34 |
%define %1 _%1:function %1.endfunc-%1 |
%define %1 _%1:function %1.endfunc-%1 |
35 |
|
%define ENDFUNC .endfunc |
36 |
%else |
%else |
37 |
global _%1 |
global _%1 |
38 |
%define %1 _%1 |
%define %1 _%1 |
39 |
|
%define ENDFUNC |
40 |
%endif |
%endif |
41 |
%else |
%else |
42 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
43 |
global %1:function %1.endfunc-%1 |
global %1:function %1.endfunc-%1 |
44 |
|
%define ENDFUNC .endfunc |
45 |
%else |
%else |
46 |
global %1 |
global %1 |
47 |
|
%define ENDFUNC |
48 |
%endif |
%endif |
49 |
%endif |
%endif |
50 |
%endmacro |
%endmacro |
111 |
|
|
112 |
;; All done |
;; All done |
113 |
ret |
ret |
114 |
.endfunc |
ENDFUNC |
115 |
|
|
116 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
117 |
; |
; |
166 |
|
|
167 |
;; All done |
;; All done |
168 |
ret |
ret |
169 |
.endfunc |
ENDFUNC |
170 |
|
|
171 |
%ifidn __OUTPUT_FORMAT__,elf |
%ifidn __OUTPUT_FORMAT__,elf |
172 |
section ".note.GNU-stack" noalloc noexec nowrite progbits |
section ".note.GNU-stack" noalloc noexec nowrite progbits |