OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [bfin-parse.h] - Blame information for rev 449

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* A Bison parser, made by GNU Bison 1.875c.  */
2
 
3
/* Skeleton parser for Yacc-like parsing with Bison,
4
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
5
 
6
   This program is free software; you can redistribute it and/or modify
7
   it under the terms of the GNU General Public License as published by
8
   the Free Software Foundation; either version 2, or (at your option)
9
   any later version.
10
 
11
   This program is distributed in the hope that it will be useful,
12
   but WITHOUT ANY WARRANTY; without even the implied warranty of
13
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
   GNU General Public License for more details.
15
 
16
   You should have received a copy of the GNU General Public License
17
   along with this program; if not, write to the Free Software
18
   Foundation, Inc., 59 Temple Place - Suite 330,
19
   Boston, MA 02111-1307, USA.  */
20
 
21
/* As a special exception, when this file is copied by Bison into a
22
   Bison output file, you may use that output file without restriction.
23
   This special exception was added by the Free Software Foundation
24
   in version 1.24 of Bison.  */
25
 
26
/* Tokens.  */
27
#ifndef YYTOKENTYPE
28
# define YYTOKENTYPE
29
   /* Put the tokens into the symbol table, so that GDB and other debuggers
30
      know about them.  */
31
   enum yytokentype {
32
     BYTEOP16P = 258,
33
     BYTEOP16M = 259,
34
     BYTEOP1P = 260,
35
     BYTEOP2P = 261,
36
     BYTEOP2M = 262,
37
     BYTEOP3P = 263,
38
     BYTEUNPACK = 264,
39
     BYTEPACK = 265,
40
     PACK = 266,
41
     SAA = 267,
42
     ALIGN8 = 268,
43
     ALIGN16 = 269,
44
     ALIGN24 = 270,
45
     VIT_MAX = 271,
46
     EXTRACT = 272,
47
     DEPOSIT = 273,
48
     EXPADJ = 274,
49
     SEARCH = 275,
50
     ONES = 276,
51
     SIGN = 277,
52
     SIGNBITS = 278,
53
     LINK = 279,
54
     UNLINK = 280,
55
     REG = 281,
56
     PC = 282,
57
     CCREG = 283,
58
     BYTE_DREG = 284,
59
     REG_A_DOUBLE_ZERO = 285,
60
     REG_A_DOUBLE_ONE = 286,
61
     A_ZERO_DOT_L = 287,
62
     A_ZERO_DOT_H = 288,
63
     A_ONE_DOT_L = 289,
64
     A_ONE_DOT_H = 290,
65
     HALF_REG = 291,
66
     NOP = 292,
67
     RTI = 293,
68
     RTS = 294,
69
     RTX = 295,
70
     RTN = 296,
71
     RTE = 297,
72
     HLT = 298,
73
     IDLE = 299,
74
     STI = 300,
75
     CLI = 301,
76
     CSYNC = 302,
77
     SSYNC = 303,
78
     EMUEXCPT = 304,
79
     RAISE = 305,
80
     EXCPT = 306,
81
     LSETUP = 307,
82
     LOOP = 308,
83
     LOOP_BEGIN = 309,
84
     LOOP_END = 310,
85
     DISALGNEXCPT = 311,
86
     JUMP = 312,
87
     JUMP_DOT_S = 313,
88
     JUMP_DOT_L = 314,
89
     CALL = 315,
90
     ABORT = 316,
91
     NOT = 317,
92
     TILDA = 318,
93
     BANG = 319,
94
     AMPERSAND = 320,
95
     BAR = 321,
96
     PERCENT = 322,
97
     CARET = 323,
98
     BXOR = 324,
99
     MINUS = 325,
100
     PLUS = 326,
101
     STAR = 327,
102
     SLASH = 328,
103
     NEG = 329,
104
     MIN = 330,
105
     MAX = 331,
106
     ABS = 332,
107
     DOUBLE_BAR = 333,
108
     _PLUS_BAR_PLUS = 334,
109
     _PLUS_BAR_MINUS = 335,
110
     _MINUS_BAR_PLUS = 336,
111
     _MINUS_BAR_MINUS = 337,
112
     _MINUS_MINUS = 338,
113
     _PLUS_PLUS = 339,
114
     SHIFT = 340,
115
     LSHIFT = 341,
116
     ASHIFT = 342,
117
     BXORSHIFT = 343,
118
     _GREATER_GREATER_GREATER_THAN_ASSIGN = 344,
119
     ROT = 345,
120
     LESS_LESS = 346,
121
     GREATER_GREATER = 347,
122
     _GREATER_GREATER_GREATER = 348,
123
     _LESS_LESS_ASSIGN = 349,
124
     _GREATER_GREATER_ASSIGN = 350,
125
     DIVS = 351,
126
     DIVQ = 352,
127
     ASSIGN = 353,
128
     _STAR_ASSIGN = 354,
129
     _BAR_ASSIGN = 355,
130
     _CARET_ASSIGN = 356,
131
     _AMPERSAND_ASSIGN = 357,
132
     _MINUS_ASSIGN = 358,
133
     _PLUS_ASSIGN = 359,
134
     _ASSIGN_BANG = 360,
135
     _LESS_THAN_ASSIGN = 361,
136
     _ASSIGN_ASSIGN = 362,
137
     GE = 363,
138
     LT = 364,
139
     LE = 365,
140
     GT = 366,
141
     LESS_THAN = 367,
142
     FLUSHINV = 368,
143
     FLUSH = 369,
144
     IFLUSH = 370,
145
     PREFETCH = 371,
146
     PRNT = 372,
147
     OUTC = 373,
148
     WHATREG = 374,
149
     TESTSET = 375,
150
     ASL = 376,
151
     ASR = 377,
152
     B = 378,
153
     W = 379,
154
     NS = 380,
155
     S = 381,
156
     CO = 382,
157
     SCO = 383,
158
     TH = 384,
159
     TL = 385,
160
     BP = 386,
161
     BREV = 387,
162
     X = 388,
163
     Z = 389,
164
     M = 390,
165
     MMOD = 391,
166
     R = 392,
167
     RND = 393,
168
     RNDL = 394,
169
     RNDH = 395,
170
     RND12 = 396,
171
     RND20 = 397,
172
     V = 398,
173
     LO = 399,
174
     HI = 400,
175
     BITTGL = 401,
176
     BITCLR = 402,
177
     BITSET = 403,
178
     BITTST = 404,
179
     BITMUX = 405,
180
     DBGAL = 406,
181
     DBGAH = 407,
182
     DBGHALT = 408,
183
     DBG = 409,
184
     DBGA = 410,
185
     DBGCMPLX = 411,
186
     IF = 412,
187
     COMMA = 413,
188
     BY = 414,
189
     COLON = 415,
190
     SEMICOLON = 416,
191
     RPAREN = 417,
192
     LPAREN = 418,
193
     LBRACK = 419,
194
     RBRACK = 420,
195
     STATUS_REG = 421,
196
     MNOP = 422,
197
     SYMBOL = 423,
198
     NUMBER = 424,
199
     GOT = 425,
200
     GOT17M4 = 426,
201
     FUNCDESC_GOT17M4 = 427,
202
     AT = 428,
203
     PLTPC = 429
204
   };
