projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90aea51
)
Fix translation of message registers.
author
Eric Anholt
<eric@anholt.net>
Tue, 22 Aug 2006 21:52:14 +0000
(14:52 -0700)
committer
Damien Lespiau
<damien.lespiau@intel.com>
Mon, 4 Mar 2013 15:54:21 +0000
(15:54 +0000)
assembler/gram.y
patch
|
blob
|
history
diff --git
a/assembler/gram.y
b/assembler/gram.y
index
f956720
..
e0384e5
100644
(file)
--- a/
assembler/gram.y
+++ b/
assembler/gram.y
@@
-267,7
+267,11
@@
dstreg: directgenreg
$$.bits1.da1.dest_subreg_nr = $1.subreg_nr;
}
| directmsgreg
-
+ {
+ $$.bits1.da1.dest_reg_file = $1.reg_file;
+ $$.bits1.da1.dest_reg_nr = $1.reg_nr;
+ $$.bits1.da1.dest_subreg_nr = $1.subreg_nr;
+ }
;
/* 1.4.3: Source register */
@@
-371,7
+375,7
@@
directmsgreg: MSGREG INTEGER subregnum
/* Returns an instruction with just the destination register
* fields filled in.
*/
- $$.reg_file = BRW_
GENERAL
_REGISTER_FILE;
+ $$.reg_file = BRW_
MESSAGE
_REGISTER_FILE;
$$.reg_nr = $2;
$$.subreg_nr = $3;
}