Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > 8f957a006d2cba350e6ab1a532d992a8 > files > 7

intel-gen4asm-debug-20081516-2mdv2009.0.i586.rpm

/* A Bison parser, made by GNU Bison 2.3.  */

/* Skeleton interface for Bison's Yacc-like parsers in C

   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
   Free Software Foundation, Inc.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin Street, Fifth Floor,
   Boston, MA 02110-1301, USA.  */

/* As a special exception, you may create a larger work that contains
   part or all of the Bison parser skeleton and distribute that work
   under terms of your choice, so long as that work isn't itself a
   parser generator using the skeleton or a modified version thereof
   as a parser skeleton.  Alternatively, if you modify or redistribute
   the parser skeleton itself, you may (at your option) remove this
   special exception, which will cause the skeleton and the resulting
   Bison output files to be licensed under the GNU General Public
   License without this special exception.

   This special exception was added by the Free Software Foundation in
   version 2.2 of Bison.  */

/* Tokens.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
   /* Put the tokens into the symbol table, so that GDB and other debuggers
      know about them.  */
   enum yytokentype {
     SEMICOLON = 258,
     LPAREN = 259,
     RPAREN = 260,
     LANGLE = 261,
     RANGLE = 262,
     LCURLY = 263,
     RCURLY = 264,
     LSQUARE = 265,
     RSQUARE = 266,
     COMMA = 267,
     DOT = 268,
     PLUS = 269,
     MINUS = 270,
     ABS = 271,
     TYPE_UD = 272,
     TYPE_D = 273,
     TYPE_UW = 274,
     TYPE_W = 275,
     TYPE_UB = 276,
     TYPE_B = 277,
     TYPE_VF = 278,
     TYPE_HF = 279,
     TYPE_V = 280,
     TYPE_F = 281,
     ALIGN1 = 282,
     ALIGN16 = 283,
     SECHALF = 284,
     COMPR = 285,
     SWITCH = 286,
     ATOMIC = 287,
     NODDCHK = 288,
     NODDCLR = 289,
     MASK_DISABLE = 290,
     BREAKPOINT = 291,
     EOT = 292,
     ANY2H = 293,
     ALL2H = 294,
     ANY4H = 295,
     ALL4H = 296,
     ANY8H = 297,
     ALL8H = 298,
     ANY16H = 299,
     ALL16H = 300,
     GENREG = 301,
     MSGREG = 302,
     ADDRESSREG = 303,
     ACCREG = 304,
     FLAGREG = 305,
     MASKREG = 306,
     AMASK = 307,
     IMASK = 308,
     LMASK = 309,
     CMASK = 310,
     MASKSTACKREG = 311,
     LMS = 312,
     IMS = 313,
     MASKSTACKDEPTHREG = 314,
     IMSD = 315,
     LMSD = 316,
     NOTIFYREG = 317,
     STATEREG = 318,
     CONTROLREG = 319,
     IPREG = 320,
     GENREGFILE = 321,
     MSGREGFILE = 322,
     MOV = 323,
     FRC = 324,
     RNDU = 325,
     RNDD = 326,
     RNDE = 327,
     RNDZ = 328,
     NOT = 329,
     LZD = 330,
     MUL = 331,
     MAC = 332,
     MACH = 333,
     LINE = 334,
     SAD2 = 335,
     SADA2 = 336,
     DP4 = 337,
     DPH = 338,
     DP3 = 339,
     DP2 = 340,
     AVG = 341,
     ADD = 342,
     SEL = 343,
     AND = 344,
     OR = 345,
     XOR = 346,
     SHR = 347,
     SHL = 348,
     ASR = 349,
     CMP = 350,
     CMPN = 351,
     SEND = 352,
     NOP = 353,
     JMPI = 354,
     IF = 355,
     IFF = 356,
     WHILE = 357,
     ELSE = 358,
     BREAK = 359,
     CONT = 360,
     HALT = 361,
     MSAVE = 362,
     PUSH = 363,
     MREST = 364,
     POP = 365,
     WAIT = 366,
     DO = 367,
     ENDIF = 368,
     ILLEGAL = 369,
     NULL_TOKEN = 370,
     MATH = 371,
     SAMPLER = 372,
     GATEWAY = 373,
     READ = 374,
     WRITE = 375,
     URB = 376,
     THREAD_SPAWNER = 377,
     MSGLEN = 378,
     RETURNLEN = 379,
     ALLOCATE = 380,
     USED = 381,
     COMPLETE = 382,
     TRANSPOSE = 383,
     INTERLEAVE = 384,
     SATURATE = 385,
     INTEGER = 386,
     NUMBER = 387,
     INV = 388,
     LOG = 389,
     EXP = 390,
     SQRT = 391,
     RSQ = 392,
     POW = 393,
     SIN = 394,
     COS = 395,
     SINCOS = 396,
     INTDIV = 397,
     INTMOD = 398,
     INTDIVMOD = 399,
     SIGNED = 400,
     SCALAR = 401,
     X = 402,
     Y = 403,
     Z = 404,
     W = 405
   };
