remove math.blas.syntax and merge parsing words into math.blas.vectors/matrices
[factor/jcg.git] / vm / asm.h
blob9719ae8af0bd6b761b4f18fddb9e5017fc49a40e
1 #if defined(__APPLE__) || (defined(WINDOWS) && !defined(__arm__))
2 #define MANGLE(sym) _##sym
3 #else
4 #define MANGLE(sym) sym
5 #endif
7 /* Apple's PPC assembler is out of date? */
8 #if defined(__APPLE__) && defined(__ppc__)
9 #define XX @
10 #else
11 #define XX ;
12 #endif
14 /* The returns and args are just for documentation */
15 #define DEF(returns,symbol,args) .globl MANGLE(symbol) XX \
16 MANGLE(symbol)