| 1 | extern int target_flags; |
| 2 | |
| 3 | enum reg_class |
| 4 | { |
| 5 | NO_REGS, |
| 6 | AREG, DREG, CREG, BREG, |
| 7 | Q_REGS, |
| 8 | SIREG, DIREG, |
| 9 | INDEX_REGS, |
| 10 | GENERAL_REGS, |
| 11 | FP_TOP_REG, FP_SECOND_REG, |
| 12 | FLOAT_REGS, |
| 13 | ALL_REGS, LIM_REG_CLASSES |
| 14 | }; |
| 15 | extern enum reg_class regclass_map[17 ]; |
| 16 | |
| 17 | |
| 18 | extern struct rtx_def *i386_compare_op0, *i386_compare_op1; |
| 19 | extern struct rtx_def *(*i386_compare_gen)(), *(*i386_compare_gen_eq)(); |
| 20 | extern char *hi_reg_name[]; |
| 21 | extern char *qi_reg_name[]; |
| 22 | extern char *qi_high_reg_name[]; |
| 23 | |
| 24 | enum machine_mode { |
| 25 | VOIDmode , |
| 26 | QImode , |
| 27 | HImode , |
| 28 | PSImode , |
| 29 | SImode , |
| 30 | PDImode , |
| 31 | DImode , |
| 32 | TImode , |
| 33 | OImode , |
| 34 | QFmode , |
| 35 | HFmode , |
| 36 | SFmode , |
| 37 | DFmode , |
| 38 | XFmode , |
| 39 | TFmode , |
| 40 | SCmode , |
| 41 | DCmode , |
| 42 | XCmode , |
| 43 | TCmode , |
| 44 | CQImode , |
| 45 | CHImode , |
| 46 | CSImode , |
| 47 | CDImode , |
| 48 | CTImode , |
| 49 | COImode , |
| 50 | BLKmode , |
| 51 | CCmode , |
| 52 | CCFPEQmode , |
| 53 | MAX_MACHINE_MODE }; |
| 54 | extern char *mode_name[]; |
| 55 | enum mode_class { MODE_RANDOM, MODE_INT, MODE_FLOAT, MODE_PARTIAL_INT, MODE_CC, |
| 56 | MODE_COMPLEX_INT, MODE_COMPLEX_FLOAT, MAX_MODE_CLASS}; |
| 57 | extern enum mode_class mode_class[]; |
| 58 | extern int mode_size[]; |
| 59 | extern int mode_unit_size[]; |
| 60 | extern enum machine_mode mode_wider_mode[]; |
| 61 | extern enum machine_mode mode_for_size (unsigned int, enum mode_class, int) ; |
| 62 | extern enum machine_mode get_best_mode (int, int, int, enum machine_mode, int) ; |
| 63 | extern enum machine_mode class_narrowest_mode[]; |
| 64 | extern enum machine_mode byte_mode; |
| 65 | extern enum machine_mode word_mode; |
| 66 | typedef int ptrdiff_t; |
| 67 | typedef unsigned int size_t; |
| 68 | typedef short unsigned int wchar_t; |
| 69 | typedef unsigned int UQItype __attribute__ ((mode (QI))); |
| 70 | typedef int SItype __attribute__ ((mode (SI))); |
| 71 | typedef unsigned int USItype __attribute__ ((mode (SI))); |
| 72 | typedef int DItype __attribute__ ((mode (DI))); |
| 73 | typedef unsigned int UDItype __attribute__ ((mode (DI))); |
| 74 | typedef float SFtype __attribute__ ((mode (SF))); |
| 75 | typedef float DFtype __attribute__ ((mode (DF))); |
| 76 | typedef int word_type __attribute__ ((mode (SI))); |
| 77 | struct DIstruct {SItype low, high;}; |
| 78 | typedef union |
| 79 | { |
| 80 | struct DIstruct s; |
| 81 | DItype ll; |
| 82 | } DIunion; |
| 83 | extern DItype __fixunssfdi (SFtype a); |
| 84 | extern DItype __fixunsdfdi (DFtype a); |
| 85 | typedef void *__gnuc_va_list; |
| 86 | typedef size_t; |
| 87 | |
| 88 | typedef long fpos_t; |
| 89 | struct __sbuf { |
| 90 | unsigned char *_base; |
| 91 | int _size; |
| 92 | }; |
| 93 | typedef struct __sFILE { |
| 94 | unsigned char *_p; |
| 95 | int _r; |
| 96 | int _w; |
| 97 | short _flags; |
| 98 | short _file; |
| 99 | struct __sbuf _bf; |
| 100 | int _lbfsize; |
| 101 | |
| 102 | void *_cookie; |
| 103 | int (*_close) (void *) ; |
| 104 | int (*_read) (void *, char *, int) ; |
| 105 | fpos_t (*_seek) (void *, fpos_t, int) ; |
| 106 | int (*_write) (void *, const char *, int) ; |
| 107 | |
| 108 | struct __sbuf _ub; |
| 109 | unsigned char *_up; |
| 110 | int _ur; |
| 111 | |
| 112 | unsigned char _ubuf[3]; |
| 113 | unsigned char _nbuf[1]; |
| 114 | |
| 115 | struct __sbuf _lb; |
| 116 | |
| 117 | int _blksize; |
| 118 | int _offset; |
| 119 | } FILE; |
| 120 | extern FILE __sF[]; |
| 121 | |
| 122 | void clearerr (FILE *) ; |
| 123 | int fclose (FILE *) ; |
| 124 | int feof (FILE *) ; |
| 125 | int ferror (FILE *) ; |
| 126 | int fflush (FILE *) ; |
| 127 | int fgetc (FILE *) ; |
| 128 | int fgetpos (FILE *, fpos_t *) ; |
| 129 | char *fgets (char *, size_t, FILE *) ; |
| 130 | FILE *fopen (const char *, const char *) ; |
| 131 | int fprintf (FILE *, const char *, ...) ; |
| 132 | int fputc (int, FILE *) ; |
| 133 | int fputs (const char *, FILE *) ; |
| 134 | int fread (void *, size_t, size_t, FILE *) ; |
| 135 | FILE *freopen (const char *, const char *, FILE *) ; |
| 136 | int fscanf (FILE *, const char *, ...) ; |
| 137 | int fseek (FILE *, long, int) ; |
| 138 | int fsetpos (FILE *, const fpos_t *) ; |
| 139 | long ftell (const FILE *) ; |
| 140 | int fwrite (const void *, size_t, size_t, FILE *) ; |
| 141 | int getc (FILE *) ; |
| 142 | int getchar (void) ; |
| 143 | char *gets (char *) ; |
| 144 | extern int sys_nerr; |
| 145 | extern char *sys_errlist[]; |
| 146 | void perror (const char *) ; |
| 147 | int printf (const char *, ...) ; |
| 148 | int putc (int, FILE *) ; |
| 149 | int putchar (int) ; |
| 150 | int puts (const char *) ; |
| 151 | int remove (const char *) ; |
| 152 | int rename (const char *, const char *) ; |
| 153 | void rewind (FILE *) ; |
| 154 | int scanf (const char *, ...) ; |
| 155 | void setbuf (FILE *, char *) ; |
| 156 | int setvbuf (FILE *, char *, int, size_t) ; |
| 157 | int sprintf (char *, const char *, ...) ; |
| 158 | int sscanf (char *, const char *, ...) ; |
| 159 | FILE *tmpfile (void) ; |
| 160 | char *tmpnam (char *) ; |
| 161 | int ungetc (int, FILE *) ; |
| 162 | int vfprintf (FILE *, const char *, __gnuc_va_list) ; |
| 163 | int vprintf (const char *, __gnuc_va_list) ; |
| 164 | int vsprintf (char *, const char *, __gnuc_va_list) ; |
| 165 | char *ctermid (char *) ; |
| 166 | FILE *fdopen (int, const char *) ; |
| 167 | int fileno (FILE *) ; |
| 168 | char *fgetline (FILE *, size_t *) ; |
| 169 | int fpurge (FILE *) ; |
| 170 | int getw (FILE *) ; |
| 171 | int pclose (FILE *) ; |
| 172 | FILE *popen (const char *, const char *) ; |
| 173 | int putw (int, FILE *) ; |
| 174 | void setbuffer (FILE *, char *, int) ; |
| 175 | int setlinebuf (FILE *) ; |
| 176 | char *tempnam (const char *, const char *) ; |
| 177 | int snprintf (char *, size_t, const char *, ...) ; |
| 178 | int vsnprintf (char *, size_t, const char *, __gnuc_va_list) ; |
| 179 | int vscanf (const char *, __gnuc_va_list) ; |
| 180 | int vsscanf (const char *, const char *, __gnuc_va_list) ; |
| 181 | FILE *funopen (const void *, |
| 182 | int (*)(void *, char *, int), |
| 183 | int (*)(void *, const char *, int), |
| 184 | fpos_t (*)(void *, fpos_t, int), |
| 185 | int (*)(void *)) ; |
| 186 | int __srget (FILE *) ; |
| 187 | int __svfscanf (FILE *, const char *, __gnuc_va_list) ; |
| 188 | int __swbuf (int, FILE *) ; |
| 189 | static inline int __sputc(int _c, FILE *_p) { |
| 190 | if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n')) |
| 191 | return (*_p->_p++ = _c); |
| 192 | else |
| 193 | return (__swbuf(_c, _p)); |
| 194 | } |
| 195 | void |
| 196 | __eprintf (string, expression, line, filename) |
| 197 | const char *string; |
| 198 | const char *expression; |
| 199 | int line; |
| 200 | const char *filename; |
| 201 | { |
| 202 | fprintf ((&__sF[2]) , string, expression, line, filename); |
| 203 | fflush ((&__sF[2]) ); |
| 204 | abort (); |
| 205 | } |