Make genargs more persistent when trying to convert structure arguments.
[unix-history] / usr / src / old / pcc / ccom.vax / macdefs
CommitLineData
f3e2ab45
RC
1/* macdefs 1.1 85/03/19 */
2
3# define makecc(val,i) lastcon = (lastcon<<8)|((val<<24)>>24);
4
5# define ARGINIT 32
6# define AUTOINIT 0
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# define ARGREG 12
44
45/* maximum and minimum register variables */
46
47# define MAXRVAR 11
48# define MINRVAR 6
49
50 /* various standard pieces of code are used */
51# define STDPRTREE
52# define LABFMT "L%d"
53
54/* show stack grows negatively */
55#define BACKAUTO
56#define BACKTEMP
57
58/* show field hardware support on VAX */
59#define FIELDOPS
60
61/* bytes are numbered from right to left */
62#define RTOLBYTES
63
64/* we want prtree included */
65# define STDPRTREE
66# ifndef FORT
67# define ONEPASS
68#endif
69
70# define ENUMSIZE(high,low) INT
71
72
73# define ADDROREG
74# define FIXDEF(p) outstab(p)
75# define FIXARG(p) fixarg(p)