Annotation of cci/usr/src/usr.bin/f77/f77pass2/macdefs.h, revision 1.1.1.1

1.1       root        1: /*     macdefs.h       4.1     85/03/19        */
                      2: 
                      3: #ifndef _MACDEFS_
                      4: #define        _MACDEFS_
                      5: 
                      6: #define makecc(val,i)  lastcon = (lastcon<<8)|((val<<24)>>24);  
                      7: 
                      8: #define ARGINIT        SZINT
                      9: #define AUTOINIT       (13*SZINT)
                     10: 
                     11: /*
                     12:  * Storage space requirements
                     13:  */
                     14: #define SZCHAR         8
                     15: #define SZINT          32
                     16: #define SZFLOAT                32
                     17: #define SZDOUBLE       64
                     18: #define SZLONG         32
                     19: #define SZSHORT                16
                     20: #define SZPOINT                32
                     21: 
                     22: /*
                     23:  * Alignment constraints
                     24:  */
                     25: #define ALCHAR         8
                     26: #define ALINT          32
                     27: #define ALFLOAT                32
                     28: #define ALDOUBLE       32
                     29: #define ALLONG         32
                     30: #define ALSHORT                16
                     31: #define ALPOINT                32
                     32: #define ALSTRUCT       32
                     33: #define ALSTACK                32 
                     34: 
                     35: typedef        long    CONSZ;          /* size in which constants are converted */
                     36: typedef        long    OFFSZ;          /* size in which offsets are kept */
                     37: 
                     38: #define CONFMT "%ld"           /* format for printing constants */
                     39: #define LABFMT "L%d"           /* format for printing labels */
                     40: 
                     41: #define CCTRANS(x) x           /* character set macro */
                     42: 
                     43: /*
                     44:  * Register cookies for stack pointer and argument pointer
                     45:  */
                     46: #define STKREG 13              /* stack pointer */
                     47: 
                     48: /*
                     49:  * Maximum and minimum register variables
                     50:  */
                     51: #define MINRVAR        6               /* use R6 thru ... */
                     52: #define MAXRVAR        12              /* ... R12 */
                     53: 
                     54: #define BACKAUTO               /* stack grows negatively for automatics */
                     55: #define BACKTEMP               /* stack grows negatively for temporaries */
                     56: /* no field hardware support on Tahoe
                     57: #define FIELDOPS */
                     58: 
                     59: /* bytes are numbered from left to right
                     60: #define RTOLBYTES */
                     61: 
                     62: /* register char and short are not allowed
                     63: #define REG_CHAR */
                     64: 
                     65: #define ENUMSIZE(high,low) INT /* enums are always stored in full int */
                     66: /* addr of reg+offset is computed */
                     67: # define ADDROREG
                     68: # define PRTDCON       /* use local version of prtdcon */
                     69: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.