xref: /original-bsd/old/pcc/ccom.tahoe/macdefs.h (revision 561b905b)
1 /*	macdefs.h	1.1	86/01/11	*/
2 
3 # define makecc(val,i)  lastcon = (lastcon<<8)|((val<<24)>>24);
4 
5 # define  ARGINIT SZINT
6 # define  AUTOINIT (13*SZINT)
7 # define  SZCHAR 8
8 # define  SZINT 32
9 # define  SZFLOAT 32
10 # define  SZDOUBLE 64
11 # define  SZLONG 32
12 # define  SZSHORT 16
13 # define SZPOINT 32
14 # define ALCHAR 8
15 # define ALINT 32
16 # define ALFLOAT 32
17 # define ALDOUBLE 32
18 # define ALLONG 32
19 # define ALSHORT 16
20 # define ALPOINT 32
21 # define ALSTRUCT 8
22 # define  ALSTACK 32
23 
24 /*	size in which constants are converted */
25 /*	should be long if feasable */
26 
27 # define CONSZ long
28 # define CONFMT "%ld"
29 
30 /*	size in which offsets are kept
31 /*	should be large enough to cover address space in bits
32 */
33 
34 # define OFFSZ long
35 
36 /* 	character set macro */
37 
38 # define  CCTRANS(x) x
39 
40 /* register cookie for stack pointer */
41 
42 # define  STKREG 13
43 
44 /*	maximum and minimum register variables */
45 
46 # define MAXRVAR 12
47 # define MINRVAR 6
48 
49 	/* various standard pieces of code are used */
50 # define STDPRTREE
51 # define LABFMT "L%d"
52 
53 /* show stack grows negatively */
54 #define BACKAUTO
55 #define BACKTEMP
56 
57 /* no field hardware support on Tahoe
58 #define FIELDOPS */
59 
60 /* bytes are numbered from left to right
61 #define RTOLBYTES */
62 
63 /* we want prtree included */
64 # define STDPRTREE
65 # ifndef FORT
66 # define ONEPASS
67 #endif
68 
69 # define ENUMSIZE(high,low) INT
70 
71 
72 /* register char and short are not allowed
73 #define REG_CHAR */
74 /* addr of reg+offset is computed */
75 # define ADDROREG
76 # define FIXDEF(p) outstab(p)
77 # define FIXARG(p) fixarg(p)
78 # define FIXSTRUCT(a,b) outstruct(a,b)
79 # define PRTDCON	/* use local version of prtdcon */
80 # define ASSTRINGS	/* assembler recognizes strings */
81 # define STABDOT	/* output .stabdot entries */
82 # define LCOMM		/* .lcomm for non-global commons */
83 # define BUFSTDERR	/* buffer error messages */
84 # define FLEXNAMES	/* unlimited name length */
85