diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-01-24 16:16:35 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-03-04 15:54:39 +0000 |
commit | 9fcc1bdcad1a993d4681673d96443991d0c3bac4 (patch) | |
tree | 72d9409e9961e6dc7ae8793491fdf0df3bb9b01b /assembler/brw_disasm.c | |
parent | 5e0da9f854fea552cbc73f07a2e86a370f35aa92 (diff) |
assembler: Use brw_set_dest() to encode the destination
A few notes:
I needed to introduce a brw context and compile structs. These are only
used to get which generation we are compiling code for, but eventually
we can use more of the infrastructure.
brw_set_dest() uses the destination register width to program the
instruction execution size.
The assembler can either take subnr in bytes or in number of elements,
so we need a resolve step when setting a brw_reg.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'assembler/brw_disasm.c')
0 files changed, 0 insertions, 0 deletions