#endif
/* Tokens.  */
#define SEMICOLON 258
#define LPAREN 259
#define RPAREN 260
#define LANGLE 261
#define RANGLE 262
#define LCURLY 263
#define RCURLY 264
#define LSQUARE 265
#define RSQUARE 266
#define COMMA 267
#define DOT 268
#define PLUS 269
#define MINUS 270
#define ABS 271
#define TYPE_UD 272
#define TYPE_D 273
#define TYPE_UW 274
#define TYPE_W 275
#define TYPE_UB 276
#define TYPE_B 277
#define TYPE_VF 278
#define TYPE_HF 279
#define TYPE_V 280
#define TYPE_F 281
#define ALIGN1 282
#define ALIGN16 283
#define SECHALF 284
#define COMPR 285
#define SWITCH 286
#define ATOMIC 287
#define NODDCHK 288
#define NODDCLR 289
#define MASK_DISABLE 290
#define BREAKPOINT 291
#define EOT 292
#define ANY2H 293
#define ALL2H 294
#define ANY4H 295
#define ALL4H 296
#define ANY8H 297
#define ALL8H 298
#define ANY16H 299
#define ALL16H 300
#define GENREG 301
#define MSGREG 302
#define ADDRESSREG 303
#define ACCREG 304
#define FLAGREG 305
#define MASKREG 306
#define AMASK 307
#define IMASK 308
#define LMASK 309
#define CMASK 310
#define MASKSTACKREG 311
#define LMS 312
#define IMS 313
#define MASKSTACKDEPTHREG 314
#define IMSD 315
#define LMSD 316
#define NOTIFYREG 317
#define STATEREG 318
#define CONTROLREG 319
#define IPREG 320
#define GENREGFILE 321
#define MSGREGFILE 322
#define MOV 323
#define FRC 324
#define RNDU 325
#define RNDD 326
#define RNDE 327
#define RNDZ 328
#define NOT 329
#define LZD 330
#define MUL 331
#define MAC 332
#define MACH 333
#define LINE 334
#define SAD2 335
#define SADA2 336
#define DP4 337
#define DPH 338
#define DP3 339
#define DP2 340
#define AVG 341
#define ADD 342
#define SEL 343
#define AND 344
#define OR 345
#define XOR 346
#define SHR 347
#define SHL 348
#define ASR 349
#define CMP 350
#define CMPN 351
#define SEND 352
#define NOP 353
#define JMPI 354
#define IF 355
#define IFF 356
#define WHILE 357
#define ELSE 358
#define BREAK 359
#define CONT 360
#define HALT 361
#define MSAVE 362
#define PUSH 363
#define MREST 364
#define POP 365
#define WAIT 366
#define DO 367
#define ENDIF 368
#define ILLEGAL 369
#define NULL_TOKEN 370
#define MATH 371
#define SAMPLER 372
#define GATEWAY 373
#define READ 374
#define WRITE 375
#define URB 376
#define THREAD_SPAWNER 377
#define MSGLEN 378
#define RETURNLEN 379
#define ALLOCATE 380
#define USED 381
#define COMPLETE 382
#define TRANSPOSE 383
#define INTERLEAVE 384
#define SATURATE 385
#define INTEGER 386
#define NUMBER 387
#define INV 388
#define LOG 389
#define EXP 390
#define SQRT 391
#define RSQ 392
#define POW 393
#define SIN 394
#define COS 395
#define SINCOS 396
#define INTDIV 397
#define INTMOD 398
#define INTDIVMOD 399
#define SIGNED 400
#define SCALAR 401
#define X 402
#define Y 403
#define Z 404
#define W 405




#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
#line 56 "gram.y"
{
	char *s;
	int integer;
	double number;
	struct brw_instruction instruction;
	struct brw_program program;
	struct region {
		int vert_stride, width, horiz_stride;
	} region;
	struct direct_reg direct_reg;
	struct indirect_reg indirect_reg;

	imm32_t imm32;

	struct dst_operand dst_operand;
	struct src_operand src_operand;
}
/* Line 1489 of yacc.c.  */
#line 367 "gram.h"
	YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif

extern YYSTYPE yylval;