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: cbp_sse2.asm,v 1.5 2004-07-24 11:46:08 edgomez Exp $ |
; * $Id: cbp_sse2.asm,v 1.8 2008-08-19 09:06:48 Isibaar Exp $ |
24 |
; * |
; * |
25 |
; ***************************************************************************/ |
; ***************************************************************************/ |
26 |
|
|
32 |
|
|
33 |
%macro cglobal 1 |
%macro cglobal 1 |
34 |
%ifdef PREFIX |
%ifdef PREFIX |
35 |
|
%ifdef MARK_FUNCS |
36 |
|
global _%1:function %1.endfunc-%1 |
37 |
|
%define %1 _%1:function %1.endfunc-%1 |
38 |
|
%else |
39 |
global _%1 |
global _%1 |
40 |
%define %1 _%1 |
%define %1 _%1 |
41 |
|
%endif |
42 |
|
%else |
43 |
|
%ifdef MARK_FUNCS |
44 |
|
global %1:function %1.endfunc-%1 |
45 |
%else |
%else |
46 |
global %1 |
global %1 |
47 |
%endif |
%endif |
48 |
|
%endif |
49 |
%endmacro |
%endmacro |
50 |
|
|
51 |
%macro LOOP_SSE2 1 |
%macro LOOP_SSE2 1 |
138 |
|
|
139 |
.finished |
.finished |
140 |
ret |
ret |
141 |
|
.endfunc |
142 |
|
|
143 |
|
|
144 |
|
%ifidn __OUTPUT_FORMAT__,elf |
145 |
|
section ".note.GNU-stack" noalloc noexec nowrite progbits |
146 |
|
%endif |
147 |
|
|