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: cbp_mmx.asm,v 1.15 2008-08-19 09:06:48 Isibaar Exp $ |
; * $Id: cbp_mmx.asm,v 1.16 2008-11-11 20:46:24 Isibaar Exp $ |
25 |
; * |
; * |
26 |
; ***************************************************************************/ |
; ***************************************************************************/ |
27 |
|
|
36 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
37 |
global _%1:function %1.endfunc-%1 |
global _%1:function %1.endfunc-%1 |
38 |
%define %1 _%1:function %1.endfunc-%1 |
%define %1 _%1:function %1.endfunc-%1 |
39 |
|
%define ENDFUNC .endfunc |
40 |
%else |
%else |
41 |
global _%1 |
global _%1 |
42 |
%define %1 _%1 |
%define %1 _%1 |
43 |
|
%define ENDFUNC |
44 |
%endif |
%endif |
45 |
%else |
%else |
46 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
47 |
global %1:function %1.endfunc-%1 |
global %1:function %1.endfunc-%1 |
48 |
|
%define ENDFUNC .endfunc |
49 |
%else |
%else |
50 |
global %1 |
global %1 |
51 |
|
%define ENDFUNC |
52 |
%endif |
%endif |
53 |
%endif |
%endif |
54 |
%endmacro |
%endmacro |
150 |
shr eax, 8 |
shr eax, 8 |
151 |
and eax, 0x3F |
and eax, 0x3F |
152 |
ret |
ret |
153 |
.endfunc |
ENDFUNC |
154 |
|
|
155 |
|
|
156 |
%ifidn __OUTPUT_FORMAT__,elf |
%ifidn __OUTPUT_FORMAT__,elf |