#define PDP11 4 #define BIGGEST_SHORT 0x7fff /* Assumes 32-bit arithmetic */ #define BIGGEST_LONG 0x7fffffff /* Assumes 32-bit arithmetic */ #define M(x) (1<tag==TCONST && ISINT(z->constblock.vtype)) /* ISCHAR assumes that z has some kind of structure, i.e. is not null */ #define ISCHAR(z) (z->headblock.vtype==TYCHAR) #define ISINT(z) ONEOF(z, MSKINT) /* z is a tag, i.e. a mask number */ #define ISCONST(z) (z->tag==TCONST) #define ISERROR(z) (z->tag==TERROR) #define ISPLUSOP(z) (z->tag==TEXPR && z->exprblock.opcode==OPPLUS) #define ISSTAROP(z) (z->tag==TEXPR && z->exprblock.opcode==OPSTAR) #define ISONE(z) (ISICON(z) && z->constblock.Const.ci==1) #define INT(z) ONEOF(z, MSKINT|MSKCHAR) /* has INT storage in real life */ #define ICON(z) mkintcon( (ftnint)(z) ) /* NO66 -- F77 feature is being used NOEXT -- F77 extension is being used */ #define NO66(s) if(no66flag) err66(s) #define NOEXT(s) if(noextflag) errext(s) /* round a up to the nearest multiple of b: a = b * floor ( (a + (b - 1)) / b )*/ #define roundup(a,b) ( b * ( (a+b-1)/b) )