summaryrefslogtreecommitdiff
path: root/assembler
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-08-25 16:52:09 -0700
committerDamien Lespiau <damien.lespiau@intel.com>2013-03-04 15:54:22 +0000
commit1d7d04228e8263de5c42042f3ceaab7afacf9238 (patch)
treee8aa91e024a6f50fa7d36d628ccca3f82c758990 /assembler
parent5297b2a7e89805e7e8d4f057578000ceda4139d0 (diff)
Rename direct_gen_reg struct to direct_reg now that it fills more roles.
Diffstat (limited to 'assembler')
-rw-r--r--assembler/gram.y10
1 files changed, 5 insertions, 5 deletions
diff --git a/assembler/gram.y b/assembler/gram.y
index da8f531e..da869e79 100644
--- a/assembler/gram.y
+++ b/assembler/gram.y
@@ -46,7 +46,7 @@
} region;
struct gen_reg {
int reg_file, reg_nr, subreg_nr;
- } direct_gen_reg; /* XXX: naming */
+ } direct_reg;
double imm32;
}
@@ -104,10 +104,10 @@
%type <integer> urb_swizzle urb_allocate urb_used urb_complete
%type <integer> math_function math_signed math_scalar
%type <region> region
-%type <direct_gen_reg> directgenreg directmsgreg addrreg accreg flagreg maskreg
-%type <direct_gen_reg> maskstackreg maskstackdepthreg notifyreg
-%type <direct_gen_reg> statereg controlreg ipreg nullreg
-%type <direct_gen_reg> dstoperandex_typed srcarchoperandex_typed
+%type <direct_reg> directgenreg directmsgreg addrreg accreg flagreg maskreg
+%type <direct_reg> maskstackreg maskstackdepthreg notifyreg
+%type <direct_reg> statereg controlreg ipreg nullreg
+%type <direct_reg> dstoperandex_typed srcarchoperandex_typed
%type <integer> mask_subreg maskstack_subreg maskstackdepth_subreg
%type <imm32> imm32