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: postprocessing_mmx.asm,v 1.1 2004-04-01 11:11:28 suxen_drol Exp $ |
; * $Id: postprocessing_mmx.asm,v 1.4 2004-08-29 10:02:38 edgomez Exp $ |
23 |
; * |
; * |
24 |
; *************************************************************************/ |
; *************************************************************************/ |
25 |
|
|
27 |
|
|
28 |
%macro cglobal 1 |
%macro cglobal 1 |
29 |
%ifdef PREFIX |
%ifdef PREFIX |
30 |
|
%ifdef MARK_FUNCS |
31 |
|
global _%1:function %1.endfunc-%1 |
32 |
|
%define %1 _%1:function %1.endfunc-%1 |
33 |
|
%else |
34 |
global _%1 |
global _%1 |
35 |
%define %1 _%1 |
%define %1 _%1 |
36 |
|
%endif |
37 |
|
%else |
38 |
|
%ifdef MARK_FUNCS |
39 |
|
global %1:function %1.endfunc-%1 |
40 |
%else |
%else |
41 |
global %1 |
global %1 |
42 |
%endif |
%endif |
43 |
|
%endif |
44 |
%endmacro |
%endmacro |
45 |
|
|
46 |
;=========================================================================== |
;=========================================================================== |
48 |
;=========================================================================== |
;=========================================================================== |
49 |
|
|
50 |
%ifdef FORMAT_COFF |
%ifdef FORMAT_COFF |
51 |
SECTION .rodata data |
SECTION .rodata |
52 |
%else |
%else |
53 |
SECTION .rodata data align=16 |
SECTION .rodata align=16 |
54 |
%endif |
%endif |
55 |
|
|
56 |
mmx_0x80: |
mmx_0x80: |
122 |
pop esi |
pop esi |
123 |
|
|
124 |
ret |
ret |
125 |
|
.endfunc |
126 |
;////////////////////////////////////////////////////////////////////// |
;////////////////////////////////////////////////////////////////////// |