--- cbp_3dne.asm 2004/03/22 22:36:23 1.3 +++ cbp_3dne.asm 2004/08/22 11:46:09 1.4 @@ -19,7 +19,7 @@ ; * along with this program ; if not, write to the Free Software ; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ; * -; * $Id: cbp_3dne.asm,v 1.3 2004/03/22 22:36:23 edgomez Exp $ +; * $Id: cbp_3dne.asm,v 1.4 2004/08/22 11:46:09 edgomez Exp $ ; * ; ***************************************************************************/ @@ -34,14 +34,22 @@ %macro cglobal 1 %ifdef PREFIX - global _%1 - %define %1 _%1 + %ifdef MARK_FUNCS + global _%1:function + %define %1 _%1:function + %else + global _%1 + %define %1 _%1 + %endif %else - global %1 + %ifdef MARK_FUNCS + global %1:function + %else + global %1 + %endif %endif %endmacro - %macro calc_cbp 1 pshufw mm0, [eax], 229 ; =11100101 movq mm1, [eax+8]