205
#endif
206
#define BYTEOP16P 258
207
#define BYTEOP16M 259
208
#define BYTEOP1P 260
209
#define BYTEOP2P 261
210
#define BYTEOP2M 262
211
#define BYTEOP3P 263
212
#define BYTEUNPACK 264
213
#define BYTEPACK 265
214
#define PACK 266
215
#define SAA 267
216
#define ALIGN8 268
217
#define ALIGN16 269
218
#define ALIGN24 270
219
#define VIT_MAX 271
220
#define EXTRACT 272
221
#define DEPOSIT 273
222
#define EXPADJ 274
223
#define SEARCH 275
224
#define ONES 276
225
#define SIGN 277
226
#define SIGNBITS 278
227
#define LINK 279
228
#define UNLINK 280
229
#define REG 281
230
#define PC 282
231
#define CCREG 283
232
#define BYTE_DREG 284
233
#define REG_A_DOUBLE_ZERO 285
234
#define REG_A_DOUBLE_ONE 286
235
#define A_ZERO_DOT_L 287
236
#define A_ZERO_DOT_H 288
237
#define A_ONE_DOT_L 289
238
#define A_ONE_DOT_H 290
239
#define HALF_REG 291
240
#define NOP 292
241
#define RTI 293
242
#define RTS 294
243
#define RTX 295
244
#define RTN 296
245
#define RTE 297
246
#define HLT 298
247
#define IDLE 299
248
#define STI 300
249
#define CLI 301
250
#define CSYNC 302
251
#define SSYNC 303
252
#define EMUEXCPT 304
253
#define RAISE 305
254
#define EXCPT 306
255
#define LSETUP 307
256
#define LOOP 308
257
#define LOOP_BEGIN 309
258
#define LOOP_END 310
259
#define DISALGNEXCPT 311
260
#define JUMP 312
261
#define JUMP_DOT_S 313
262
#define JUMP_DOT_L 314
263
#define CALL 315
264
#define ABORT 316
265
#define NOT 317
266
#define TILDA 318
267
#define BANG 319
268
#define AMPERSAND 320
269
#define BAR 321
270
#define PERCENT 322
271
#define CARET 323
272
#define BXOR 324
273
#define MINUS 325
274
#define PLUS 326
275
#define STAR 327
276
#define SLASH 328
277
#define NEG 329
278
#define MIN 330
279
#define MAX 331
280
#define ABS 332
281
#define DOUBLE_BAR 333
282
#define _PLUS_BAR_PLUS 334
283
#define _PLUS_BAR_MINUS 335
284
#define _MINUS_BAR_PLUS 336
285
#define _MINUS_BAR_MINUS 337
286
#define _MINUS_MINUS 338
287
#define _PLUS_PLUS 339
288
#define SHIFT 340
289
#define LSHIFT 341
290
#define ASHIFT 342
291
#define BXORSHIFT 343
292
#define _GREATER_GREATER_GREATER_THAN_ASSIGN 344
293
#define ROT 345
294
#define LESS_LESS 346
295
#define GREATER_GREATER 347
296
#define _GREATER_GREATER_GREATER 348
297
#define _LESS_LESS_ASSIGN 349
298
#define _GREATER_GREATER_ASSIGN 350
299
#define DIVS 351
300
#define DIVQ 352
301
#define ASSIGN 353
302
#define _STAR_ASSIGN 354
303
#define _BAR_ASSIGN 355
304
#define _CARET_ASSIGN 356
305
#define _AMPERSAND_ASSIGN 357
306
#define _MINUS_ASSIGN 358
307
#define _PLUS_ASSIGN 359
308
#define _ASSIGN_BANG 360
309
#define _LESS_THAN_ASSIGN 361
310
#define _ASSIGN_ASSIGN 362
311
#define GE 363
312
#define LT 364
313
#define LE 365
314
#define GT 366
315
#define LESS_THAN 367
316
#define FLUSHINV 368
317
#define FLUSH 369
318
#define IFLUSH 370
319
#define PREFETCH 371
320
#define PRNT 372
321
#define OUTC 373
322
#define WHATREG 374
323
#define TESTSET 375
324
#define ASL 376
325
#define ASR 377
326
#define B 378
327
#define W 379
328
#define NS 380
329
#define S 381
330
#define CO 382
331
#define SCO 383
332
#define TH 384
333
#define TL 385
334
#define BP 386
335
#define BREV 387
336
#define X 388
337
#define Z 389
338
#define M 390
339
#define MMOD 391
340
#define R 392
341
#define RND 393
342
#define RNDL 394
343
#define RNDH 395
344
#define RND12 396
345
#define RND20 397
346
#define V 398
347
#define LO 399
348
#define HI 400
349
#define BITTGL 401
350
#define BITCLR 402
351
#define BITSET 403
352
#define BITTST 404
353
#define BITMUX 405
354
#define DBGAL 406
355
#define DBGAH 407
356
#define DBGHALT 408
357
#define DBG 409
358
#define DBGA 410
359
#define DBGCMPLX 411
360
#define IF 412
361
#define COMMA 413
362
#define BY 414
363
#define COLON 415
364
#define SEMICOLON 416
365
#define RPAREN 417
366
#define LPAREN 418
367
#define LBRACK 419
368
#define RBRACK 420
369
#define STATUS_REG 421
370
#define MNOP 422
371
#define SYMBOL 423
372
#define NUMBER 424
373
#define GOT 425
374
#define GOT17M4 426
375
#define FUNCDESC_GOT17M4 427
376
#define AT 428
377
#define PLTPC 429
378
 
379
 
380
 
381
 
382
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
383
#line 396 "bfin-parse.y"
384
typedef union YYSTYPE {
385
  INSTR_T instr;
386
  Expr_Node *expr;
387
  SYMBOL_T symbol;
388
  long value;
389
  Register reg;
390
  Macfunc macfunc;
391
  struct { int r0; int s0; int x0; int aop; } modcodes;
392
  struct { int r0; } r0;
393
  Opt_mode mod;
394
} YYSTYPE;
395
/* Line 1275 of yacc.c.  */
396
#line 397 "bfin-parse.h"
397
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
398
# define YYSTYPE_IS_DECLARED 1
399
# define YYSTYPE_IS_TRIVIAL 1
400
#endif
401
 
402
extern YYSTYPE yylval;
403
 
404
 
405
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.