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

Subversion Repositories openrisc_me

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

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

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

powered by: WebSVN 2.1.0

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